<?xml version="1.0" encoding="ISO-8859-1"?>
<templateexport exported="1130408399" versionid="200000" type="master">
	<templategroup>
		<template>
			<group_name>skin_gallery_quickch</group_name>
			<section_content></section_content>
			<func_name>change_avatar</func_name>
			<func_data><![CDATA[$in=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr>
<td width='20%' class='row1' align='center' valign='center'>
<div class='thumbwrap'>
{$info['image']}
</td>
</div>
<td width='80%' class='row2' 'align='left' valign='top'>
{$info['comment']}<br /><br />
<b>{ipb.lang['postedby']}</b> {$info['name']}<br /> <b>{ipb.lang['on']}</b> {$info['date']}</p>
</td>
</tr>]]></section_content>
			<func_name>stats_comment_row</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>
		
<template>
  <group_name>skin_gallery_cats</group_name>
  <section_content><![CDATA[
  <form action="{ipb.script_url}" method="post">
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="sc" />
	<input type="hidden" name="cat" value="{$cid}" />
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['need_password']}</div>
		<div class="tablepad">{ipb.lang['need_password_txt']}</div>
		<div class="tablepad">
			<b>{ipb.lang['enter_pass']}</b>
			<input type="password" size="20" name="f_password" />
		</div>
		<div class="pformstrip" align="center"><input type="submit" value="{ipb.lang['f_pass_submit']}" class="forminput" /></div>
	</div>
</form>
  ]]></section_content>
    <func_name>cat_log_in</func_name>
    <func_data><![CDATA[$cid='']]></func_data>
</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<meta http-equiv="refresh" content="{ipb.input['duration']}; url={$goto}">
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['slideshow_start']}</div>
	<div class="row2" style="padding: 4px; text-align: center;"><b><a href="{ipb.script_url}automodule=gallery&cmd=si&img={$img}">{ipb.lang['ss_stop']}</a></b></div>
</div>
<div class="fullimagewrap">
	{$photo} 
</div>]]></section_content>
			<func_name>ss_slide</func_name>
			<func_data><![CDATA[$photo='',$goto='',$img='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['stats']}</div>
	<table class="ipbtable" cellspacing="1" width="100%">
	<tr>
		<th colspan='2' align='right'>
			<a href='{ipb.script_url}&act=module&module=gallery&cmd=stats&op=ratings'>{ipb.lang['top10']}</a> &middot; <a href='{ipb.script_url}&act=module&module=gallery&cmd=stats&op=views'>{ipb.lang['views10']}</a>
			&middot; <a href='{ipb.script_url}&act=module&module=gallery&cmd=stats&op=comments'>{ipb.lang['comments10']}</a>
		</th>
		<tr>
		 <td colspan='2' class='formsubtitle'>{ipb.lang['stats']}</td>
		</tr>
		<tr>
			<td class="row1" width="1%"><{F_STATS}></td>
			<td class="row2">$stats</td>
		</tr>]]></section_content>
			<func_name>stats</func_name>
			<func_data><![CDATA[$stats="",$active=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<a href="{ipb.script_url}automodule=gallery&cmd=mod&op=reportcomment&comment={$comment_id}&st={ipb.input['st']}"><{P_REPORT}></a>]]></section_content>
			<func_name>report_link</func_name>
			<func_data><![CDATA[$comment_id=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<form action="{ipb.script_url}automodule=gallery&cmd=mod&op=doreportcomment" method="post" name="REPLIER">
<input type="hidden" name="comment" value="{$data['pid']}" />
<input type="hidden" name="st" value="{$data['st']}" />
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['report_comment_page']}</div>
		<table class="ipbtable" cellspacing="1" width="100%">
			<tr>
				<td class="row1"  width="30%" valign="top">{ipb.lang['report_comment_msg']}</td>
				<td class="row1" width="80%"><textarea cols="60" rows="12" wrap="soft" name="message" class="textinput"></textarea>
				</td>
			</tr>
			<tr>
				<td class="formbuttonrow" colspan="2"><input type="submit" value="{ipb.lang['report_submit']}" /></td>
			</tr>
		</table>
	</div>
</form>]]></section_content>
			<func_name>report_comment_form</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<img name="pid{$pid}" src="{ipb.vars['img_url']}/topic_unselected.gif" />]]></section_content>
			<func_name>pid_image_unselected</func_name>
			<func_data><![CDATA[$pid='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<img name="pid{$pid}" src="{ipb.vars['img_url']}/topic_selected.gif" />]]></section_content>
			<func_name>pid_image_selected</func_name>
			<func_data><![CDATA[$pid='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<img src="{ipb.vars['img_url']}/p_mq_remove.gif" name="mad_$pid" alt="-" />]]></section_content>
			<func_name>mq_image_remove</func_name>
			<func_data><![CDATA[$pid='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<img src="{ipb.vars['img_url']}/p_mq_add.gif" name="mad_$pid" alt="+" />]]></section_content>
			<func_name>mq_image_add</func_name>
			<func_data><![CDATA[$pid='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_topic.js"></script>
<script type="text/javascript" src="jscripts/ipb_galleryjs.js"></script>
<a name="top"></a>
<table cellspacing="1" width="100%" class="ipbtable">
	<tr>
		<td nowrap="nowrap">{$data['SHOW_PAGES']}</td>
	</tr>
</table>
<br />
<a name="comments"></a>
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;<b>{ipb.lang['view_comments']}</b></div>]]></section_content>
			<func_name>CommentTop</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="tablepad">
	<form name="modform" method="post" action="index.php">
				<input type="hidden" name="automodule" value="gallery" />
				<input type="hidden" name="cmd" value="gallerymmod" />
                                <input type="hidden" name="type" value="comment" />
				<input type="hidden" value="" name="selectedgcids" />
                                <input type="hidden" name="img" value="{ipb.input['img']}">
	<input type="hidden" value="{ipb.input['cat']}" name="cat" />
				<select name="galleryact">
					<option value="delcomments">Delete Comments</option>
                                        <option value="approvecomments">Approve Comments</option>
                                        <option value="unapprovecomments">Unapprove Comments</option>
				</select>&nbsp;
				<input type="submit" name="gobutton" value="{ipb.lang['mod_button']}" class="button" />
			</form>
		</div>
	</div>]]></section_content>
			<func_name>mod_form</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<!--Begin Msg Number {$post['pid']}-->
<a name="{$post['pid']}"></a>
<table class="ipbtable" cellspacing="1" width="100%">
	<tr>
		<td valign="middle" class="row2" width="1%"><a name="entry{$post['pid']}"></a><span class="{$post['name_css']}">{$author['name']}</span></td>
		<td class="row2" valign="top" width="99%">
			<!-- POSTED DATE DIV -->
			<div style="float: left;">
				<span class="postdetails">{$post['post_icon']} <img src='{ipb.vars['img_url']}/to_post_off.gif' alt='post' border='0' style='padding-bottom:2px' /> {$post['post_date']}</span>
			</div>
			<!-- REPORT / DELETE / EDIT / QUOTE DIV -->
			<div align="right">
				<span class="postdetails">{$post['ip_address']} {ipb.lang['posted_on']}
					<a title="{ipb.lang['tt_link']}" href="#" onclick="gallery_link_to_post({$post['pid']}, {$post['img']} ); return false;">#{$post['post_count']}</a>
<if="is_mod == 'true'">
&nbsp;&#0124;&nbsp;<a href="#" title="Click to select this topic for bulk moderation" onclick="gallery_toggle_pid('{$post['pid']}'); return false;">{$post['pid_start_image']}</a>
</if>

				</span>
			</div>
		</td>
	</tr>
	<tr>
		<td valign="top" class="{$post['post_css']}">
        	<span class="postdetails">
        		{$author['avatar']}<br /><br />
        		{$author['title']}<br />
        		{$author['member_rank_img']}<br /><br />
        		{$author['member_group']}<br />
        		{$author['member_posts']}<br />
        		{$author['member_joined']}<br />
        		{$author['member_location']}
        		{$author['member_number']}<br />
<if="author['custom_fields'] != """>
{$author['custom_fields']}
</if>

<br />
        		{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
        	</span><br />
        	<img src="{ipb.vars['img_url']}/spacer.gif" alt="" width="160" height="1" /><br /> 
       </td>
       <td width="100%" valign="top" class="{$post['post_css']}">
			<!-- THE POST {$post['pid']} -->
			<div class="postcolor">{$post['comment']} <!--IBF.ATTACHMENT_{$post['pid']}--></div>
				{$post['signature']}
			<!-- THE POST -->
		</td>
	</tr>
	<tr>
		<td class="formbuttonrow" nowrap="nowrap">
			<div style='text-align:left'>{$author['online_status_indicator']}{$author['addresscard']}{$author['message_icon']}<!--{$author['email_icon']}--></div>
		</td>
		<td class="formbuttonrow" nowrap="nowrap">
			<!-- PM / EMAIL / WWW / MSGR -->
			<div style="float: left;">
				{$post['report_link']}<a href="javascript:scroll(0,0);"><{P_UP}></a>
			</div>
			<!-- REPORT / UP -->
         	<div align="right">
         		{$post['delete_button']}{$post['edit_button']}<a href="#" onclick="multiquote_add({$post['pid']}); return false;" title="{ipb.lang['mq_title']}">{$post['mq_start_image']}</a><a href="{ipb.script_url}automodule=gallery&cmd=postcomment&img={ipb.input['img']}&gal_pids={$post['pid']}" title="{ipb.lang['tt_reply_to_post']}"><{P_QUOTE}></a>
         	</div>
         </td>
	</tr><tr>
	<td class="catend" colspan="2"><!-- no content --></td>
</tr>
</table>]]></section_content>
			<func_name>CommentRow</func_name>
			<func_data><![CDATA[$post="",$author="", $is_mod='false']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<td class='post2' align='center' width='20%' valign='bottom'>
{$info['img']}<br />
{$info['control']}
</td>]]></section_content>
			<func_name>photostrip_noncurr</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<a href="javascript:ShowHide('qr_open','qr_closed');" title="{ipb.lang['qr_open']}" accesskey="f"><{T_QREPLY}></a>]]></section_content>
			<func_name>quick_reply_box_closed</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<script type="text/javascript">
	<!--
		function emo_pop() {
			window.open('index.{ipb.vars['php_ext']}?act=legends&amp;CODE=emoticons&amp;s={ipb.session_id}','Legends','width=250,height=500,resizable=yes,scrollbars=yes'); 
		}
	//-->
