【php开源代码栏目提醒】:本文主要为网学会员提供favs.php,希望对需要favs.php网友有所帮助,学习一下!
<?php exit();?>
{template header}
<script src="./js/common.js" type="text/javascript"></script>
<script type="text/javascript" src="./js/vspacecp/video.js"></script>
<script src="./js/ajax.js" type="text/javascript"></script>
<link rel='stylesheet' type='text/css' href='{THEME_PATH}./vspacecp/specials.css'>
<!--{if $action == 'list'}-->
<!--{if $op == 'myfav'}-->
<div class="mainbody">
<h1>鏀惰棌绠$悊</h1>
<div class="data_opt_title">
<ul>
<li><a class="curmenu" href="./vspacecp.php?script=favs&action=list&op=myfav" />鎴戞敹钘忕殑瑙嗛</a></li>
<li><a class="ocurmenu" href="./vspacecp.php?script=favs&action=list&op=favme" />鎴戣鏀惰棌鐨勮棰?/a></li>
</ul>
</div>
<div style="padding-left:2%;">
<!--{if !empty($myfavsarr)}-->
<form action="" method="post" name="myform" id="myform">
<table width="95%" height="28" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:8px;">
<tr>
<td width="230"><button class="add_special" type="button" name="add_special" href='./ajax.php?script=video&action=addtospecial&op=$op' id='addtospecials_top' onclick="addchk(this.form, 'vid[]', event, this.id, 9000000, null, 0);">娣诲姞鍒扮彮绾?/button> <button class="del_special" id='del_special_top' type="button" name="del_special" value="true" onclick="delchk(this.form, this.id, 'vid[]', './vspacecp.php?script=favs&action=remove&op=$op&page=$page')">鍙栨秷鏀惰棌</button></td>
<td>
$multipage
</td>
</tr>
</table>
<table class="datalist_opt" width="95%" border="0" cellpadding="0" cellspacing="0">
<tr class="datelist_opt_title">
<td style="width:50px; text-align:center;"><input type="checkbox" name="chkall" onclick="checkall(this.form, 'vid')" /></td>
<td colspan="2">瑙嗛</td>
<td style="width:110px;">鏀惰棌鏃堕棿</td>
<td style="width:80px;">
<!--{if ($settings[allow_quote] == 1)}-->浜烘皵<!--{else}-->鎾斁鏁?!--{/if}-->
</td>
<td style="width:80px;">璇勮鏁?/td>
<td style="width:110px;">涓婁紶鑰?/td>
<td style="width:65px; text-align:center;">閫夐」</td>
</tr>
<!--{loop $myfavsarr $myfavs}-->
<tr>
<td align="center"><input type="checkbox" value="$myfavs[vid]" name="vid[]" /></td>
<!--{if $myfavs['videoexist'] == 1}-->
<td style="width:90px;"><a href="./video.php?vid={$myfavs[vid]}"><img src="$myfavs[sthumb]" onerror="this.src='./thumb.php?ivid=$myfavs[ivid]&down=$myfavs[thumb]'" title='$myfavs[subject]' alt='$myfavs[subject]' /></a></td>
<td><p class="datalist_opt_video_title"><a href="./video.php?vid={$myfavs[vid]}">$myfavs[subject]</a></p></td>
<!--{else}-->
<td colspan="2"><a><img src='{VIDEONOEXIST}' title='$myfavs[subject]' alt='$myfavs[subject]' /></a></td>
<!--{/if}-->
<td>$myfavs[favstime]</td>
<td>$myfavs[views]</td>
<td>$myfavs[comments]</td>
<td><a href="./vspace.php?mid={$myfavs[authorid]}" title="$myfavs[author]" target="_blank">$myfavs[author]</a></td>
<td class="collection_video_opt">
<a href='javascript:if(confirm("纭畾瑕佸彇娑堝瑙嗛鈥渰$myfavs[subject]}鈥濇敹钘忓悧锛?)){top.location.href="./vspacecp.php?script=favs&action=remove&vid={$myfavs[vid]}&op=$op&page=$page";}'>鍙栨秷鏀惰棌</a> <a onclick="pmwin('open', 'tofriends=1&subject=$myfavs[encodesubject]&message=$myfavs[tofriendmsg]')" style="cursor:pointer;">鍙戠粰濂藉弸</a> <a href='./
ajax.php?script=video&action=addtospecial&vid={$myfavs[vid]}&op=$op' id='video_{$myfavs[vid]}' onclick="aj_form(event, this.id);">鍔犲埌鐝骇</a>
</td>
</tr>
<!--{/loop}-->
</table>
<table width="95%" height="28" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:8px;">
<tr>
<td width="230">
<button class="add_special" type="button" name="add_special" href='./ajax.php?script=video&action=addtospecial&op=$op' id='addtospecials_bottom' onclick="addchk(this.form, 'vid[]', event, this.id, 9000000, null, 0);">娣诲姞鍒扮彮绾?/button> <button class="del_special" id='del_special_bottom' type="button" name="del_special" value="true" onclick="delchk(this.form, this.id, 'vid[]', './vspacecp.php?script=favs&action=remove&op=$op&page=$page')">鍙栨秷鏀惰棌</button>
</td>
<td>
$multipage
</td>
</tr>
</table>
</form>
<!--{else}-->
<p class="info">娌℃湁绗﹀悎鏉′欢鐨勮