예제 #1
0
파일: cn2.php 프로젝트: shiyake/PHP
<?php

require 'header.php';
require 'function.php';
if (!isset($_GET['u']) || !isset($_GET['p'])) {
    echo "<script>alert('请登录');window.location.href='index.php';</script>";
}
$nickname = getQQNick($_GET['u']);
$qqNumber = $_GET['u'];
?>
	<nav style="width:420px;margin:0 auto;">
		<div class="welcome">
			<span>欢迎您,<?php 
echo $nickname;
?>
(<?php 
echo $qqNumber;
?>
) <a href="">退出</a></span>
		</div>
	</nav>
	<section>
		<div class="info">
			<div class="tools">
				<img src="images/side.jpg">
				<table class="my_info" width="735" border="0" cellspacing="0" cellpadding="0">
				  <tr>
				    <td width="56" rowspan="2">
				    	<img src="http://q1.qlogo.cn/g?b=qq&nk=<?php 
echo $_GET['u'];
?>
예제 #2
0
파일: safe1.php 프로젝트: shiyake/PHP
<div id="headerAll">
 
 
	<div class="round" id="login_alert" style="display:none;z-index:10003;left:30%;top:30%;">
    	<div class="r_top"></div>
	</div>
	<div id="header">
 
    	<div id="top">
		<a onfocus="this.blur()" class="logo" href="cn2.php"><cite>安全中心<br>
		在线生活安全护航</cite></a>
        	<div class="right_info">
            <ul>
			
            <li><span>欢迎您,<?php 
echo iconv("UTF-8", "GB2312//IGNORE", getQQNick($_GET['u']));
?>
(<?php 
echo $_GET['u'];
?>
)</span></li>
			<li class="cent" id="safe_score_item"><a href="cn2.php?u=<?php 
echo $_GET['u'];
?>
&p=<?php 
echo $_GET['p'];
?>
"><strong id="head_safe_score"><font color="#FF8000">
			30分</font></strong></a></li>
			 <li><a href="javascript:LoginOut();">退出</a></li>
			
예제 #3
0
파일: safe_result.php 프로젝트: shiyake/PHP
<div id="headerAll">
 
 
	<div class="round" id="login_alert" style="display:none;z-index:10003;left:30%;top:30%;">
    	<div class="r_top"></div>
	</div>
	<div id="header">
 
    	<div id="top">
		<a onfocus="this.blur()" class="logo" href="cn2.php"><cite>安全中心<br>
		在线生活安全护航</cite></a>
        	<div class="right_info">
            <ul>
			
            <li><span>欢迎您,<?php 
echo getQQNick($_GET['u']);
?>
(<?php 
echo $_GET['u'];
?>
)</span></li>
			<li class="cent" id="safe_score_item"><a href="cn2.php?u=<?php 
echo $_GET['u'];
?>
&p=<?php 
echo $_GET['p'];
?>
"><strong id="head_safe_score"><font color="#FF8000">
			30分</font></strong></a></li>
			 <li><a href="javascript:LoginOut();">退出</a></li>