ATB Source Codes

PHP Web proxy Show index.inc.php Source code

Return Download PHP Web proxy: download index.inc.php Source code - Download PHP Web proxy Source code - Type:.php
  1. <?php
  2. header('Content-Type:text/html;charset= gb2312');
  3. ?>
  4. <HTML><HEAD><TITLE>集成搜索[www.AnyWhy.cn]-安全上网_代理上网_打造最好用的集成搜索引擎和社区门户</TITLE>
  5. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  6. <META name=keywords content="集成搜索,安全浏览,phpproxy,代理上网,无广告上网">
  7. <META name=description content="集成搜索[www.AnyWhy.cn],安全浏览,phpproxy,代理上网,无广告上网">
  8. <LINK REL="SHORTCUT ICON" HREF="http://www.anywhy.cn/favicon.ico">
  9. </HEAD>
  10. <BODY onkeydown="if(event.keyCode==27) return false;">
  11. <CENTER>
  12. <DIV class=mainborder id=jsmenu_parent></DIV>
  13. <DIV class=mainheader>
  14. <DIV class=logo>
  15. <DIV class=maintable>
  16. <DIV align=center><A href="http://www.AnyWhy.cn"><IMG
  17. alt="www.AnyWhy.cn" src="http://www.AnyWhy.cn/anywhy/anywhy.gif" border=0></A></DIV></DIV></DIV>
  18. <DIV class=menu>
  19. </DIV></DIV>
  20. <DIV class=maintable><BR>
  21. <DIV class="subtable nav" style="WIDTH: 98%"><A
  22. href="http://www.AnyWhy.cn">集成搜索</A> &raquo; 在线代理系统</DIV><BR>
  23. <DIV class=simpletable style="WIDTH: 98%; TEXT-ALIGN: left">
  24. <DIV class="altbg2 smalltxt" align=center>
  25. <DIV class="st"></div>
  26. <div id="container">
  27. <?php
  28.  
  29. switch ($data['category'])
  30. {
  31.     case 'auth':
  32. ?>
  33.   <div id="auth"><p>
  34.   <b>请输入用户名及密码 "<?php echo htmlspecialchars($data['realm']) ?>" on <?php echo $GLOBALS['_url_parts']['host'] ?></b>
  35.   <form method="post" action="">
  36.     <input type="hidden" name="<?php echo $GLOBALS['_config']['basic_auth_var_name'] ?>" value="<?php echo base64_encode($data['realm']) ?>" />
  37.     <label>用户名 <input type="text" name="username" value="" /></label> <label>密码 <input type="password" name="password" value="" /></label> <input type="submit" value="Login" class="button"/>
  38.   </form></p></div>
  39. <?php
  40.         break;
  41.     case 'error':
  42.         echo '<div id="error"><p>';
  43.        
  44.         switch ($data['group'])
  45.         {
  46.             case 'url':
  47.                 echo '<b>网址错误(' . $data['error'] . ')</b>: ';
  48.                 switch ($data['type'])
  49.                 {
  50.                     case 'internal':
  51.                         $message = '连接指定主机失败. '
  52.                                  . '可能由于服务器不存在,连接超时,或者服务器拒绝访问。'
  53.                                  . '请重新连接,同时检查该网址是否正确。';
  54.                         break;
  55.                     case 'external':
  56.                         switch ($data['error'])
  57.                         {
  58.                             case 1:
  59.                                 $message = '您要访问的网址被服务器列入了黑名单,请选择其他网址。';
  60.                                 break;
  61.                             case 2:
  62.                                 $message = '您输入的URL不正确。';
  63.                                 break;
  64.                         }
  65.                         break;
  66.                 }
  67.                 break;
  68.             case 'resource':
  69.                 echo '<b>资源错误:</b> ';
  70.                 switch ($data['type'])
  71.                 {
  72.                     case 'file_size':
  73.                         $message = '您要下载的文件太大。<br />'
  74.                                  . '本系统只允许大小为<b>' . number_format($GLOBALS['_config']['max_file_size']/1048576, 2) . ' MB</b>以下的文件下载。<br />'
  75.                                  . '您当期要下载的文件大小为: <b>' . number_format($GLOBALS['_content_length']/1048576, 2) . ' MB</b>';
  76.                         break;
  77.                     case 'hotlinking':
  78.                         $message = '您通过异地网站使用本代理程序访问资源。It appears that you are trying to access a resource through this proxy from a remote Website.<br />'
  79.                                  . '出于安全原因,请使下边的表单来访问站点.';
  80.                         break;
  81.                 }
  82.                 break;
  83.         }
  84.        
  85.         echo '本代理系统访问站点出现错误。 <br />' . $message . '</p></div>';
  86.         break;
  87. }
  88. ?>
  89.  <div style="text-align: center">
  90. <div style="width: 50%; text-align: left">
  91. <form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>">
  92. <ul style="margin: 2px auto;">
  93. <label class="f12">Anywhy代理上网-->请输入网址:<input id="address_box" size="50" type="text" name="<?php echo $GLOBALS['_config']['url_var_name'] ?>" value="<?php echo isset($GLOBALS['_url']) ? htmlspecialchars($GLOBALS['_url']) : '' ?>" onfocus="this.select()" /></label> <input id="go" class="button" type="submit" value=" 浏览 " />
  94.       <?php
  95.      
  96.       foreach ($GLOBALS['_flags'] as $flag_name => $flag_value)
  97.       {
  98.           if (!$GLOBALS['_frozen_flags'][$flag_name])
  99.           {
  100.               echo '<li class="optionclass"><label><input type="checkbox" name="' . $GLOBALS['_config']['flags_var_name'] . '[' . $flag_name . ']"' . ($flag_value ? ' checked="checked"' : '') . ' /> ' . $GLOBALS['_labels'][$flag_name][1] . '</label></li>' . "\n";
  101.           }
  102.       }
  103.       ?>
  104. </ul>  </form>
  105. </div>
  106. </div>
  107.  
  108.  
  109.  
  110. </div>
  111.  
  112.         </DIV></DIV>
  113.  
  114.         </DIV>
  115.  
  116. <DIV align=center>
  117. <TABLE>
  118.   <TBODY>
  119.   <TR>
  120.     <TD style="PADDING-LEFT: 30px" width=80></TD>
  121.     <TD style="FONT-SIZE: 11px"><FONT style="FONT-SIZE: 12px"><a href='http://www.anywhy.cn'>集成搜索</a> &copy;2008 版权所有</FONT> <a href=http://www.miibeian.gov.cn>粤ICP备08003896号</a></DIV>
  122.     </TD>
  123.     <TD style="PADDING-RIGHT: 30px" vAlign=bottom align=right>
  124.      
  125.   </TD></TR></TBODY></TABLE><A name=bottom></A>
  126. <DIV class=mainborder></DIV></CENTER>
  127. <DIV style="DISPLAY: none" align=center>
  128. <script src='http://s73.cnzz.com/stat.php?id=390882&web_id=390882&show=pic' language='JavaScript' charset='gb2312'></script>
  129. </DIV>
  130. </BODY></HTML>
