DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.63
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/umedia3/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/umedia3/index.libsitelist.php
<?php
	include("webpage.inc.quicksearch.php");
	$s=tmq("select * from library_site_parent where 1 order by name ");
		

		if ($acadtoview!="") {
			?><CENTER><A HREF="index.php?setacadtoview=forceshowall" style="color:white">คลิกที่นี่เพื่อแสดงข้อมูลจากทุกหน่วยงาน</A></CENTER><BR><?
		}
		?><TABLE width=100% width=770 border=0>
		<TR>
			<TD><?
		while ($r=tmq_fetch_array($s)) {
			$s2=tmq("select * from library_site where parent='$r[code]' order by name ");
			if (tmq_num_rows($s2)==0) {
				continue;
			}
			?><span ID="contain<? echo $r[id]?>"><A name="maincateid<? echo $r[id]?>"></A><?
				$addliblink="";
		if (tmq_num_rows($s2)>0) {
			$addliblink= "<A HREF='index.php?setacadtoview=all:$r[code]' style='color:white; font-size: 20;'>";
		}
			echo index_sepper("$addliblink <img src='./neoimg/folder.png' width=16 align=absmiddle border=0> ".getlang($r[name])."</A>");
			
			?><TABLE  width=100% border=0 >
			<TR>
				<TD style="padding-left: 130"><TABLE  width=100% border=0 >
				<TR>
					<TD align=left><?
		if (tmq_num_rows($s2)>1) {
			echo "<B><A HREF='index.php?setacadtoview=all:$r[code]' class=smaller style='color:white'>แสดง ".getlang($r[name])." (ทั้งหมด)</A></B><BR>";
		}
			$allcc=0;
			while ($r2=tmq_fetch_array($s2)) {
				$cc="select id from media where LIBSITE='$r2[code]' ";
				$cc=tmq($cc);
				$allcc+=tmq_num_rows($cc);
				if (tmq_num_rows($cc)!=0) {		
					?><A HREF="index.php?setacadtoview=<?echo $r2[code]?>"><?
				}
				?><FONT SIZE="" COLOR="white"><?
				echo "<img src='./neoimg/folder.png' width=16 align=absmiddle border=0 ";
				echo "> ";
				echo "<FONT class=smaller2 >".getlang($r2[name])."</FONT>";;
				//show_mediaicon($r[randid]);
				echo " <nobr><FONT class=smaller2 style='color: bbbbbb'> (".number_format(tmq_num_rows($cc))." รายการ)</FONT></nobr> <BR>";
				?></FONT></A><?
			}
			?></TD>
				</TR>
				</TABLE></TD>
			</TR>
			</TABLE><BR></span><?
			if ( $allcc==0) {
				?><style>
				#contain<? echo $r[id]?> {
					display:none;
				}	
				</style><?
			}
		}
		?></TD>
		</TR>
		</TABLE><?
?>

Anon7 - 2022
AnonSec Team