</script>
<div id="qr_open" style="display: $show; position: relative;">
	<form name="REPLIER" action="{ipb.script_url}" method="post">
		<input type="hidden" name="automodule" value="gallery" />
		<input type="hidden" name="cmd" value="postcomment" />
		<input type="hidden" name="op"  value="doaddcomment" />
		<input type="hidden" name="img" value="{ipb.input['img']}" />
		<!-- TITLE DIV -->
		<br /><a name="qr" />
		<div class="borderwrap">
			<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['qr_title']}</div>
			<!--<div class="tablepad" style="width=90%;" align="center">-->
			<div style="padding: 6px; width:99%" align="center">
				<textarea id="fastreplyarea" cols="70" rows="8" name="Post" class="textinput" tabindex="1"></textarea>
				<br />
				<br />
				<a href="javascript:emo_pop();">{ipb.lang['show_emo']}</a> 
				&#124; <input type="checkbox" name="enableemo" value="yes" class="checkbox" checked="checked" />&nbsp;{ipb.lang['qr_add_smilie']} &#124; <input type="checkbox" name="enablesig" value="yes" class="checkbox" checked="checked" />&nbsp;{ipb.lang['qr_add_sig']}
				<br />
				<br />
				<input type="submit" name="submit" value="{ipb.lang['qr_submit']}" tabindex="2" accesskey="s" />&nbsp;<input type="submit" name="preview" value="{ipb.lang['qr_more_opts']}" />&nbsp;&nbsp;<input type="button" name="qrc" onclick="ShowHide('qr_open','qr_closed');" value="{ipb.lang['qr_closeit']}" />
				
			</div>
		</div>
	</form>
</div>]]></section_content>
			<func_name>quick_reply_box_open</func_name>
			<func_data><![CDATA[$fid="",$tid="",$show="hide",$key=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<div id='userlinks'>
<form action='{ipb.script_url}' method='post'>
<input type='hidden' name='automodule' value='gallery'>
<input type='hidden' name='cmd' value='search'>
<input type='hidden' name='search_where' value='{$type}'>
<input type='hidden' name='search_where_id' value='{$id}'>

<p>
<b>
<i>{$txt}</i></b><input name='search_for' type='text' class='input'> 
<b>in</b>&nbsp;&nbsp;<select name='search_in'><option value='caption'>{ipb.lang['caption']}</option><option value='description' class='select'>{ipb.lang['description']}</option></select>
<input type='submit' name='submit' value='{ipb.lang['search_gallery']}'>
</p>
</form>
</div>]]></section_content>
			<func_name>search_form</func_name>
			<func_data><![CDATA[$txt='',$type='',$id=0]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<script text="text/javascript" src="jscripts/ipb_galleryjs.js"></script>

<form method="post" action="?automodule=gallery">
	<input type="hidden" name="cmd" value="slideshow" />
	<input type="hidden" name="cat" value="{ipb.input['cat']}" />
	<input type="hidden" name="album" value="{ipb.input['album']}" />	
	<input type="hidden" name="show" value="first" />
	<div class="borderwrap">
	<table cellspacing="1" width="100%">
		<tr>
			<td class="maintitle" colspan="2"><{CAT_IMG}>&nbsp;{ipb.lang['ss_options']}</td>
		</tr>
		<tr>
			<td width="35%" class="row2">
				<fieldset>
					<legend>{ipb.lang['ss_duration']}</legend>
					<input type="text" name="duration" value="5" /> &nbsp;{ipb.lang['ss_seconds']}
				</fieldset> 
			</td>
			<td width="65%" class="row2">
				<fieldset>
					<legend>{ipb.lang['ss_sorting']}</legend>
					{ipb.lang['sort_options']}
				</fieldset>
			</td>
		</tr>
		<tr>
			<td class="formbuttonrow" colspan="2">
<input type='checkbox' name='hfoff' value='1'> {ipb.lang['ss_hfoff']}<br />
				<input onClick="start_slideshow();" type="submit" name="submit" value="{ipb.lang['ss_go']}" tabindex="4" class="forminput" accesskey="s" />&nbsp;
			</td>
		</tr>
	</table>
	</div>
</form>]]></section_content>
			<func_name>ss_form</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<table cellspacing="1" width="100%">
	<tr>
		<td width="20%" nowrap="nowrap"><!--GALLERY_MOD_COMMENTS--></td>
		<td align="right" width="80%">
			<!--IBF.QUICK_REPLY_CLOSED--> 
			{$info['favorite_button']}&nbsp;{$info['ecard_button']}&nbsp;{$info['comment_button']}</td>
	</tr>
	<tr>
		<td colspan="2">
		<!--IBF.QUICK_REPLY_OPEN-->
		</td>
	</tr>
</table>]]></section_content>
			<func_name>page_end</func_name>
			<func_data><![CDATA[$info='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<div class='borderwrap'>
<div class='maintitle'>{ipb.lang['photostrip']} {$info['name']}</div>
<div class='thumbwrap'>
<table width='100%' border='0' cellspacing='1' cellpadding='0'>
<tr>
{$info['images']}
</tr>
</table>
</div>
</div>]]></section_content>
			<func_name>photostrip</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<form action="{ipb.script_url}automodule=gallery&cmd=mod&op=doreportimg" method="post" name="REPLIER">
<input type="hidden" name="img" value="{$img}">
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['report_img_page']}</div>
		<table cellspacing="1">
			<tr>
				<td class="row1"  width="30%" valign="top"><b>{ipb.lang['report_img_title']}</b></td>
				<td class="row1" width="80%"><a href="{ipb.script_url}automodule=gallery&cmd=si&img=$img">$title</a>
				</td>
			</tr>
			<tr>
				<td class="row1"  width="30%" valign="top">{ipb.lang['report_img_msg']}</td>
				<td class="row1" width="80%"><textarea cols="60" rows="12" wrap="soft" name="message" class="textinput"></textarea>
				</td>
			</tr>
			<tr>
				<td class="formbuttonrow" colspan="2"><input type="submit" value="{ipb.lang['report_submit']}" /></td>
			</tr>
		</table>
	</div>