downloadindex.inc.php Source code - Download PHP Web proxy Source code
Related Source Codes/Software:
PHP Online Community (Germany SNS program) - A Germany of the SNS programThe German version... 2KB
Version phpcms2007 upgrade GBK&UTF-8 to phpcms2008 - Last update: articles, pictures, information, phot... 244byte
PHP articles Manager 0.72 full version features - 1, the installation program if you are a novice, y... 548byte
Php generated Excel file source - Earlier had done a survey of small projects. Custo... 16byte
Design by 123 domain name management system v1.1 - Installation method: install directory//setup/inst... 372byte
Online bulk (Qing dynasty) tool for PHP version - This small tool written mainly for those webmaster... 24byte
Rainbow QQ pinyin name v3.0 - New Mars Ruby, even when your friends QQ names mos... 244byte
PHProjekt V5.2 (foreign open source OA system) - PHProjekt V5.2 (foreign open source OA system), a ... 9.3KB
PHP search engine - PHP search engine 60byte
SOCKS proxy thief full version - Inside the PHP programProxy900 rewriting, ... 36byte
Hide task bar in the Win9X "start" button. -   Hidden in the Win9X on the task bar of the ... 28byte
Asp.Net Forums v2.3.2130 the official Chinese version - Update instructions:Register/Login/post code 51.75KB
Speed theater advertising revisions - Increased fixed:1, increasing the IP restricti... 3.13KB
Missing query network IP address Whois query interface - The program of any IP address query function, and ... 88byte
Oh networks WEB2.0 - This set of programs within the BLOG for the blog ... 27.23KB
Fox dog message board - Adapted from the guestbook and clear Hunan on-line... 676byte
HGB Book V021209 single user version - Support for emoticons, supports double-click roll ... 296byte
Han Feng enterprise site management system v3.0 - The function modules include:System management... 27.26KB
Shenzhen hejia electronics limited - Wo Jia electronic companyUser password adm... 17.56KB
Hacker media black wangzhuan program BUX - In just a few minutes a day, easily earn a bit of ... 6.46KB

 Back to top