﻿function cmpyrcmPresent(col) { if (!col || col.length <= 0) return; document.write('<div class="rcm"><ul>'); for (var i = 0; i < col.length; i++) { if (i > 0 && i % 4 == 0) document.write('</ul><ul>'); document.write('<li><span class="shar">[推荐入驻]</span> <a href="http://my.68design.net/' + col[i].uid + '" target="_blank" title="' + col[i].name + '">' + col[i].name.leftb(25) + '</a></li>'); } document.write('</ul></div>'); }
function outsourcePresent(cols) { if (!cols || cols.length <= 0) return; for (var g = 0; g < cols.length; g++) { if (cols[g] == null) continue; document.write('<ul class="list"' + (g > 0 ? ' style=\"display:none;\"' : '') + '>'); for (var i = 0; i < cols[g].length; i++) document.write('<li style="width:325px;' + (i % 2 == 0 ? 'float:left;' : 'float:right;') + '"><span class="time2">[' + cols[g][i].ts + ']</span>·' + (cols[g][i].path == '' ? cols[g][i].name : '<a href="http://my.68design.net/' + cols[g][i].path + '" target="_blank"  title="' + cols[g][i].name + '">' + (cols[g][i].it ? '<font color="red">[置顶]</font>' + ('[置顶]' + cols[g][i].name).leftb(40).substring(4) : cols[g][i].name.leftb(40)) + '</a>') + '</li>'); document.write('</ul>'); } }
function positionPresent(cols) { if (!cols || cols.length <= 0) return; for (var g = 0; g < cols.length; g++) { if (cols[g] == null) continue; document.write('<ul class="list"' + (g > 0 ? ' style=\"display:none;\"' : '') + '>'); for (var i = 0; i < cols[g].length; i++) document.write('<li style="width:325px;' + (i % 2 == 0 ? 'float:left;' : 'float:right;') + '"><span class="time2">[' + cols[g][i].ts + ']</span>·<a href="http://my.68design.net/' + cols[g][i].path + '" target="_blank"  title="' + cols[g][i].title + '">' + (cols[g][i].it ? '<font color="red">[置顶]</font>' + ('[置顶]' + cols[g][i].title).leftb(40).substring(4) : cols[g][i].title.leftb(40)) + '</a></li>'); document.write('</ul>'); } }
function worksrcmPresent(col) { if (!col || col.length <= 0) return; for (var i = 0; i < col.length; i++) document.write('<li><a href="http://my.68design.net/' + col[i].path + '" title="' + col[i].name + '" target="_blank"><img src="' + col[i].icon + '" border="0" class="imgw" /><br />' + col[i].name.leftb(20) + '</a><br />点击:' + col[i].click + '<br /><font color="#AE856A">' + col[i].ts + '</font></li>'); }
function usernewsPresent(col) { if (!col || col.length <= 0) return; for (var i = 0; i < col.length; i++) document.write('<li><span class="time1">[' + col[i].ts + ']</span>·<font color="#AAAAAA">[' + (col[i].type == 0 ? '个人' : '企业') + ']</font><a href="http://my.68design.net/' + col[i].path + '" title="' + col[i].title + '" target="_blank">' + col[i].title.leftb(32) + '</a></li>'); }
function cmpynewPresent(col) { if (!col || col.length <= 0) return; for (var i = 0; i < col.length; i++) document.write('<li><span class="time1">[' + col[i].ts + ']</span>·<a href="http://my.68design.net/' + col[i].uid + '" title="' + col[i].name + '" target="_blank">' + col[i].name.leftb(38) + '</a></li>'); }
function personalwageavgPresent(col) { if (!col || col.length <= 0) return; document.write('<tr><th width="70">姓名</th><th width="100">所在地</th><th>职业/级别</th><th width="60">平均工资</th></tr>'); for (var i = 0; i < col.length; i++) document.write('<tr><td class="c1"><a href="http://my.68design.net/' + col[i].uid + '/wages" target="_blank">' + col[i].realname + '</a></td><td>' + col[i].city + '</td><td>' + col[i].trade + '</td><td><font color="#CC0000">' + col[i].wagesavg + '</font></td></tr>'); }
function askquestionPresent(col) { if (!col || col.length <= 0) return; for (var i = 0; i < col.length; i++) document.write('<li><span class="time1">[' + col[i].ts + ']</span>·<a href="http://my.68design.net/' + col[i].path + '" title="' + col[i].title + '" target="_blank">' + col[i].title.leftb(32) + '</a></li>'); }
function newuplevelPresent(col) { if (!col || col.length <= 0) return; document.write('<tr><th width="70">姓名</th><th>所在地</th><th width="30">性别</th><th width="60">是否求职</th></tr>'); for (var i = 0; i < col.length; i++) document.write('<tr><td class="c1"><a href="http://my.68design.net/' + col[i].uid + '" target="_blank">' + col[i].realname + '</a></td><td>' + col[i].city + '</td><td>' + col[i].sex + '</td><td>' + col[i].job + '</td></tr>'); }
function personalrcmPresent(col) { if (!col || col.length <= 0) return; document.write('<tr><th width="70">姓名</th><th>所在地</th><th width="30">性别</th><th width="60">是否求职</th></tr>'); for (var i = 0; i < col.length; i++) document.write('<tr><td class="c1"><a href="http://my.68design.net/' + col[i].uid + '" target="_blank">' + col[i].realname + '</a></td><td>' + col[i].city + '</td><td>' + col[i].sex + '</td><td>' + col[i].job + '</td></tr>'); }
function cmpyvipPresent(col) { if (!col || col.length <= 0) return; for (var i = 0; i < col.length; i++) document.write('<li>· <a href="http://my.68design.net/' + col[i].uid + '" title="' + col[i].name + '" target="_blank">' + col[i].name.leftb(38) + '</a></li>'); }
function downrcmPresent(col) { if (!col || col.length <= 0) return; for (var i = 0; i < col.length; i++) document.write('<li><a href="http://sc.68design.net/' + col[i].path + '" title="' + col[i].title + '" target="_blank"><img src="http://sc.68design.net' + col[i].icon + '" border="0" class="imgsc" /><br />' + col[i].title.leftb(20) + '</a><br /><font color="#AE856A">[' + col[i].ts + ']</font></li>'); }
function scrcmPresent(col) { if (!col || col.length <= 0) return; for (var i = 0; i < col.length; i++) document.write('<li><span class="time1">[' + col[i].ts + ']</span>·<a href="http://sc.68design.net/' + col[i].path + '" title="' + col[i].title + '" target="_blank">' + col[i].title.leftb(26) + '</a></li>'); }
function coolnewPresent(col) { if (!col || col.length <= 0) return; for (var i = 0; i < col.length; i++) document.write('<li><a href="http://cwd.68design.net/' + col[i].id + '.cool" title="' + col[i].name + '" target="_blank"><img src="' + col[i].icon + '" border="0" class="imgc" /><br />' + col[i].name.leftb(26) + '</a>(点击:<span class="shar">' + col[i].clickcount + '</span>)</li>'); }
function coolinternalPresent(col) { if (!col || col.length <= 0) return; document.write('<tr>'); for (var i = 0; i < col.length; i++) { if (i > 0 && i % 2 == 0) document.write('</tr><tr>'); document.write('<td><a href="http://cwd.68design.net/' + col[i].id + '.cool"' + col[i].name + '" target="_blank">' + col[i].name.leftb(15) + '</a></td>'); } document.write('</tr>'); }