</form>]]></section_content>
			<func_name>report_form</func_name>
			<func_data><![CDATA[$img="",$title=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
var ipb_lang_tt_prompt = "{ipb.lang['tt_prompt']}";
var ipb_lang_js_del_1  = "{ipb.lang['js_del_1']}";
var ipb_lang_js_del_2  = "{ipb.lang['js_del_2']}";
var lang_gobutton    = "{ipb.lang['f_go']}";
var lang_suredelete  = "{ipb.lang['del_confirm']}";
var lang_nodelete  = "{ipb.lang['del_no_act']}";
-->
</script>
<script type="text/javascript" src="jscripts/ipb_galleryjs.js"></script>
<table cellspacing="1" width="100%">
	<tr>
		<td width="20%" nowrap="nowrap">&nbsp;</td>
		<td align="right" width="80%">{$info['favorite_button']}&nbsp;{$info['ecard_button']}&nbsp;{$info['comment_button']}</td>
	</tr>
</table>
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$info['caption']}</div>
	<table cellspacing="1" width="100%">
		<tr> 
			<th width="33%">{ipb.lang['uploaded_by']} {$info['author']} {ipb.lang['on']} {$info['date']}</th>
			<th align="right" width="33%">{ipb.lang['views']} {$info['views']} &middot; {ipb.lang['img_comments']} {$info['comments']}</th>          
		</tr>
		<tr>
			<td class="formsubtitle">{$info['description']}</td>
			<td class="formsubtitle" valign="top" rowspan="2" align="right">{$info['rate']}</td>
		</tr>
		<tr><td class="formsubtitle">
         <if="info['copyright'] != ''">
            <i>{$info['copyright']}</i><br />
           </if>
        <if="info['credit_info'] !=''">
       {ipb.lang['credit_line']} {$info['credit_info']}
    </if>
     </td></tr>
		<tr>
			<td colspan="2" class="row2">
				{$info['pin_button']}&nbsp;{$info['edit_button']}&nbsp;{$info['move_button']}&nbsp;{$info['delete_button']}{$info['report_button']}
			</td>
		</tr>
	</table>
</div>
<div class="fullimagewrap">
	{$info['image']}
</div>
<table cellspacing="1" width="100%">
	<tr>
		<td width="20%" nowrap="nowrap">&nbsp;</td>
		<td align="right" width="80%">{$info['favorite_button']}&nbsp;{$info['ecard_button']}&nbsp;{$info['comment_button']}</td>
	</tr>
</table>]]></section_content>
			<func_name>show_image</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<form method="post" action="index.php">
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="rate" />
	<input type="hidden" name="img" value="{$img}" />
	<input type="hidden" name="cat" value="{ipb.input['cat']}" />
	<input type="hidden" name="album" value="{ipb.input['album']}" />
	<input type="hidden" name="op" value="dorate" />
	<input type="radio" name="rating" value="5" title="{ipb.lang['best']}"  checked />&nbsp;5&nbsp;<input type="radio" name="rating" value="4" />&nbsp;4&nbsp;<input type="radio" name="rating" value="3" />&nbsp;3&nbsp;<input type="radio" name="rating" value="2" />&nbsp;2&nbsp;<input type="radio" name="rating" value="1" title="{ipb.lang['worst']}" />&nbsp;1&nbsp;<input type="submit" name="submit" value="{ipb.lang['rateit']}" />
</form>]]></section_content>
			<func_name>rate_form</func_name>
			<func_data><![CDATA[$img=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<td class='row2' align='center' valign='middle'>{$img}<br />&nbsp;</td>]]></section_content>
			<func_name>photostrip_curr</func_name>
			<func_data><![CDATA[$img=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<html>
	<head>
		<title></title>
	</head>
	<body>]]></section_content>
			<func_name>ecard_top</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$info['lang']}</div>
<table cellspacing="1" width="100%">
	<tr>
		<td width="100%" class="row1"><center><h1>{$info['caption']}</h1>{$info['image']}</center>
			<span style="color: {$info['font']};">
				<p style="border-color: {$info['border']}; background: {$info['bg']}"><b>{$info['title']}</b><br /><br />{$info['msg']}</p>
			</span>
<b>{$info['sender']}</b>
		</td>
	</tr>]]></section_content>
			<func_name>ecard_preview</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<tr>
	<td class="row2" colspan="2">
	<b>{ipb.lang['ecard_p_receiver']}</b> {ipb.input['receiver_name']} ( {ipb.input['receiver_email']} )</td>
</tr>
<tr>
	<td class="formbuttonrow" colspan="2">
	<form name="colorform" method="post" action="?act=module">
		<input type="hidden" name="module" value="gallery" />
		<input type="hidden" name="cmd" value="ecard" />
		<input type="hidden" name="img" value="{ipb.input['img']}" />
		<input type="hidden" name="op" value="ecard" />
		<input type="hidden" name="receiver_name" value="{ipb.input['receiver_name']}" />
		<input type="hidden" name="receiver_email" value="{ipb.input['receiver_email']}" />
		<input type="hidden" name="subject" value="{ipb.input['subject']}" />
		<input type="hidden" name="Post" value="{ipb.input['Post']}" />
		<input type="hidden" name="bg" value="{ipb.input['bg']}" />
		<input type="hidden" name="border" value="{ipb.input['border']}" />
		<input type="hidden" name="font" value="{ipb.input['font']}" />
		<input type="submit" name="submit" value="{ipb.lang['ecard_modify']}" />
	</form>&nbsp;
	<form name="colorform" method="post" action="?act=module">
		<input type="hidden" name="module" value="gallery" />
		<input type="hidden" name="cmd" value="ecard" />
		<input type="hidden" name="img" value="{ipb.input['img']}" />
		<input type="hidden" name="op" value="sendecard" />
		<input type="hidden" name="receiver_name" value="{ipb.input['receiver_name']}" />
		<input type="hidden" name="receiver_email" value="{ipb.input['receiver_email']}" />
		<input type="hidden" name="sender_name" value="{ipb.input['sender_name']}" />
		<input type="hidden" name="sender_email" value="{ipb.input['sender_email']}" />
		<input type="hidden" name="subject" value="{ipb.input['subject']}" />
		<input type="hidden" name="Post" value="{ipb.input['Post']}" />
		<input type="hidden" name="bg" value="{ipb.input['bg']}" />
		<input type="hidden" name="border" value="{ipb.input['border']}" />
		<input type="hidden" name="font" value="{ipb.input['font']}" />
		<input type="submit" name="submit" value="{ipb.lang['ecard_send']}" />
	</form>
	</td>
</tr>
</table>
</div>]]></section_content>
			<func_name>ecard_preview_options</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<td align="center" class="nopad" valign="top">
		<div class="thumbwrap">
			<div class="thumb">{$info['image']}</div>
			<p><b>{ipb.lang['uploaded_by']}</b> {$info['name']}</p>
			<p class="alt"><b>{ipb.lang['on']}</b> {$info['date']}</p>
		</div> 
	</td>]]></section_content>
			<func_name>view_row_ipb</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<td align="center" class="nopad" valign="top">
		<div class="thumbwrapp">
			<h4>{$info['caption']}</h4>
			<div class="thumb">{$info['image']}</div>
{$info['info']}
			<p class="pin">{$info['extra']} <b>{ipb.lang['pinned']}</b></p>
		</div>
	</td>]]></section_content>
			<func_name>view_row_img_pinned</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<td align="center" class="nopad" valign="top">
		<div class="thumbwrap">
			<h4>{$info['caption']}</h4>
			<div class="thumb">{$info['image']}</div>
{$info['info']}
			<p><b>{$info['extra']} {ipb.lang['not_approved']}</b></p>
		</div>
	</td>]]></section_content>
			<func_name>view_row_img_hidden</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr> 
			<td class="catend" colspan="5"><!-- no content --></td>
		</tr>
	</table>
