Commit f478e991 authored by 汪波's avatar 汪波

首页展示视频新闻

parent e8295e6b
...@@ -58,12 +58,12 @@ if($mhavelogin==1) ...@@ -58,12 +58,12 @@ if($mhavelogin==1)
{ {
?> ?>
document.write("&raquo;&nbsp;<font color=red><b><?=$myusername?></b></font>&nbsp;&nbsp;<a href=\"/e/member/my/\" target=\"_parent\"><?=$groupname?></a>&nbsp;<?=$havemsg?>&nbsp;<a href=\"/e/space/?userid=<?=$myuserid?>\" target=_blank>我的空间</a>&nbsp;&nbsp;<a href=\"/e/member/msg/\" target=_blank>短信息</a>&nbsp;&nbsp;<a href=\"/e/member/fava/\" target=_blank>收藏夹</a>&nbsp;&nbsp;<a href=\"/e/member/cp/\" target=\"_parent\">控制面板</a>&nbsp;&nbsp;<a href=\"/e/member/doaction.php?enews=exit&ecmsfrom=9\" onclick=\"return confirm(\'确认要退出?\');\">退出</a>"); document.write("&raquo;&nbsp;<font color=red><b><?=$myusername?></b></font>&nbsp;&nbsp;<a href=\"/e/member/my/\" target=\"_parent\"><?=$groupname?></a>&nbsp;<?=$havemsg?>&nbsp;<a href=\"/e/space/?userid=<?=$myuserid?>\" target=_blank>我的空间</a>&nbsp;&nbsp;<a href=\"/e/member/msg/\" target=_blank>短信息</a>&nbsp;&nbsp;<a href=\"/e/member/fava/\" target=_blank>收藏夹</a>&nbsp;&nbsp;<a href=\"/e/member/cp/\" target=\"_parent\">控制面板</a>&nbsp;&nbsp;<a href=\"/e/member/doaction.php?enews=exit&ecmsfrom=9\" onclick=\"return confirm(\'确认要退出?\');\">退出</a>");
<?php <?
} }
else else
{ {
?> ?>
document.write("<form name=login method=post action=\"/e/member/doaction.php\"> <input type=hidden name=enews value=login> <input type=hidden name=ecmsfrom value=9> 用户名:<input name=\"username\" type=\"text\" class=\"inputText\" size=\"16\" />&nbsp; 密码:<input name=\"password\" type=\"password\" class=\"inputText\" size=\"16\" />&nbsp; <input type=\"submit\" name=\"Submit\" value=\"登陆\" class=\"inputSub\" />&nbsp; <input type=\"button\" name=\"Submit2\" value=\"注册\" class=\"inputSub\" onclick=\"window.open(\'/e/member/register/\');\" /></form>"); document.write("<form name=login method=post action=\"/e/member/doaction.php\"> <input type=hidden name=enews value=login> <input type=hidden name=ecmsfrom value=9> 用户名:<input name=\"username\" type=\"text\" class=\"inputText\" size=\"16\" />&nbsp; 密码:<input name=\"password\" type=\"password\" class=\"inputText\" size=\"16\" />&nbsp; <input type=\"submit\" name=\"Submit\" value=\"登陆\" class=\"inputSub\" />&nbsp; <input type=\"button\" name=\"Submit2\" value=\"注册\" class=\"inputSub\" onclick=\"window.open(\'/e/member/register/\');\" /></form>");
<?php <?
} }
?> ?>
\ No newline at end of file
...@@ -123,7 +123,7 @@ document.write('<script src="/e/member/login/loginjs.php?t='+Math.random()+'"><' ...@@ -123,7 +123,7 @@ document.write('<script src="/e/member/login/loginjs.php?t='+Math.random()+'"><'
<td align="left" valign="top"><table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF"> <td align="left" valign="top"><table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF">
<tr> <tr>
<td height="100%" valign="top" bgcolor="#FFFFFF"> <td height="100%" valign="top" bgcolor="#FFFFFF">
<?php <?
while($r=$empire->fetch($sql)) while($r=$empire->fetch($sql))
{ {
$r['retext']=nl2br($r[retext]); $r['retext']=nl2br($r[retext]);
...@@ -160,7 +160,7 @@ if($r[retext]) ...@@ -160,7 +160,7 @@ if($r[retext])
</table> </table>
<br /> <br />
<?php <?
} }
?> ?>
......
...@@ -319,6 +319,26 @@ ...@@ -319,6 +319,26 @@
border-radius: 6px; border-radius: 6px;
} }
.portal-course .img-item {
position: relative;
}
.portal-course .img-item i {
position: absolute;
left: 50%;
top: 50%;
margin-left: -25px;
margin-top: -25px;
display: inline-block;
width: 50px;
height: 50px;
background-color: rgba(0,0,0,.5);
border-radius: 100%;
color: #fff;
line-height: 50px;
text-align: center;
font-size: 24px;
}
.hot-nav ul li a i { .hot-nav ul li a i {
display: inline-block; display: inline-block;
width: 40px; width: 40px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment