📄 index.php
字号:
<?
include_once("inc/auth.php");
?>
<html>
<head>
<title>收藏夹</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function borderize_on(targetelement)
{
color="#003FBF";
targetelement.style.borderColor="black";
targetelement.style.backgroundColor=color;
targetelement.style.color="white";
targetelement.style.fontWeight="bold";
}
function borderize_off(targetelement)
{
targetelement.style.backgroundColor="";
targetelement.style.borderColor="";
targetelement.style.color="";
targetelement.style.fontWeight="";
}
</script>
</head>
<body topmargin="3" leftmargin="0" rightMargin="0" class="panel" marginwidth="0" marginheight="0">
<table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3" align="center">
<tr class="TableHeader">
<td align="center">公共网址<a href="javascript:parent.openURL('/general/system/url')"> <u>定义</u></a></td>
</tr>
<?
$query = "SELECT * from URL where USER='' order by URL_NO";
$cursor=exequery($connection,$query);
while($ROW=mysql_fetch_array($cursor))
{
$URL=$ROW["URL"];
$URL_DESC=$ROW["URL_DESC"];
?>
<tr class="TableData" onclick="parent.openURL('<?=$URL?>')" onmouseover="borderize_on(this)" onmouseout="borderize_off(this)" style="cursor:hand">
<td title="<?=$URL?>">
<img src="/images/menu/url.gif" border="0" WIDTH="19" HEIGHT="17" align="absmiddle"> <?=$URL_DESC?>
</td>
</tr>
<?
}
?>
</table>
<br>
<table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3" align="center">
<tr class="TableHeader">
<td align="center">个人网址<a href="javascript:parent.openURL('/general/person_info/url')"> <u>定义</u></a></td>
</tr>
<?
$query = "SELECT * from URL where USER='$LOGIN_USER_ID' order by URL_NO";;
$cursor=exequery($connection,$query);
while($ROW=mysql_fetch_array($cursor))
{
$URL=$ROW["URL"];
$URL_DESC=$ROW["URL_DESC"];
?>
<tr class="TableData" onclick="parent.openURL('<?=$URL?>')" onmouseover="borderize_on(this)" onmouseout="borderize_off(this)" style="cursor:hand">
<td title="<?=$URL?>">
<img src="/images/menu/url.gif" border="0" WIDTH="19" HEIGHT="17" align="absmiddle"> <?=$URL_DESC?>
</td>
</tr>
<?
}
?>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -