Blame view

account/active.php 874 Bytes
42868d70   andryeyev   Создал GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <?php 
  if(!empty($_GET['hash'])){           
  		   $sql = "SELECT * FROM zlo_users WHERE hash='".$_GET['hash']."'";
              $result = mysql_query($sql) or die(mysql_error());
  			$row = mysql_fetch_assoc($result);
  			
  			mysql_query("update zlo_users set active=1 where id=".$row['id']);
  			
  			echo'<div style="width:745px;height:159px;margin:0px auto;background:url(/img/reg_bg_noactive.jpg);">
  			<div style="padding:30px;text-align:center;color:#ffffff;font-size:16px;">
  				<p style="font-size:30px;">Âàø email: <span style="color:#e2e55e">'.$row['email'].'</span> ïîäòâåðæäåí!</p>
  				<p style="font-size:20px;">Æåëàåì ïðèÿòíûõ ïîêóïîê</p>
  				<a href="/account/panel/" style="display:inline-block;padding:5px 10px;background:url(/img/sub_white_bg.jpg) repeat-x;text-decoration:none;border-radius:5px;">ïåðåéòè â ïàíåëü óïðàâëåíèÿ</a>
  
  				</div>
  			</div>';
  }			
  ?>