1.js代码
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
function fleshVerify(type){ //重载验证码 var timenow = new Date().getTime(); if (type) { $('verifyImg').src= '/os/index.php/Admin/Public/verify/adv/1/'+timenow; }else{ $('verifyImg').src= '/os/index.php/Admin/Public/verify/'+timenow; } }
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
<script language="JavaScript"> <!-- if(top!=self) if(self!=top) top.location=self.location; //--> </script>
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
//获取username 焦点 <body onload="javascript:document.myform.username.focus();"> <form action="#" method="post" name="myform"> <input name="username" type="text" class="ipt" value="" />
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
<?php $n=1; if(is_array($info)) foreach($info AS $v){ echo $v['url']; echo title_style($v[style]); echo str_cut($v['title'],40); } $n++; unset($n); ?>