pickpic.php

来自「仿榕树下文章系统春节版 1. 将makpass.php文件的root_pass修」· PHP 代码 · 共 73 行

PHP
73
字号
<?include ("admin_log.php");?><html><head><LINK href="style.css" type=text/css rel=stylesheet><title>选择一张图片</title></head><script>function select(name,width,height) {        if (window.opener) {                window.opener.form1.f_image.value=name;                window.opener.form1.f_width.value=width;                window.opener.form1.f_height.value=height;                self.close();        } else {                alert("The window that opened this window is closed.. (try again, from the 'new log'-screen)");                self.close();        }}</script><body onload="self.focus();"><table width=100% cellpadding=3 cellspacing=0 border=0>  <tr>    <td bgcolor=#a6a7d9><font color=#FFFFFF> <b> 选择图片/<a href="listpic.php" target=blank>电击此处查看所有图片</a></b></font>    </td>  </tr></table><br><?@include ("../config.php");@include ("xqfunc.php");echo "<center><table border=0 width=98% bgcolor=c0c0c0 cellspacing=1 cellpadding=1>";echo "<td bgcolor=C0C0C0 align=center width=12%>编号</td>";echo "<td bgcolor=C0C0C0>图片名(单击图片名即可选中)</td>";echo "<td bgcolor=C0C0C0 align=center width=12%>预览</td>";echo "<td bgcolor=C0C0C0 align=center width=12%>长</td>";echo "<td bgcolor=C0C0C0 align=center width=12%>宽</td>";echo "<td bgcolor=C0C0C0 align=center width=12%>(约)Kb</td></tr>";$NO=0;$d= dir("../images/upimage/");while ($entry=$d->read()) {        $ext=getextension($entry);        if (($ext=="jpg")||($ext=="gif")||($ext=="png")||($ext=="bmp")) {                $fullentry="images/upimage/".$entry;                list($x, $y)=GetImageSize ("../$fullentry");                $filesize= round(filesize("../$fullentry")/1024);                $NO=$NO+1;                echo "<tr height=16>";                echo "<td bgcolor=efefef align=center>$NO</td>";                echo "<td bgcolor=white><a href=\"javascript:select('$file_url/$fullentry', $x, $y);\">&nbsp;$entry</a></td>";                echo "<td bgcolor=efefef align=center><a href=\"$file_url/$fullentry\" target=blank>see</a></td>";                echo "<td bgcolor=efefef align=center>$x px</td>";                echo "<td bgcolor=efefef align=center>$y px</td>";                echo "<td bgcolor=efefef align=center>$filesize kb</td>";                echo "</tr>";        }}$d->close();echo "</tr></table>";?><br><table width=100% cellpadding=3 cellspacing=0 border=0>  <tr>    <td bgcolor=#a6a7d9><font color=#FFFFFF> </font><font color=#FFFFFF><b>程式美化:魔力闪客~~Ten 发布网站:奇迹数码 </b></font> </td>  </tr></table></body><script>self.focus();</script></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?