echo "</script>"; exit; } echo "<div id='bodybg3'><img src='../picture/9.jpg' class='stretch3'/></div>"; echo "<div style='left:540px;position:fixed;top:90px;'><h3>博   客   区</h3></div>"; echo "<div style='left:540px;position:fixed;top:580px;'><input type=button onclick=window.location.href='./blogwrite.php' value='进入我的博客'></div>"; echo "<div style='left:440px;position:fixed;top:0px;'><h1>欢迎来到华师开源代码部落</h1></div>"; echo "<div style='left:940px;position:fixed;top:10px;'>我的账号: {$_SESSION['username']}</a></div>"; echo "<div style='left:1180px;position:fixed;top:10px;'><a href='./update.php'><font color='0000FF'>修 改 资 料</font></a></div>"; echo "<div style='left:1280px;position:fixed;top:10px;'><a href='../index.php'><font color='0000FF'>退 出</font></a></div>"; echo "<div style='left:100px;position:fixed;top:60px;'><h3>开  源  代  码  区</h3></div>"; echo "<div style='left:50px;position:fixed;top:130px;'>今日更新:</div>"; echo "<div style='left:80px;position:fixed;top:560px;'><input type=button onclick=window.location.href='./publish.php' value='发布我的开源代码' style='width:130;height:30px'></div>"; require_once '../model/scnublog.php'; $showblog = new scnublog(); $blogres = $showblog->showblog(); echo "<div style='left:500px;position:fixed;top:150px;'><a href='javascript:void(0)' onclick='submit(1)'><font color='0000FF'>{$blogres['0']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:190px;'><a href='javascript:void(0)' onclick='submit(2)'><font color='0000FF'>{$blogres['1']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:230px;'><a href='javascript:void(0)' onclick='submit(3)'><font color='0000FF'>{$blogres['2']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:270px;'><a href='javascript:void(0)' onclick='submit(4)'><font color='0000FF'>{$blogres['3']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:310px;'><a href='javascript:void(0)' onclick='submit(5)'><font color='0000FF'>{$blogres['4']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:350px;'><a href='javascript:void(0)' onclick='submit(6)'><font color='0000FF'>{$blogres['5']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:390px;'><a href='javascript:void(0)' onclick='submit(7)'><font color='0000FF'>{$blogres['6']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:430px;'><a href='javascript:void(0)' onclick='submit(8)'><font color='0000FF'>{$blogres['7']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:470px;'><a href='javascript:void(0)' onclick='submit(9)'><font color='0000FF'>{$blogres['8']}</font></a></div></br>"; echo "<div style='left:500px;position:fixed;top:510px;'><a href='javascript:void(0)' onclick='submit(10)'><font color='0000FF'>{$blogres['9']}</font></a></div></br>"; echo "<div><form id='form1' action='../controller/blog.php' method='post'></div>"; echo "<input type=hidden name=showblog value='showblog'>\n\t <input type=hidden name=blogtitle id=blogtitle value='{$blogres['0']}'></form>"; echo "<div><form id='form2' action='../controller/blog.php' method='post'></div>"; echo "<input type=hidden name=showblog value='showblog'>\n\t <input type=hidden name=blogtitle id=blogtitle value='{$blogres['1']}'></form>"; echo "<div><form id='form3' action='../controller/blog.php' method='post'></div>";