📄 contact.php
字号:
<?php $style=$_COOKIE['style'];
$color;
switch($style){
case 'moren':
$color='#3399cc';
break;
case 'haian':
$color='#4C74A3';
break;
default:
$color='#cc6699';
}
?>
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<title>通讯录</title>
<meta http-equiv="Content-Style-Type" content="text/css">
<LINK HREF="style.css" TYPE="text/css" REL="stylesheet">
<script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}
function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</script>
</head>
<body onLoad="FP_preloadImgs(/*url*/'%3C?php echo $style?>/button2q.jpg', /*url*/'%3C?php echo $style?>/button3q.jpg', /*url*/'%3C?php echo $style?>/button9h.jpg', /*url*/'%3C?php echo $style?>/button8h.jpg', /*url*/'%3C?php echo $style?>/button6h.jpg', /*url*/'%3C?php echo $style?>/button5h.jpg', /*url*/'%3C?php echo $style?>/buttonCh.jpg', /*url*/'%3C?php echo $style?>/buttonBh.jpg', /*url*/'%3C?php echo $style?>/buttonFh.jpg', /*url*/'%3C?php echo $style?>/buttonEh.jpg', /*url*/'%3C?php echo $style?>/button12h.jpg', /*url*/'%3C?php echo $style?>/button11.jpg', /*url*/'%3C?php echo $style?>/button2o.jpg', /*url*/'%3C?php echo $style?>/button3o.jpg', /*url*/'%3C?php echo $style?>/button5o.jpg', /*url*/'%3C?php echo $style?>/button6o.jpg')">
<p></p>
<table border=0 width="100%" height="89%" border="0" cellpadding="0" cellspacing="0" background="<?php echo $style?>/rep_1.jpg">
<tr>
<td height="12" align="left" valign="top">
<img src="moren/ket_5.jpg" width="685" height="18"></td>
</tr>
<tr>
<td align="left" valign="top" height="368"><table width="100%" border=0 cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="6" background="<?php echo $style?>/left.jpg"><img src="<?php echo $style?>/left.jpg" width="6" height="5"></td>
<td bgcolor="#FFFFFF"><table border=0 width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="43" align="left" valign="top"> </td>
<td height="43" align="left" valign="top"><div style="padding-left:27px; padding-top:3px">
<table width="100%" border=0 cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="325"><span class="style14">
<font face="Tahoma" size="4">联系人:</font></span></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="left" valign="top" height="36"> </td>
<td align="left" valign="top" height="36">
<table border=0 width="100%" cellpadding="0" cellspacing="0" bgcolor="<?php echo $color?>" id="table3">
<tr align="left" valign="top">
<td valign="top"><div style="padding-left:15px; padding-top:5px">
<table width="573" border=0 cellspacing="0" cellpadding="0" id="table4" height="32">
<tr align="left" valign="middle" class="style3">
<td width="6" class="style3"> </td>
<td width="559" class="style3">
<form name=addcontact action=add_contact_man.php method=POST>
<input type=text name=addname value=请输入联系人的姓名 onFocus="set(this)">
<script>
function set(obj)
{
obj.value="";
}
</script>
<select name=relation>
<option value=jiaren>家人</option>
<option value=tongshi>同事</option>
<option value=tongxue>同学</option>
<option value=haoyou>好友</option>
</select>
<input type=image id=add src="moren/button9A.jpg" onClick="document.myform.submit()" name="I2" width="100" height="20"></td></form>
<td width="8"> </td>
</tr>
</table border=0>
</div></td>
</tr>
</table ></td>
</tr>
<tr>
<td height="21" align="left" valign="top"></td>
<td height="21" align="left" valign="top"></td>
</tr>
<tr>
<td height="2" align="left" valign="top"></td>
<td height="2" align="left" valign="top"></td>
</tr>
<tr>
<td height="15" align="left" valign="top"></td>
<td height="15" align="left" valign="top">
<form action=display_contact.php target=contact_iframe method=get name=display>
<input type=image id="img9" onclick="this.form.all_contact.value='suoyou'" src="moren/button7h.jpg">
<input type=hidden name=all_contact id=all_contact value='no'>
<input type=image id="img11" name=contact value="同事" onclick="this.form.all_contact.value='tongshi'" src="moren/buttonAh.jpg" name="I1">
<input type=image id="img10" name=contact value="家人" onclick="this.form.all_contact.value='jiaren'" src="moren/button4h.jpg" >
<input type=image id="img14" name=contact value="同学" onclick="this.form.all_contact.value='tongxue'" src="moren/buttonDh.jpg">
<input name="image" type=image id="img15" name=contact value="好友" onClick="this.form.all_contact.value='haoyou'"src="moren/button_friends.jpg">
</form> </td>
</tr>
<tr>
<td height="15" align="left" valign="top">
</td>
<td height="15" align="left" valign="top"><iframe frameborder=0 name=contact_iframe height="320" width="500" src="display_contact.php"></iframe></td>
</tr>
</table>
<p><img src="<?php echo $style?>/bottom_2.jpg" width="677" height="14"></td>
<td width="4" background="<?php echo $style?>/right_5.jpg"><img src="<?php echo $style?>/right_5.jpg" width="4" height="5"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" align="left" valign="top"></td>
</tr>
<tr>
<td align="right" valign="top"><table border=0 width="434" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><div style="padding-left:0px; padding-top:12px"><span class="style13"><br>
2008短信息收发系统第二项目小组<br>
</tr>
</table></td>
</tr>
</table></td>
<td> </td>
</tr>
<tr align="left" valign="top">
<td height="100%"> </td>
<td width="677" height="100%"> </td>
<td height="100%"> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -