about summary refs log tree commit diff stats
path: root/data/maps/the_bearer/rooms/Green Vegetable (View).txtpb
blob: 4bbab5d6a45b05d457549ef1234b36b35e84ca65 (plain) (blame) generated by cgit-pink 1.4.1 (git 2.36.1) at 2025-10-08 13:12:06 +0000 an class="p">($rtitle);?></TITLE> <LINK REL="stylesheet" HREF="/style.css"> </HEAD> <BODY> <DIV ID="wrap"> <DIV ID="header"> <A HREF="/"><H1>Pillowcase</H1></A> </DIV><?phpinclude_once($_SERVER['DOCUMENT_ROOT'].'/db.php');$getlast="SELECT * FROM config WHERE name = \"lastUpdated\"";$getlast2=mysql_query($getlast);$getlast3=mysql_fetch_array($getlast2);$last=$getlast3['value'];if($last!=date('md')){$getpending="SELECT * FROM pending ORDER BY id ASC LIMIT 0,1";$getpending2=mysql_query($getpending);$getpending3=mysql_fetch_array($getpending2);if(!empty($getpending3)){$inscomic="INSERT INTO images (title,filename, text) VALUES (\"".mysql_real_escape_string($getpending3['title'])."\",\"".mysql_real_escape_string($getpending3['filename'])."\",\"".mysql_real_escape_string($getpending3['text'])."\")";$inscomic2=mysql_query($inscomic)ordie($inscomic);$delcomic="DELETE FROM pending WHERE id = ".$getpending3['id'];$delcomic2=mysql_query($delcomic)ordie($delcomic);$setconfig="UPDATE config SET value = \"".date('md')."\" WHERE name = \"lastUpdated\"";$setconfig2=mysql_query($setconfig);}}?>