flashget43的源代码
一个比较常用的下载程序
源代码在线查看: roomlist.tpl
{assign var="title" value="Rooms"} {include file="top.tpl"} var permanent = '{$room_permanent_post}'; var ispublic = '{$room_public_post}'; var name = '{$room_name_post}'; var password = '{$room_password_post}'; var selectstr = '{$room_order_post}'; var optionstr = '{$room_option}'; var hidden = '{$room_identification_post}'; var option_count = {$rowcount}; var deleteroom = '{$room_delete_post}'; var maxorder = '{$max_order_post}'; Rooms Add new room {if $rooms} id name password public permanent # Bump up Delete {foreach from=$rooms item=room} {* assign javascript variables *} {assign var="button_id" value="bttn_`$room.row_nr`"} {assign var="button_pass_id" value="bttn_pass_`$room.row_nr`"} {assign var="edit_id" value="$room_name_post[`$room.row_nr`]"} {assign var="edit_pass_id" value="$room_password_post[`$room.row_nr`]"} {assign var="on_click" value="javascript: onbttnclick('$button_id','$edit_id');"} {assign var="on_click_pass" value="javascript: onbttnclick('$button_pass_id','$edit_pass_id');"} {assign var="on_focus" value="javascript: onnamefocus('$button_id','$edit_id');"} {assign var="on_focus_pass" value="javascript: onnamefocus('$button_pass_id','$edit_pass_id');"} {assign var="on_change" value="javascript: row_change(`$room.row_nr`);"} {assign var="on_change_pass" value="javascript: row_change(`$room.row_nr`);"} {assign var="permanent_change" value="javascript: perm_change(`$room.row_nr`);"} {$room.id} {if $room.ispermanent} {assign var=room_order_name value="`$room_order_post`[`$room.row_nr`]"} {assign var="selected" value="`$room_option`[`$room.row_nr`][`$room.row_nr`]"} {foreach from=$room.ordersel key=key item=ordersel} {if $key==$selected}selected{/if} >{$ordersel} {/foreach} {* html_options options=$room.ordersel selected=$selected *} {else} {/if} {/foreach} You must re-load the chat (page refresh) and re-login to see room changes. {else} No rooms found {/if} {include file="bottom.tpl"}