</div>
<br />]]></section_content>
			<func_name>index_list_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$name}</div>
	<table cellspacing="1" width="100%" class="ipbtable">]]></section_content>
			<func_name>index_list_top</func_name>
			<func_data><![CDATA[$name='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<form name="modform" method="post" action="index.php">
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="gallerymmod" />
	<input type="hidden" value="" name="selectedimgids" />
    <input type="hidden" value="{ipb.input['cat']}" name="cat" />
    <div style='float:left;width:auto'>
	 <select name="galleryact" id="galleryact" onchange="check_move_select()">
		 <option value="pin">{ipb.lang['pin_images']}</option>
		 <option value="unpin">{ipb.lang['unpin_images']}</option>
		 <option value="delete">{ipb.lang['delete_images']}</option>
		 <option value="move">{ipb.lang['move_images']}</option>
		 <option value="approve">{ipb.lang['approve_images']}</option>
		 <option value="unapprove">{ipb.lang['unapprove_images']}</option>
	 </select>
	</div>
	<div id='move_cat_div' style='display:none;position:relative;float:left;width:auto'>
	{$data}
	</div>
	<input type="submit" name="gobutton" value="{ipb.lang['mod_button']}" class="button" />
</form>
<script type="text/javascript">
//<!#^#|CDATA|
	var move_cat_div = document.getElementById('move_cat_div');
	var galleryact   = document.getElementById('galleryact');
		
	function check_move_select()
	{
		for( var i = 0 ; i < galleryact.options.length ; i++ )
		{
			if ( galleryact.options[i].value == 'move' )
			{
				move_cat_div.style.display = ( galleryact.options[i].selected ) ? '' : 'none';
			}
		}
	}
//|#^#]>
</script>]]></section_content>
			<func_name>multi_mod_form</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<!--THE SMILIES-->]]></section_content>
			<func_name>smilie_table</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<!--nothing-->]]></section_content>
			<func_name>post_javascript</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<form method="post" action="{ipb.script_url}" name="REPLIER" enctype="multipart/form-data" onsubmit='return ValidateForm()'>
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="postcomment" />
	<input type="hidden" name="op"  value="doaddcomment" />
	<input type="hidden" name="img" value="{ipb.input['img']}" />
	<div class="borderwrap">
	<table cellspacing="0" width="100%"  class="ipbtable">
		<tr>
			<td class="maintitle" colspan="2"><{CAT_IMG}>&nbsp;{ipb.lang[$data]}</td>
		</tr>]]></section_content>
			<func_name>reply_form_top</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<form method="post" id='postingform' action="{ipb.script_url}" name="REPLIER" enctype="multipart/form-data" onsubmit='return ValidateForm()'>
    <input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="dopost" />
	<input type="hidden" name="cat" value="{ipb.input['cat']}" />
	<input type="hidden" name="album" value="{ipb.input['album']}" />

	<div class="borderwrap">
	<table cellspacing="0" width="100%" class="ipbtable">
		<tr>
			<td class="maintitle" colspan="2"><{CAT_IMG}>&nbsp;{ipb.lang[$data]}</td>
		</tr>]]></section_content>
			<func_name>post_form_top</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<tr>
			<td class="formbuttonrow" colspan="2">
				<input type="submit" name="submit" value="{ipb.lang[$data]}" tabindex="4" class="button" accesskey="s" />
			</td>
		</tr>
	</table>
	</div>
</form><br />]]></section_content>
			<func_name>post_form_end</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<tr>
        <td colspan="2" align="center" class="bgl">
         <div style="width:100%;" align="center" class="borderwrap">
         <table cellpadding="0" cellspacing="0" width="100%" class="darkrow3">
    		<tr>
				<td align="right" width="20%">{$title}<br />{$desc}</td>
				<td align="left" width="80%">{$control}</td>
			</tr>
     	</table>
     	</div>
     	</td>
	</tr>]]></section_content>
			<func_name>post_form_row</func_name>
			<func_data><![CDATA[$title="",$control="",$desc=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<input type="text" name="{$name}" value="{$value}" size="60" />]]></section_content>
			<func_name>post_control_textbox</func_name>
			<func_data><![CDATA[$name="",$value=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<tr>
        <td colspan="2" align="center" class="bgl">
         <div style="width:100%;" align="center" class="borderwrap">
         <table cellpadding="5" cellspacing="5" width="100%" class="darkrow3">
             <tr>
			<td align="right" valign="top" width="20%">
				<!--SMILIE TABLE-->
			</td>
			<td align="left" valign="top" width="80%">
                {$editor_html}
            </td></tr>
   </table></div>
</td></tr>]]></section_content>
			<func_name>post_description_field</func_name>
			<func_data><![CDATA[$editor_html='',$value='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<tr>
        <td colspan="2" align="center" class="bgl">
         <div style="width:100%;" align="center" class="borderwrap">
         <table cellpadding="0" cellspacing="0" width="100%" class="darkrow1">
    		<tr>
				<tr>
				<td colspan="2" width="100%">
				<b>{$title}</b><br /><small>{$desc}</small>
			</td>
			</tr>
     	</table>
     	</div>
     	</td>
	</tr>]]></section_content>
			<func_name>post_form_sep</func_name>
			<func_data><![CDATA[$title="",$desc=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<form method="post" action="{ipb.script_url}" name="REPLIER" enctype="multipart/form-data">
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="moveimg" />
	<input type="hidden" name="op" value="domove" />
	<input type="hidden" name="img" value="{ipb.input['img']}" />
	<div class="borderwrap">
	<table cellspacing="1" cellpadding="5" width="100%">
		<tr>
			<td class="maintitle" colspan="2"><{CAT_IMG}>&nbsp;{ipb.lang[$data]}</td>
		</tr>]]></section_content>
			<func_name>move_form_top</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<select name="$name">$options</select>]]></section_content>
			<func_name>post_control_drop</func_name>
			<func_data><![CDATA[$name="",$options=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[<form method="post" id='postingform' action="{ipb.script_url}" name="REPLIER" onsubmit='return ValidateForm()'>
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="ecard" />
	<input type="hidden" name="img" value="{ipb.input['img']}" />
	<input type="hidden" name="op" value="ecardpreview" />
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['ecard']} {$info['caption']}</div>
		<table width="100%" class='ipbtable'>
		<tr>
		  <td colspan="2" align="center" class="bgl">
		   <div style="width:100%;" align="center" class="borderwrap">
		   <table cellpadding="0" cellspacing="0" width="100%" class="darkrow3">
			  <tr>
				  <td align="right" width="20%"><strong>{ipb.lang['receiver_name']}</strong></td>
				  <td align="left" width="80%"><input type="text" size='50' name="receiver_name" value="{ipb.input['receiver_name']}" /></td>
			  </tr>
		  </table>
		  </div>
		  </td>
	    </tr>
	    <tr>
		  <td colspan="2" align="center" class="bgl">
		   <div style="width:100%;" align="center" class="borderwrap">
		   <table cellpadding="0" cellspacing="0" width="100%" class="darkrow3">
			  <tr>
				  <td align="right" width="20%"><strong>{ipb.lang['receiver_email']}</strong></td>
				  <td align="left" width="80%"><input type="text" size='50' name="receiver_email" value="{ipb.input['receiver_email']}" /></td>
			  </tr>
		  </table>
		  </div>
		  </td>
	    </tr>
	    <tr>
		  <td colspan="2" align="center" class="bgl">
		   <div style="width:100%;" align="center" class="borderwrap">
		   <table cellpadding="0" cellspacing="0" width="100%" class="darkrow3">
			  <tr>
				  <td align="right" width="20%"><strong>{ipb.lang['ecard_subject']}</strong></td>
				  <td align="left" width="80%"><input type="text" size='50' name="subject" value="{ipb.input['subject']}" /></td>
			  </tr>
		  </table>
		  </div>
		  </td>
	    </tr>
	    
	    <tr>
		  <td colspan="2" align="center" class="bgl">
		   <div style="width:100%;" align="center" class="borderwrap">
		   <table cellpadding="0" cellspacing="0" width="100%" class="darkrow3">
			  <tr>
				  <td align="right" width="20%"><strong>{ipb.lang['ecard_colors']}</strong></td>
				  <td align="left" width="80%">{$info['bg']} {$info['border']} {$info['font']}</td>
			  </tr>
		  </table>
		  </div>
		  </td>
	    </tr>
		
		
		<tr>
         <td colspan="2" align="center" class="bgl">
         <div style="width:100%;" align="center" class="borderwrap">
         <table cellpadding="5" cellspacing="5" width="100%" class="darkrow3">
             <tr>
			<td align="right" valign="top" width="20%">
				<!--SMILIE TABLE-->
			</td>
			<td align="left" valign="top" width="80%">
                {$info['editor_html']}
            </td></tr>
   		 </table>
   		 </div>
		 </td>
		</tr>
		
		<tr>
			<td class="formbuttonrow" colspan="2">
				<input type="submit" name="submit" value="{ipb.lang['ecard_preview']}" />
			</td>
		</tr>
	  </table>
	</div>
</form>]]></section_content>
			<func_name>ecard</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_img</group_name>
			<section_content><![CDATA[</body>
</html>]]></section_content>
			<func_name>ecard_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[<div class="subtitle">{ipb.lang['where_all']}</div>
   
 <table cellspacing="1" class="ipbtable" width="100%">
		<tr>
			<td nowrap="nowrap" width="75%">{$info['SHOW_PAGES']}</td>
			<td align="right" colspan="3">{$info['upload']}&nbsp;{$info['slideshow']}</td>
		</tr>
	</table>
	<table cellspacing="1" width="100%">]]></section_content>
			<func_name>user_view_top_cat</func_name>
			<func_data><![CDATA[$info='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$text}</div>
<p>]]></section_content>
			<func_name>user_bar_header</func_name>
			<func_data><![CDATA[$text='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[</p>
<div class="formsubtitle">{ipb.lang['user_pub_albums']}</div>
<p>
	&middot; <a href="{ipb.script_url}automodule=gallery&cmd=user&user={$mid}&op=ipbimages"><b>{ipb.lang['where_all_ipb']}</b></a><br />
	{$albums}]]></section_content>
			<func_name>user_bar_public_albums</func_name>
			<func_data><![CDATA[$albums="",$mid=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_search</group_name>
			<section_content><![CDATA[<tr><td class="row1" align="center">
       <table width="100%">
         <tr><td align="center">{$info['image']}</td>
             <td valign="top" width="70%"><i>{$info['stuff']}<br />
             {ipb.lang[ 'postedby' ]} {$info['user']}
             </td></tr>
       </table></td>
</tr>]]></section_content>
			<func_name>search_row</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<table class="ipbtable" width="98%" align="center" cellpadding="1" cellspacing="0" border="0">
<tr><td>{ipb.lang['gallery_perms_done']}</td></tr>
</table>]]></section_content>
			<func_name>perms_finished</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<script language="Javascript" type="text/javascript">
	<!--
		function PopUp(url, name, width,height,center,resize,scroll,posleft,postop){
			if (posleft != 0){ x = posleft }
			if (postop  != 0){ y = postop  }
	
			if (!scroll){ scroll = 1 }
			if (!resize){ resize = 1 }
	
			if ((parseInt (navigator.appVersion) >= 4 ) && (center)){
				X = (screen.width  - width ) / 2;
				Y = (screen.height - height) / 2;
			}
			if (scroll != 0){ scroll = 1 }
	
			var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
		}
	//-->
