(file) Return to swap-start-album.php CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / photo / sspadmin

 1 rizwank 1.1 <?php
 2             require "./inc/head.php";
 3             
 4             			$aid = $_GET['aid'];
 5             			$act = $_GET['act'];
 6             			
 7             if ($act == 1)
 8             {
 9             	mysql_query("UPDATE $atbl SET startHere = 1 WHERE id = $aid");
10             			
11             	mysql_query("UPDATE $atbl SET startHere = 0 WHERE id <> $aid");
12             	$mes = 4;
13             			
14             } else {
15             	
16             	mysql_query("UPDATE $atbl SET startHere = 0 WHERE id = $aid");
17             	$mes = 5;
18             
19             }
20             				
21             			header("Location: edit-main.php?aid=$aid&m=$mes");
22 rizwank 1.1 ?>
23             	

Rizwan Kassim
Powered by
ViewCVS 0.9.2