Fourth pass at adding key files
This commit is contained in:
16
site/slowtwitch.com/www/tick/pics_set_default.php
Normal file
16
site/slowtwitch.com/www/tick/pics_set_default.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?require ("global.php");?>
|
||||
<?php
|
||||
|
||||
if (isset($_GET['ID']) && isset($_GET['become']))
|
||||
{
|
||||
$ID = $_GET["ID"];
|
||||
$become = $_GET["become"];
|
||||
$query = "UPDATE pics SET default_flag = '${become}' WHERE ID = $ID";
|
||||
$result = mysql_query($query, $db);
|
||||
|
||||
staticify($_GET['stageID']);
|
||||
}
|
||||
|
||||
header("Location: /tick/pics.php");
|
||||
|
||||
?>
|
Reference in New Issue
Block a user