</script>
<div class="formsubtitle">{ipb.lang['submit_post']}</div>
{$errors}
<form method="post" action="{ipb.script_url}" name="REPLIER" enctype="multipart/form-data">
	<input type="hidden" name="act" value="module" />
	<input type="hidden" name="module" value="gallery" />
	<input type="hidden" name="cmd" value="albums" />
	<input type="hidden" name="op"  value="do_upload" />
	<input type="hidden" name="album" value="{ipb.input['album']}" />
	<table cellspacing="1" width="100%">]]></section_content>
			<func_name>upload_form_top</func_name>
			<func_data><![CDATA[$errors=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{ipb.lang['no_album']}</div>
<p><a href="{ipb.script_url}automodule=gallery&cmd=albums&op=addnew">{ipb.lang['first_album']}</a></p>]]></section_content>
			<func_name>no_albums</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<script language="javascript">
	<!--
function do_op( obj )
{
     goto_url= obj.options[obj.selectedIndex].value;
     locationjump( goto_url );
}
	-->
</script>
	<div class="formsubtitle">{ipb.lang['album_manage']}</div>
	<table cellspacing="1" width="100%">
		<tr>
			<th width="35%">{ipb.lang['album_info']}</th>
			<th width="5%"  align="center">{ipb.lang['album_status']}</th>
			<th width="15%" align="center">{ipb.lang['cat_name']}</th>
			<th width="10%" align="center">{ipb.lang['comments']}</th>
			<th width="10%" align="center">{ipb.lang['images']}</th>
			<th width="25%" align="center">{ipb.lang['album_controls']}</th>
		</tr>]]></section_content>
			<func_name>index_top</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1"><b>{$data['name']}</b><br /><i>{$data['description']}</i>

</td>
			<td class="row1" align="left"><i>{$data['status']}</i></td>
			<td class="row1" align="center"><i>{$data['in_category']}</i></td>
			<td class="row2" align="center">{$data['comments']}</td>
			<td class="row2" align="center">{$data['images']}</td> 
			<td class="row2" align="center">{$data['controls']}</td>
		</tr>]]></section_content>
			<func_name>index_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<if="ipb.vars['gallery_album_create']==1">
<tr>
			<td class="formbuttonrow" align="center" colspan="6"><b><a href="{ipb.script_url}automodule=gallery&cmd=albums&op=addnew">{ipb.lang['create_album']}</a></b></td>
		</tr>
<else />
  <tr></tr>
</if>

	</table>]]></section_content>
			<func_name>index_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{ipb.lang[$type.'_title']}</div>
<p>{ipb.lang[$type.'_text']}</p>]]></section_content>
			<func_name>error</func_name>
			<func_data><![CDATA[$type=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<div class="errorwrap">
	<h4>{ipb.lang['errors_found']}</h4>
	{$text}
</div>]]></section_content>
			<func_name>form_errors</func_name>
			<func_data><![CDATA[$text=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<tr>]]></section_content>
			<func_name>view_begin_row</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<td align="center" class="nopad" valign="top" width='50%'>
		<div class="thumbwrap">
<h4>{ipb.lang['cat_name']}: <a href='{ipb.script_url}act=module&module=gallery&cmd=user&user={ipb.input['user']}&op=view_cat&cat={$info['catid']}'>{$info['name']}</a></h4>
{$info['image']}
<p><b>Date: </b>{$info['date']}
		</div> 
	</td>]]></section_content>
			<func_name>view_cat_row</func_name>
			<func_data><![CDATA[$info='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[</tr>]]></section_content>
			<func_name>view_end_row</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<td align="center" class="nopad" valign="top">
		<div class="thumbwrap">
			<h4>{$info['caption']}</h4>
			<div class="thumb">{$info['image']}</div>
			{$info['info']}
			<p><b>{$info['extra']}</b></p>
		</div> 
	</td>]]></section_content>
			<func_name>view_row_img</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[<div class="subtitle">{ipb.lang['album_all']}</div>]]></section_content>
			<func_name>user_view_top</func_name>
			<func_data><![CDATA[$info='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[&middot; {$text} <br />]]></section_content>
			<func_name>user_bar_row</func_name>
			<func_data><![CDATA[$text=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[</p>]]></section_content>
			<func_name>user_bar_footer</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[</td></tr></table>]]></section_content>
			<func_name>page_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[<table cellspacing="0" class="ipbtable" width="100%">
	<tr>
		<td class="nopad" valign="top" width="24%">
		
                          <div class="borderwrap">
				<div class="maintitle">{ipb.lang['user_info']}</div>
                         
				<div class="formsubtitle">{ipb.lang['user_stats']}</div>
				<p>
					&middot; <b>{ipb.lang['total_imgs']}</b> {$info['total_images']}<br />
					&middot; <b>{ipb.lang['total_comments']}</b> {$info['total_comments']}<br />
					&middot; <b>{ipb.lang['dp_used']}</b> {$info['total_diskspace']}<br /> <i><!-- TOTAL_ALLOWED --></i>
					{$info['pub_albums']}
				</p>
				<!-- PRIVATE_ALBUMS -->
				<!-- CONTROLS -->
		</div>
		
		</td>
		<td width="1%" class="nopad">&nbsp;</td>
		<td class="nopad" valign="top" width="75%">
	
   <div class="borderwrap">
			<div class="maintitle">{$info['name']}</div>]]></section_content>
			<func_name>user_bar</func_name>
			<func_data><![CDATA[$info="",$base_url='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[<div class="subtitle">{$info['where']}</div>
<div class="formsubtitle" style="text-align:left;">{$info['description']}</div>
    <table cellspacing="1" class="ipbtable" width="100%">
		<tr>
			<td nowrap="nowrap">{$info['SHOW_PAGES']}</td>
		</tr>
	</table>
	<table cellspacing="1" width="100%">
	<tr><td align="right" colspan="3">{$info['upload']}&nbsp;{$info['multi_upload_button']}&nbsp;{$info['slideshow']}&nbsp;</td></tr>]]></section_content>
			<func_name>img_view_top</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<input type="file" name="{$name}" value="{$value}" size="71" />]]></section_content>
			<func_name>post_control_file</func_name>
			<func_data><![CDATA[$name="",$value=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<textarea name="{$name}" cols="57" rows="6">{$value}</textarea>]]></section_content>
			<func_name>post_control_textarea</func_name>
			<func_data><![CDATA[$name="",$value=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<form method="post" action="{ipb.script_url}" name="REPLIER" enctype="multipart/form-data" onsubmit='return ValidateForm()'>
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="editcomment" />
	<input type="hidden" name="op"  value="doeditcomment" />
	<input type="hidden" name="img" value="{ipb.input['img']}" />
	<input type="hidden" name="comment" value="{ipb.input['comment']}" />
	<div class="borderwrap">
	<table cellspacing="0" width="100%"  class="ipbtable">
		<tr>
			<td class="maintitle" colspan="2"><{CAT_IMG}>&nbsp;{ipb.lang[$data]}</td>
		</tr>]]></section_content>
			<func_name>edit_reply_form_top</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<input type="checkbox" name="add_edit" class="checkbox" value="1" $checked />&nbsp;{ipb.lang['append_edit']}<br />]]></section_content>
			<func_name>get_append_chk</func_name>
			<func_data><![CDATA[$checked='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<tr>
        <td colspan="2" align="center" class="bgl">
         <div style="width:100%;" align="center" class="borderwrap">
         <table cellpadding="0" cellspacing="0" width="100%" class="darkrow3">
    		<tr>
				<td align="right" width="20%" valign='top'><strong>{ipb.lang['po_options']}</strong></td>
				<td align="left" width="80%">
				 <input type="checkbox" name="enableemo" class="checkbox" value="yes" $emo />&nbsp;{ipb.lang['enable_emo']}<br />
				 <input type="checkbox" name="enablesig" class="checkbox" value="yes" $sig />&nbsp;{ipb.lang['enable_sig']}
				 <!-- APPEND_EDIT -->
				</td>
			</tr>
     	</table>
     	</div>
     	</td>
	</tr>]]></section_content>
			<func_name>get_post_options</func_name>
			<func_data><![CDATA[$emo="",$sig=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<td align="center" class="nopad" valign="top" width='50%'>
   <div class="thumbwrap">   
   	<div class="popupmenu">
   	  <table width="100%" cellpadding="3" border="0">
       <tr><td width="50%"><b>{ipb.lang['albums']}: <a href='{ipb.script_url}automodule=gallery&cmd=user&user={$info['member_id']}&op=view_album&album={$info['id']}'>{$info['name']}</a></b><br />
        <p class='alt'><b>{ipb.lang['images']}: </b>{$info['images']}</p>
        <p><b>Date: </b>{$info['date']}</p></td>
        <td width="50%">{$info['image']}</td></tr>
       </table>
    </div>
    </div>
</td>]]></section_content>
			<func_name>view_album_row</func_name>
			<func_data><![CDATA[$info='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<table cellspacing="1" class="ipbtable" width="100%">
	<tr>
		<td width="20%" nowrap="nowrap">{$info['CATS']}<br /><br />{$info['SHOW_PAGES']}</td>
		<td align="right" width="80%">{$info['ss_button']} {$info['post_button']} {$info['multi_upload_button']} {$info['media_button']}</td>
	</tr>
</table>

<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$info['name']}</div>
	<table cellspacing="1" class="ipbtable" width="100%">]]></section_content>
			<func_name>cat_view_top</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr>]]></section_content>
			<func_name>cat_start_tr</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<br />
