本帖最后由 axaxax 于 2011-8-4 18:22 编辑
在首页插入简易团购 O(∩_∩)O~ 新手贡献!{:soso_e100:} 如果你觉得不好 就不用 别骂我 我也是新手!!
好 废话不多说 上图:
站点演示:ipoco.in 泊客网 希望大家多踩踩 注册一个撒!
方法:
在首页合适的地方加入:
<table style="border-collapse:collapse;" bordercolor="#cccccc" cellspacing="0" cellpadding="0" width="168" border="1">
<tbody>
<tr>
<td width="340" height="30" align="middle" style="font-weight:bold;font-size:14px;color:#FF6600;">今日团购:<font style="font-size:14px;color:#111111;">iPoco 充值卡 1元团购5元卡 </font></td>
</tr>
<tr>
<td align="middle" height="170"><table cellspacing="0" cellpadding="0" width="166" border="0">
<tbody>
<tr>
<td align="left" width="160" height="72"><table cellspacing="0" cellpadding="0" width="160" border="0">
<tbody>
<tr>
<td width="160" height="41" align="left" style="padding-left:10px;font-weight:700;font-size:22px;color:#FFFFFF;"><span class="STYLE1">¥1 Go!团他 </span></td>
</tr>
<tr>
<td align="middle" height="31"><table style="font-size:12px;" height="25" cellspacing="0" cellpadding="0" width="160" border="0">
<tbody>
<tr>
<td style="text-decoration:line-through;" align="middle">原价:5</td>
<td align="middle">现价:1</td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
<td align="right" width="180"> </td>
</tr>
</tbody>
</table>
<table style="border-right:#CCCCCC 1px solid;border-top:#CCCCCC 1px solid;border-left:#CCCCCC 1px solid;border-bottom:#CCCCCC 1px solid;" height="160" cellspacing="0" cellpadding="0" width="159" border="0">
<tbody>
<tr>
<td width="166" align="middle" bgcolor="#FF6600"><h2 class="STYLE2"><font style="font-size:14px;">iPoco 充值卡 1元团购5元卡</font> 仅需1元,团购250积分!</h2>
<div align="center">
<pre class="STYLE3"> iPoco泊客网</pre>
</div></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
如(我的是yoho的主页):
<!--{template index_header}-->
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
<div class="banner2"> <ul class="sub_nav"> <li><a href="space.php?do=home" class="btn_sub2"></a></li> <li><a href="space.php?do=blog" class="btn_sub3"></a></li> <li><a href="space.php?do=album" class="btn_sub4"></a></li> <li><a href="space.php?do=mtag" class="btn_sub5"></a></li> <li><a href="space.php?do=top" class="btn_sub6"></a></li> <li><a href="space.php?do=event" class="btn_sub7"></a></li> <li><a href="space.php?do=share" class="btn_sub8"></a></li> </ul><style>.flash img {display:none;}.face {display:none;}</style><DIV class="col1"><!--{if $_SGLOBAL[supe_uid]}--><DIV class="login"> <h5><span class="activ"><a href="network.php">居民中心</a></span>已登录</h5> <div class="xinxi"> <div class="touxiang"><a href="space.php"><!--{avatar($_SGLOBAL[supe_uid],middle)}--></a></div> <div class="ziliao"> <h6><strong>{$_SN[$_SGLOBAL[supe_uid]]}</strong></h6> 欢迎你回来!<br /> <span class="mail"><a href="space.php?do=pm<!--{if !empty($_SGLOBAL['member']['newpm'])}-->&filter=newpm<!--{/if}-->"><!--{if !empty($_SGLOBAL['member']['newpm'])}-->您有新的<!--{/if}-->消息</a></span></div></div> <div class="kongjian"> <a class="btn_space" title="空间主页" href="space.php"></a> <a class="btn_mcenter" title="个人中心" href ="space.php?do=home"></a> <a class="btn_out" title="退出" href ="cp.php?ac=common&op=logout&uhash=$_SGLOBAL[uhash]"></a></DIV></DIV><!--{else}--><DIV class="login"> <form id="loginform" name="loginform" class="denglu_2_login" action="do.php?ac=$_SCONFIG[login_action]&$url_plus&ref" method="post"><H6>登录ID</H6><DIV class=c><DIV class=c_l><input type="text" name="username" id="username" class="i_un" value="$membername" />密码<input type="password" name="password" id="password" class="i_un" value="$password"/></DIV><DIV class=c_r><input type="submit" id="loginsubmit" name="loginsubmit" value="登录" class=c_b ></DIV><DIV class="clear"></DIV><SPAN class="f_p"><a href="do.php?ac=lostpasswd">忘记密码?</a></SPAN><SPAN class="rb"><LABEL class="labelCheckbox" for="autoLogin"><input type="checkbox" id="cookietime" name="cookietime" value="315360000" $cookiecheck style="margin-bottom: -2px;"><label for="cookietime">下次自动登录</LABEL></SPAN><input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /></form></DIV><SPAN class="n_r"><a href="do.php?ac=$_SCONFIG[register_action]"><STRONG>新注册</STRONG></A></SPAN><SPAN class=w_c>欢迎您的加入</SPAN></DIV><!--{/if}--><DIV class="y_belt"><H6></H6><OL> <LI class=no1>与百万年轻人分享生活</LI> <LI class=no2>精彩个人空间</LI> <LI class=no3>联络老同学,认识新朋友</LI> <LI class=no4>多重身份玩转社区</LI> <LI class=no5>玩活动,赚积分,换潮物</LI></OL><DIV class="b_t"></DIV></DIV><!--AD开始,两个图片187*70--><DIV class="y_ad1"><SPAN><A href="https://lab.alipay.com/p.htm?id=2011080400387403" target=_blank>
<table style="border-collapse:collapse;" bordercolor="#cccccc" cellspacing="0" cellpadding="0" width="168" border="1">
<tbody>
<tr>
<td width="340" height="30" align="middle" style="font-weight:bold;font-size:14px;color:#FF6600;">今日团购:<font style="font-size:14px;color:#111111;">iPoco 充值卡 1元团购5元卡 </font></td>
</tr>
<tr>
<td align="middle" height="170"><table cellspacing="0" cellpadding="0" width="166" border="0">
<tbody>
<tr>
<td align="left" width="160" height="72"><table cellspacing="0" cellpadding="0" width="160" border="0">
<tbody>
<tr>
<td width="160" height="41" align="left" style="padding-left:10px;font-weight:700;font-size:22px;color:#FFFFFF;"><span class="STYLE1">¥1 Go!团他 </span></td>
</tr>
<tr>
<td align="middle" height="31"><table style="font-size:12px;" height="25" cellspacing="0" cellpadding="0" width="160" border="0">
<tbody>
<tr>
<td style="text-decoration:line-through;" align="middle">原价:5</td>
<td align="middle">现价:1</td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
<td align="right" width="180"> </td>
</tr>
</tbody>
</table>
<table style="border-right:#CCCCCC 1px solid;border-top:#CCCCCC 1px solid;border-left:#CCCCCC 1px solid;border-bottom:#CCCCCC 1px solid;" height="160" cellspacing="0" cellpadding="0" width="159" border="0">
<tbody>
<tr>
<td width="166" align="middle" bgcolor="#FF6600"><h2 class="STYLE2"><font style="font-size:14px;">iPoco 充值卡 1元团购5元卡</font> 仅需1元,团购250积分!</h2>
<div align="center">
<pre class="STYLE3"> iPoco泊客网</pre>
</div></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></A></SPAN> </DIV></DIV><!--AD结束--><DIV class="col3"><DIV id="starblog"><DIV class="brbtop"><DIV><></P></DIV></DIV><DIV class="brbcontent"><H3 class="gogodao"><span>STAR BLOG</span> 潮人名博</H3> <!--{loop $showlist $value}--> <DIV class="starpeople"><DIV class="starpic"><a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}"><!--{avatar($value[uid],middle)}--></a></DIV> <DL> <DT class="starname"><a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}">$value[username]</a> <DD class="starfrom" style="margin-top:5px; margin-bottom:-3px">榜上有名</DD> <DD class="starinfo">积分:$value[credit]</DD></DL></DIV><!--{/loop}--> <H3 class="gogodao title_recomblog"><span>RECINNEBD</span> 最近更新</H3><DIV class="recomblog"><UL> <!--{loop $netcache['spacelist'] $key $value}--> <LI><a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}" target="_blank"><!--{avatar($value[uid],small)}--></a> <DL> <DT class="recomblog_name"><a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}">{$_SN[$value[uid]]}</a> <DD class="recomblog_from">关注:$value[viewnum]</DD><br /> <DD class="recombloginfo">积分:$value[credit]</DD></DL></LI><!--{/loop}--> </UL><DIV class="clear"></DIV></DIV></DIV><DIV class="brbbot"><DIV><></P></DIV></DIV></DIV></DIV><DIV class="col2"><DIV class="y_hotpic" style="OSITION: relative"><div id="ibanner"><div id="ibanner_pic"><a href="http://www.ipoco.in/space.php?uid=1&do=blog&id=1"><img src="js/image/01.jpg" alt="新泊客网,好玩-创新-探索-时尚" /></a><a href="http://www.ipoco.in/space.php?uid=1&do=blog&id=1"><img src="js/image/01.jpg" alt="新泊客网,好玩-创新-探索-时尚" /></a><a href="#"></a><a href="http://www.ipoco.in/space.php?uid=1&do=blog&id=1"><img src="js/image/01.jpg" alt="新泊客网,好玩-创新-探索-时尚" /></a><a href="#"></a><a href="http://www.ipoco.in/space.php?uid=1&do=blog&id=1"><img src="js/image/01.jpg" alt="新泊客网,好玩-创新-探索-时尚" /></a><a href="#"></a></div>
</div><!--ibanner end--><div style="height:20px; background:#EEE;"></div></DIV><DIV class="y_hot"><H6 class="bgtitle"><DIV class="title"><DIV style="OVERFLOW: hidden; WIDTH: 390px; HEIGHT: 25px"><DIV><UL> <LI><a href="network.php" title="进去逛逛">欢迎来到年轻酷地带——iPoco泊客网,Look!看看大家都在做什么</a></LI> </UL></DIV><DIV id="demo2"></DIV></DIV></DIV></H6><DIV class="col2_2 y_x1"><DIV class="y_news"><H6><A href="network.php?ac=blog"><IMG src="template/voone/image/bg_hottoppic.gif"></A></H6><DIV class="content"><!--{if $albumlist}--> <DIV class="pic"> <!--{loop $albumlist $value}--><SPAN><a href="space.php?uid={$value[uid]}&do=album&id={$value[albumid]}" title="$value[albumname]"><img src="attachment/$value[pic]" alt="$value[albumname]" style="width: 64px;height:64px;" /></a></SPAN> <!--{/loop}--> </DIV> <!--{/if}--><UL class="pic_c"><!--{loop $bloglist $key $value}--> <LI><a href="space.php?uid={$value[uid]}&do=blog&id={$value[blogid]}">$value[subject]</a></LI><!--{/loop}--> </UL> </DIV> </DIV><DIV class="y_x2"><DIV class="y_group"><H6><A href="network.php?ac=mtag" target=_blank><IMG src="template/voone/image/bg_group.gif"></A></H6><!--{loop $mtaglist $value}--><DIV class="picbox"><a href="space.php?do=mtag&tagid={$value[tagid]}"><img style="width: 60px;height:60px;" src="{$value[pic]}"/></a></DIV><H6 class="f_orange"><a href="space.php?do=mtag&tagid={$value[tagid]}">{$value[tagname]}</a></H6><!--{loop $threadlist[$value[tagid]] $thread}--> <P class="picbox_c"><a href="space.php?uid={$thread[uid]}&do=thread&id={$thread[tid]}">{$thread[subject]}</a></P><!--{/loop}--><!--{/loop}--></DIV><DIV class="y_hgroup"><H6></H6><DIV class="picbox"><!--{loop $myapplist $key $value}--><a href="userapp.php?id=$value[appid]"><img src="[url=http://appicon.manyou.com/logos/$value[appid]http://appicon.manyou.com/logos/$value[appid[/url]]" alt="$value[appname]"width=64 /></a><!--{/loop}--></DIV></DIV></DIV></DIV><DIV class="col2_1 y_people"><H6><A title="" href="network.php?ac=space"><IMG src="template/voone/image/bg_people.gif"></A></H6><DIV class="content" id="CBPeople"><DIV style="LEFT: 0px; POSITION: absolute; TOP: 0px"><div class="tuo"><!--{loop $spacelist $value}--><li><a href="space.php?uid=$value[uid]"><!--{avatar($value[uid],middle)}--></a></li> <!--{/loop}--></div></DIV><DIV class="drag"><DIV class="pointer"></DIV></DIV></DIV></DIV></DIV></DIV></DIV><SCRIPT language=javascript src="source/index.js" type=text/javascript></SCRIPT><SCRIPT language=javascript src="source/flash.js" type=text/javascript></SCRIPT><div class="divline"></div><!--{template x_footer}--></DIV></body></html>
对了 我的是连接到支付宝担保交易的 你也可以更改! ps:ipoco.in 泊客网 希望大家多踩踩 注册一个哦!
|