|
本帖最后由 天中人才市场 于 2014-3-6 14:36 编辑
效果如下 ,分别为不登录状态和企业和个人的
函数如下:
讲详细一些吧。把下面代码复制到 inc目录下 的 common.func.php 最后一行 当然是在 ?>的前面 呵呵
图片附件:
在自己的模版下创建文件随便名字 。htm格式的代码如下。网址换成自己的就可以了,为了防止IE6不正确 就不再显示了。无应用JS操作纯代码。
- <?php if(strpos($_SERVER['HTTP_USER_AGENT'],'MSIE 6.0') == false ) {?>
- {if _getcookie(user_type)== "cmember"}
- <div id="webim2-job" style="margin-top: 180px; top: 30px;">
- <div class="webim2-job-wanted" style="">
- <div class="webim2-job-wanted-head">
- <strong>招聘助手</strong>
- </div>
- <div class="webim2-job-wanted-c">
- <ul>
- <li>
- <a class="receive_resume" href="http://www.zmdsjob.com/member/?mpage=company_works&show=1"><em class="icon-wanted01"> </em>收到新简历({index_tj(4,_getcookie('user_login'))})</a>
- </li>
- <li>
- <a class="download_resume" href="http://www.zmdsjob.com/member/?mpage=company_myresume&show=2"><em class="icon-wanted02"> </em>下载的简历({index_tj(5,_getcookie('user_login'))})</a>
- </li>
- <li>
- <a class="wanted_post" href="http://www.zmdsjob.com/member/?mpage=company_hirelist&show=2" ><em class="icon-wanted03"> </em>管理职位({index_tj(6,_getcookie('user_login'))})</a>
- </li>
- <li>
- <a class="pub_post" href="http://www.zmdsjob.com/member/?mpage=company_hirelist&show=2&t=addform" ><em class="icon-wanted04"> </em>发布职位</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- {/if}
- {if _getcookie(user_type)== "pmember"}
- <div id="webim2-job" style="margin-top: 180px; top: 30px;">
- <div class="webim2-job-wanted" style="">
- <div class="webim2-job-wanted-head">
- <strong>求职助手</strong>
- </div>
- <div class="webim2-job-wanted-c">
- <ul>
- <li>
- <a class="receive_resume" href="http://www.zmdsjob.com/member/?mpage=person_interview&show=2"><em class="icon-wanted01"> </em>收到面试({index_tj(1,_getcookie('user_login'))})</a>
- </li>
- <li>
- <a class="download_resume" href="http://www.zmdsjob.com/member/?mpage=person_works&show=2"><em class="icon-wanted02"> </em>应聘记录({index_tj(2,_getcookie('user_login'))})</a>
- </li>
- <li>
- <a class="wanted_post" href="http://www.zmdsjob.com/member/?mpage=person_resume&show=2" ><em class="icon-wanted03"> </em>管理简历({index_tj(3,_getcookie('user_login'))})</a>
- </li>
- <li>
- <a class="pub_post" href="http://www.zmdsjob.com/member/?mpage=person_addresume&show=2" ><em class="icon-wanted04"> </em>创建简历</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- {/if}
- {if _getcookie('user_login')==""}
- <div id="webim2-job" style="margin-top: 180px; top: 30px;">
- <div class="webim2-job-wanted" style="">
- <div class="webim2-job-wanted-head">
- <strong>快捷助手</strong>
- </div>
- <div class="webim2-job-wanted-c">
- <ul>
- <li>
- <a class="wanted_post" href="http://www.zmdsjob.com/register.php?person" ><em class="icon-wanted05"> </em>创建简历</a>
- </li>
- <li>
- <a class="pub_post" href="http://www.zmdsjob.com/register.php?company" ><em class="icon-wanted06"> </em>发布职位</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- {/if}
- <?php } ?>
复制代码
下面是CSS
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册会员
×
|