<style type="text/css">
   .camera  {
         cursor: pointer;
         cursor: hand;
   }
</style>
  <table width="100%" cellspacing="0" cellpadding="1" border="0">]]></section_content>
			<func_name>cat_top</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr> 
			<td class="catend" colspan="6">{$span['multi_mod']}</td>
		</tr>
	</table>
</div>
<table cellspacing="1" class="ipbtable" width="100%">
	<tr>
		<td width="20%" nowrap="nowrap">{$span['CATS']}<br /><br />{$span['SHOW_PAGES']}</td>
		<td align="right" width="80%">{$span['ss_button']} {$span['post_button']} {$span['multi_upload_button']}{$span['media_button']}</td>
	</tr>
</table>

<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['sorting_options']}</div>
	<table cellspacing="1" width="100%">
		<tr> 
			<td class="row2" align="center">
<form method="post" action="{ipb.script_url}">
<input type="hidden" name="automodule" value="gallery" />
<input type="hidden" name="cmd" value="sc" />
<input type="hidden" name="cat" value="{ipb.input['cat']}" />
<input type="hidden" name="st" value="{ipb.input['st']}" />
<input type="hidden" name="op" value="{ipb.input['op']}" />
{ipb.lang['showing']} {ipb.lang['sort_options']} 
<input type="submit" name="submit" value="{ipb.lang['go']}" class="button" />
				</form>
			</td>
		</tr>		
		<tr> 
			<td class="catend">
			
</td>
		</tr>
	</table>
</div>
<br />]]></section_content>
			<func_name>cat_view_end</func_name>
			<func_data><![CDATA[$span=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<!--cat_end.start-->
</table>


<br />


<!--cat_end.end-->]]></section_content>
			<func_name>cat_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[</tr>]]></section_content>
			<func_name>cat_end_tr</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<!--skin_gallery_cats:cat_row.start-->
<td {$info['colspan']}width="{$info['cat_width']}" valign="top">
<div class="borderwrap" id="fc_{$info['id']}">

<table cellspacing="0" cellpadding="3" width="100%">
<div class="maintitle">{$info['has_subcats']}<u><a href="{$info['link']}">{$info[ 'name' ]}</a></u> &nbsp; </div>
<div class="popupmenu" id="sub_{$info['id']}" style="position: absolute; display: none;">
  <div class="popupmenu-item">
  {$info['sub_cats']}
  </div>
</div>
<tr>
  <th colspan="2">{ipb.lang['last_post_info']} {$info['date']}&nbsp;</th>
</tr>

  <tr>
  
  <td class="row2" valign="middle" align="center" width="30%">
      <table align="center" cellpadding="3" width="100%" height="{ipb.vars['gallery_thumb_height']}">
       <tr><td align="center">
         {$info['last_pic']}</td></tr>
          <tr><td align="center">{$info['photo_bar']}{$info['photo_info']}
          </td></tr>
      </table>
            </td>
            
            <td class="row1" valign="middle" width="75%"><span class="postdetails"><strong>{$info['description']}</strong>
            <br />
            {$info['desc_subcats']}<br />
             {$info['approve_images']}
            </span></td>
   </tr>
<tr>
  <th align="right" colspan="2"> <i>&nbsp;{$info['images']} {ipb.lang['images']}, {$info['comments']} {ipb.lang['comments']}</i></th>
