$ads = file("ad.txt"); mt_srand((double)microtime()*1000000); $randval = mt_rand(0, (count($ads)-1)); echo $ads[$randval]; ?>
�bBack�b

�EPHP���g���閳���T�[�o���

require ('mydb.inc.php'); mysql_connect($server,$user,$password); @mysql_select_db($db) or die( "Unable to select database"); /* if(isset($_POST['submit'])){ $ftp = array_map('htmlspecialchars', $_POST['ftp']); $cgi = array_map('htmlspecialchars', $_POST['ftp']); unset($_POST['ftp']); unset($_POST['cgi']); $_POST = array_map('htmlspecialchars', $_POST); extract($_POST); if(!$name) die("�T�[�o�[�������͂���Ă܂���"); $regurl = ereg_replace("^http://", "", $regurl); $url = ereg_replace("^http://", "", $url); if (preg_match("/html?|org$/", $url)) exit; if(!$url) die("�T�[�o�[��URL�����͂���Ă܂���"); if($ftp) $ftp=implode(",", $ftp); if($cgi) $cgi=implode(",", $cgi); if($version2) $version=$version . '+' . $version2; if($space2) $space = $space2; $updata = gmdate("y-m-d",time()+9*3600); $query="insert into $table values('','$name','$lang','$url','$regurl','$ftp','$space','$banner','$cgi','$sql','$adress','$version','$sample','$com','$updata')"; $result = mysql_query($query); } */ /*Search database for name*/ $query="select * from $table group by name"; $result=mysql_query($query) or die ("Invalid query"); $total= mysql_numrows($result); while ($row = mysql_fetch_assoc($result)) { $row = array_map('htmlspecialchars', $row); if($row[space]=="0") $row[space]="??"; if(!$row[cgi]) $row[cgi]="�|"; //Alternate row colors in our table echo ($i % 2) ? "" : ""; echo ''; echo ''; echo ''; $i++; } echo "\n
�T�[�o������ �o�^�e�� FTP�o�i�[ CGIDB���ڽ �ް�ޮ��X�V
'; echo ''.$row[name].''; echo ''.$row[lang].''; echo ($row[regurl]) ? '�o�^' : '�|'; echo ''.$row[space].'MB'.$row[ftp].''.$row[banner].''.$row['cgi'].''.$row[sql].''.$row[adress].''; echo ($row[sample]) ? ''.$row[version].'' : $row[version]; echo ''.update.'
"; ?>
�bHOME�b�b�`���E�g���A���b�b�����p�̑O���b�b�����I����b�bBBS�b�b�����N�b
Copyright(C) 1999-2001 ToR all rights reserved.