</table></div></td>
<!--skin_gallery_cats:cat_row.end-->]]></section_content>
			<func_name>cat_row</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<!-- no content -->]]></section_content>
			<func_name>album_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr> 
			<td class="{$info['css']}" align="center" width="1%">{$info['img_new_post']}</td>
			<td class="{$info['css']}"><b><a href="{$info['link']}">{$info['name']}</a></b><br /><span>{$info['description']}</span></td>
			<td class="{$info['css']}" align="center">{$info['member']}</td>
			<td class="{$info['css']}" align="center"><b>{$info['images']}</b></td>
			<td class="{$info['css']}" align="center"><b>{$info['comments']}</b></td>
			<td class="{$info['css']}" nowrap="nowrap">
				<span>{$info['last_pic']}<br />{ipb.lang['by']}: {$info['last_poster']}<br />{ipb.lang['on']} {$info['date']}</span>
			</td>
		</tr>]]></section_content>
			<func_name>album_row</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr> 
			<th width="40%" colspan="2">{ipb.lang['album_name']}</th>
			<th align="center" width="19%">{ipb.lang['sort_name']}</th>
			<th align="center" width="7%">{ipb.lang['images']}</th>
			<th align="center" width="7%">{ipb.lang['comments']}</th>
			<th width="25%">{ipb.lang['last_post_info']}</th>
		</tr>]]></section_content>
			<func_name>album_top</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_favs</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{ipb.lang['your_favs']}</div>
		<table cellspacing="1" class="ipbtable" width="100%">
		<tr>
			<td width="20%" nowrap="nowrap">{$info['SHOW_PAGES']}</td>
			<td align="right" width="80%" nowrap="nowrap">{$info['download_favs']}</td>
		</tr>
	</table>
		<table cellspacing="1" class="ipbtable" width="100%">]]></section_content>
			<func_name>fav_view_top</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_favs</group_name>
			<section_content><![CDATA[<tr>
		<td class="row1">{ipb.lang['no_favs']}</td>
	</tr>]]></section_content>
			<func_name>no_favs</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_search</group_name>
			<section_content><![CDATA[<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {ipb.lang['search_results']}</div>
<table width="100%" class="ipbtable" cellpadding="2">
<tr><td class="row1" align="center">{ipb.lang['no_results']}</td></tr>]]></section_content>
			<func_name>no_results</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_search</group_name>
			<section_content><![CDATA[</table></div>]]></section_content>
			<func_name>search_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<td class="row2" valign="top" width="50%">]]></section_content>
			<func_name>buddy_perms_perms_st</func_name>
			<func_data><![CDATA[$perms=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{ipb.lang['perms_album']}</div>
<script language="javascript" src="jscripts/ipb_galleryjs.js"></script>
<br />
<form action="{ipb.script_url}" method="post" name="theForm">
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="albums" />
	<input type="hidden" name="op" value="buddyperms" />
	<input type="hidden" name="do" value="changeperms" />
	<input type="hidden" name="album" value="{$album}" />
<table width="98%" align="center" cellpadding="1" cellspacing="1" border="0">
<tr><th colspan="2">Buddies</th></tr>]]></section_content>
			<func_name>buddy_perms_start</func_name>
			<func_data><![CDATA[$album=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<div class="borderwrapm">
<div class="maintitle">{ipb.lang['delete']}</div>
<div class='formsubtitle'><center>{ipb.lang['del_confirm']}
<br /><br /><a href='{ipb.script_url}&act=module&module=gallery&cmd=albums&op=del&album={$album}&confirm_delete=true'>{ipb.lang['del_conf_link']}</a>
</center></div>]]></section_content>
			<func_name>confirm_delete</func_name>
			<func_data><![CDATA[$album=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[</td></tr>]]></section_content>
			<func_name>buddy_perms_perms_end</func_name>
			<func_data><![CDATA[$perms=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<table class="ipbtable">
  		<tr>
  			<td align="center">VIEW: &nbsp;&nbsp;<img src="{ipb.vars['board_url']}/style_images/<#IMG_DIR#>/{$perms['perm_view']}" border="0" /></td>
  			<!--<td align="center">EDIT: &nbsp;&nbsp;<img src="{ipb.vars['board_url']}/style_images/<#IMG_DIR#>/{$perms['perm_edit']}" border="0" /></td>
  			<td align="center">UPLOAD: &nbsp;&nbsp;<img src="{ipb.vars['board_url']}/style_images/<#IMG_DIR#>/{$perms['perm_upload']}" border="0" /></td>
  			<td align="center">DELETE: &nbsp;&nbsp;<img src="{ipb.vars['board_url']}/style_images/<#IMG_DIR#>/{$perms['perm_delete']}" border="0" /></td>-->
  			
  		</tr>
  		</table>]]></section_content>
			<func_name>buddy_perms_perms_row</func_name>
			<func_data><![CDATA[$perms=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<tr><td class="row1" valign="top" width="50%">
<b><a href="javascript:gallery_toggleview( 'perm_{$buddy['contact_id']}' );">{$buddy['contact_name']}</a>
  		</b>[ {$buddy['contact_desc']} ]
   <div id="perm_{$buddy['contact_id']}" class="popupmenu" style="position: relative; display:none;">
  		<table class="ipbtable">
  		<tr><th>VIEW</th><!--<th>EDIT</th><th>UPLOAD</th><th>DELETE</th>--></tr>
  		<tr>
  			<td align="center"><input type="checkbox" name="perm_view_{$buddy['contact_id']}" {$buddy['perm_view']}/></td>
  			<!--<td align="center"><input type="checkbox" name="perm_edit_{$buddy['contact_id']}" {$buddy['perm_edit']}/></td>
  			<td align="center"><input type="checkbox" name="perm_upload_{$buddy['contact_id']}" {$buddy['perm_upload']}/></td>
  			<td align="center"><input type="checkbox" name="perm_delete_{$buddy['contact_id']}" {$buddy['perm_delete']}/></td>-->
  		</tr>
  		</table>	
  	</div>
  			
  </td>]]></section_content>
			<func_name>buddy_perms_buddy</func_name>
			<func_data><![CDATA[$buddy=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<form action="{ipb.script_url}" method="post" name="theForm">
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="albums" />
	<input type="hidden" name="op" value="{$data['type_op']}" />
	{$data['hiddens']}
	{$data['errors']}
	<div class="borderwrapm">
		<div class="maintitle">{ipb.lang['album_manage']}</div>
		<table cellspacing="1" width="100%">
			<td class="subtitle" colspan="2">{ipb.lang[ $data['type'] ]}</td>
			<tr>
				<td class="pformleft">{ipb.lang['album_name']}</td>
				<td class="pformright">
					<input type="text" size="40" maxlength="60" name="name" value="{$data['name']}" />
				</td>
			</tr>  
			<tr>
				<td class="pformleft">{ipb.lang['album_desc']}</td>
				<td class="pformright">
					<input type="text" size="40" name="description" value="{$data['description']}" />
				</td>
			</tr>
<if="data['q_cat'] == false">
<tr>
				<td class="pformleft">{ipb.lang['cat_name']}</td>
				<td class="pformright">
					{$data['cat_dropdown']}
				</td>
			</tr>
</if>
<else>
<input type="hidden" name="cat" value="{ipb.input['cat']}" />
</else>

			<tr>
				<td class="pformleft">{ipb.lang['album_public']}</td>
				<td class="pformright">
					<input type="checkbox" name="public" value="1" class="checkbox" {$data['public']} />&nbsp;{ipb.lang['album_public_chk']}
				</td>
			</tr>  
			<tr>
				<td class="formbuttonrow" align="center" colspan="2">
					<input type="submit" value="{$data['type']}" class="button" />
				</td>
			</tr>
		</table>
	</div>
</form>]]></section_content>
			<func_name>album_form</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[</td></tr>
<tr><td colspan="2" align="center">
  <input type="submit" name="formSubmit" value="{ipb.lang['gallery_perms_submit']}" /></form></td></tr>
</table>
<br />]]></section_content>
			<func_name>buddy_perms_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_albums</group_name>
			<section_content><![CDATA[<tr><td class="row2"><b>
	{ipb.lang['gallery_nofriends']}
  		</b></td>
</tr>
</table><br />]]></section_content>
			<func_name>buddy_no_friends</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<p {$alt}><b>$title</b> $text</p>]]></section_content>
			<func_name>image_info_line</func_name>
			<func_data><![CDATA[$title="",$text="",$alt='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<div align='center' style='height:25px'>
 <span style="cursor: pointer;" class="fauxbutton" id="rate_image_{$img}"><a href="#rate_image_{$img}">{ipb.lang['rate_image']}&nbsp;<img src="{ipb.vars['img_url']}/menu_action_down.gif" alt="V" title="Open Menu" border="0"></a></span>
</div>
<script type="text/javascript">
 menu_build_menu( "rate_image_{$img}",
  new Array( "<div style='width:150px;padding:6px;'><form action='{ipb.script_url}&automodule=gallery&cmd=rate' method='POST'>"
  			+'<input type="hidden" name="img" value="{$img}" />'
  			+'<input type="hidden" name="cat" value="{ipb.input['cat']}" />'
			+'<input type="hidden" name="album" value="{ipb.input['album']}" />'
			+'<input type="hidden" name="op" value="dorate" />'
			+'<input type="hidden" name="st" value="{ipb.input['st']}" />'
   			+'<input type="radio" name="rating" id="r5_{$img}" value="5"> &nbsp; <label for="r5_{$img}"><img src="{ipb.vars['img_url']}/rating_5.gif" border="0" alt="XXXXX" /></label><br />'
   			+'<input type="radio" name="rating" id="r4_{$img}" value="4"> &nbsp; <label for="r4_{$img}"><img src="{ipb.vars['img_url']}/rating_4.gif" border="0" alt="XXXX" /></label><br />'
   			+'<input type="radio" name="rating" id="r3_{$img}" value="3"> &nbsp; <label for="r3_{$img}"><img src="{ipb.vars['img_url']}/rating_3.gif" border="0" alt="XXX" /></label><br />'
   			+'<input type="radio" name="rating" id="r2_{$img}" value="2"> &nbsp; <label for="r2_{$img}"><img src="{ipb.vars['img_url']}/rating_2.gif" border="0" alt="XX" /></label><br />'
   			+'<input type="radio" name="rating" id="r1_{$img}" value="1"> &nbsp; <label for="r1_{$img}"><img src="{ipb.vars['img_url']}/rating_1.gif" border="0" alt="X" /></label><br />'
   			+"<div align='center'><input type='submit' value=' {ipb.lang['rateit']} ' /></div>"
   			+"</form></div>"
		    ) );
</script>]]></section_content>
			<func_name>rate_form</func_name>
			<func_data><![CDATA[$img='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<table cellspacing="1" width="100%">]]></section_content>
			<func_name>container_row_top</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[</table>]]></section_content>
			<func_name>container_row_bottom</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_imagelisting</group_name>
			<section_content><![CDATA[<tr>
	<td class="row1" align="center">
		<b>{ipb.lang[$msg]}</b>
	</td>
</tr>]]></section_content>
			<func_name>basic_row</func_name>
			<func_data><![CDATA[$msg=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_search</group_name>
			<section_content><![CDATA[<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {ipb.lang['search_results']}</div>
<table width="100%" class="ipbtable" cellpadding="2">
<tr>
  <th width="100%">&nbsp;</th>
</tr>]]></section_content>
			<func_name>search_top</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<div class='ipbtable'>
	<a href="{$approve_url}">{$num}</a></div>]]></section_content>
			<func_name>approve_images_line</func_name>
			<func_data><![CDATA[$num="", $approve_url=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<script type="text/javascript" src='jscripts/ipb_galleryjs.js'></script>
<script type='text/javascript'>
//<!#^#|CDATA|
// Resize thumb divs...
var use_thumbs = parseInt("{ipb.vars['gallery_create_thumbs']}");
var thumbs_x   = parseInt("{ipb.vars['gallery_thumb_width']}");
var thumbs_y   = parseInt("{ipb.vars['gallery_thumb_height']}");

html_resize_thumb_divs( use_thumbs, thumbs_x, thumbs_y );
//|#^#]>
</script>]]></section_content>
			<func_name>cat_page_end</func_name>
			<func_data></func_data>
		</template>

		<template>
			<group_name>skin_gallery_favs</group_name>
			<section_content><![CDATA[<tr> 
			<td class="formbuttonrow" colspan="{$span}" align="center">{ipb.lang['showing']}</td>
		</tr>
	</table>
<script type="text/javascript" src='jscripts/ipb_galleryjs.js'></script>
<script type="text/javascript">
//<!#^#|CDATA|
// Resize thumb divs...
var use_thumbs = parseInt("{ipb.vars['gallery_create_thumbs']}");
var thumbs_x   = parseInt("{ipb.vars['gallery_thumb_width']}");
var thumbs_y   = parseInt("{ipb.vars['gallery_thumb_height']}");
html_resize_thumb_divs( use_thumbs, thumbs_x, thumbs_y );
//|#^#]>
</script>]]></section_content>
			<func_name>fav_view_end</func_name>
			<func_data><![CDATA[$span=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<a href="{ipb.script_url}automodule=gallery&cmd=editcomment&comment={$pid}&img={ipb.input['img']}"><{P_EDIT}></a>]]></section_content>
			<func_name>button_edit</func_name>
			<func_data><![CDATA[$pid='',$img='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[</div>       
<table cellspacing="1" class="ipbtable" width="100%">
	<tr>
		<td width="20%" nowrap="nowrap">{$data['SHOW_PAGES']}</td>
	</tr>
</table>]]></section_content>
			<func_name>CommentFooter</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_portal</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{ipb.lang['gallery_random']}</div>
	<div class='tablepad' align='center'>{$image}</div>
</div>]]></section_content>
			<func_name>tmpl_random_image_wrap</func_name>
			<func_data><![CDATA[$image=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_favs</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{ipb.lang[$type.'_title']}</div>
<p>{ipb.lang[$type.'_text']}</p>]]></section_content>
			<func_name>error</func_name>
			<func_data><![CDATA[$type=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[<form action="{ipb.script_url}" method="post" name="jumpmenu">
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="user" />
	<input type="hidden" name="user" value="{ipb.input['user']}" />
	<input type="hidden" name="op" value="ipbimages" />
	<input type="hidden" name="s" value="{ipb.session_id}" />
	<p>{ipb.lang['filter_forum']}
	<select name="f">
		<option value="">{ipb.lang['no_forum_filter']}</option>
		{$options}
	</select>&nbsp;
	<input type="submit" value="{ipb.lang['jmp_go']}" /></p>
</form>]]></section_content>
			<func_name>forum_filter</func_name>
			<func_data><![CDATA[$options=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr> 
			<td class="catend" colspan="5"><!-- no content --></td>
		</tr>
	</table>
</div>
<br />]]></section_content>
			<func_name>legacy_cat_end</func_name>
			<func_data><![CDATA[$in=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr>
<td class='formsubtitle' colspan='2'>{$totals}</td></tr>
		<tr>
			<td class="row1" width="1%"><{F_ACTIVE}></td>
			<td class="row2">{$str['reg']} {$str['guests']} {$str['anon']}
                           <div class="thin">{$online}</div>
            </td>
		</tr>

		<tr>
			<td class="catend" colspan="2"><!-- no content --></td>
		</tr>
	</table>
</div>
<br />]]></section_content>
			<func_name>active_users</func_name>
			<func_data><![CDATA[$online="",$totals="", $str=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<tr> 
			<td align="center" class="row2" width="1%" valign="middle">{$data['img_new_post']}</td>
			<td class="row2" valign="middle"><b><a href="{$data['link']}">{$data['name']}</a></b><br /><span class="forumdesc">{$data['description']}{$data['desc_subcats']}<br /><i>{$data['approve_images']}</i></td>
			<td align="center" class="row1" valign="middle"><b>{$data['images']}</b></td>
			<td align="center" class="row1" valign="middle"><b>{$data['comments']}</b></td>
			<td class="row1" nowrap="nowrap" valign="middle">{$data['last_pic']} <span><br /><b>{ipb.lang['by']}:</b> {$data['last_poster']}<br /><b>{ipb.lang['on']}</b>&nbsp;{$data['date']}</span></td>
		</tr>]]></section_content>
			<func_name>legacy_cat_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_user</group_name>
			<section_content><![CDATA[<tr> 
			<td class="formbuttonrow" colspan="{$span}" align="center">&nbsp;{ipb.lang['showing']}</td>
		</tr>
		
	</table>
</div>
<table cellspacing="1" width="100%" align="left">
		<tr>
			<td nowrap="nowrap">{$info}</td>
		</tr>
	</table>
<script type="text/javascript" src='jscripts/ipb_galleryjs.js'></script>
<script type='text/javascript'>
//<!#^#|CDATA|
// Resize thumb divs...
var use_thumbs = parseInt("{ipb.vars['gallery_create_thumbs']}");
var thumbs_x   = parseInt("{ipb.vars['gallery_thumb_width']}");
var thumbs_y   = parseInt("{ipb.vars['gallery_thumb_height']}");
html_resize_thumb_divs( use_thumbs, thumbs_x, thumbs_y );
//|#^#]>
</script>]]></section_content>
			<func_name>img_view_end</func_name>
			<func_data><![CDATA[$span="", $info=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_post</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_editor.js"></script>
<script type="text/javascript" src="jscripts/ipb_editor_std.js"></script>

<form method="post" id='postingform' action="?automodule=gallery" name="REPLIER" enctype="multipart/form-data" onsubmit='return ValidateForm()'>
	<input type="hidden" name="cmd" value="editimg" />
	<input type="hidden" name="op" value="doedit" />
	<input type="hidden" name="cat" value="{$cat}"  />
	<input type="hidden" name="img" value="{ipb.input['img']}" />
	<div class="borderwrap">
	<table cellspacing="0" width="100%" class='ipbtable'>
		<tr>
			<td class="maintitle" colspan="2"><{CAT_IMG}>&nbsp;{ipb.lang[$data]}</td>
		</tr>]]></section_content>
			<func_name>edit_form_top</func_name>
			<func_data><![CDATA[$data="",$cat=""]]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_comments</group_name>
			<section_content><![CDATA[<a href='javascript:delete_img("{ipb.script_url}automodule=gallery&cmd=delcomment&comment={$pid}&img={ipb.input['img']}")'><{P_DELETE}></a>]]></section_content>
			<func_name>button_delete</func_name>
			<func_data><![CDATA[$pid='',$img='']]></func_data>
		</template>

		<template>
			<group_name>skin_gallery_cats</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">
		<p><{CAT_IMG}>&nbsp;{ipb.lang['galleries']}</a></p>
	</div>
	<table class='ipbtable' cellspacing="1">
		<tr> 
			<th colspan="2" width="66%">{ipb.lang['cat_name']}</th>
			<th align="center" width="7%">{ipb.lang['images']}</th>
			<th align="center" width="7%">{ipb.lang['comments']}</th>
			<th width="35%">{ipb.lang['last_post_info']}</th>
		</tr>]]></section_content>
			<func_name>legacy_cat_header</func_name>
			<func_data><![CDATA[$in=""]]></func_data>
		</template>
	</templategroup>

</templateexport>