('5a35d153fc8fb4c5236d0bd6888500e0','skin_ucp','class skin_ucp_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:aboutme:desc::trigger:>\n//===========================================================================\nfunction aboutme($preview_about_me=\"\",$editor_html=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form id=\'postingform\' onsubmit=\'return ValidateForm()\' action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=about_me_save\\\" method=\\\"post\\\" name=\\\"REPLIER\\\">\n<input type=\'hidden\' name=\'key\' value=\'{$key}\' />\n<input type=\'hidden\' name=\'removeattachid\' value=\'0\' />\n <div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cp_current_aboutme\']}</div>\n <div class=\\\"post1\\\" style=\\\"padding: 5px;\\\">{$preview_about_me}</div>\n <div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cp_edit_aboutme\']}</div>\n <div class=\'row1\' align=\'center\' style=\'padding:3px\'>{$editor_html}</div>\n <div class=\'formsubtitle\' align=\'center\'><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cp_submit_aboutme\']}\\\" /></div>\n</form>\n<br clear=\'all\' />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:attachments_row:desc::trigger:>\n//===========================================================================\nfunction attachments_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr id=\\\"{$data[\'attach_id\']}\\\">\n		<td align=\\\"center\\\" class=\\\"row1\\\"><img src=\\\"{$this->ipsclass->vars[\'mime_img\']}/{$data[\'image\']}\\\" alt=\\\"{$this->ipsclass->lang[\'attached_file\']}\\\" /></td>\n		<td class=\\\"row2\\\">\n			<a href=\\\"{$this->ipsclass->base_url}act=Attach&amp;type={$data[\'_type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$data[\'attach_file\']}\\\" target=\\\"_blank\\\">{$data[\'short_name\']}</a>\n			<div class=\\\"desc\\\">( {$this->ipsclass->lang[\'attach_hits\']}: {$data[\'attach_hits\']} )</div>\n		</td>\n		<td align=\\\"center\\\" class=\\\"row1\\\">{$data[\'real_size\']}</td>\n		<td class=\\\"row2\\\">\n\" . (($data[\'attach_rel_id\'] > 0 AND $data[\'attach_rel_module\'] == \'post\') ? (\"\n<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;view=findpost&amp;p={$data[\'attach_rel_id\']}\\\">{$data[\'title\']}</a>\n\") : (\"\n{$data[\'title\']}\n\")) . \"\n				<br />\n			<span class=\\\"desc\\\">{$data[\'attach_date\']}</span>\n		</td>\n		<td class=\\\"row2\\\" align=\\\"center\\\"><input type=\\\"checkbox\\\" name=\\\"attach_{$data[\'attach_id\']}\\\" value=\\\"1\\\" class=\\\"checkbox\\\" /></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:attachments_top:desc::trigger:>\n//===========================================================================\nfunction attachments_top($info=\"\",$pages=\"\",$attach_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'m_attach\']}</div>\n\" . (($info[\'has_limit\'] == 1) ? (\"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td valign=\\\"middle\\\">\n				<!-- LEFT -->\n				<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					<tr>\n						<td class=\\\"row1\\\" colspan=\\\"3\\\">{$this->ipsclass->lang[\'attach_space_used\']}</td>\n					</tr>\n					<tr>\n						<td valign=\\\"middle\\\" class=\\\"row1\\\" colspan=\\\"3\\\" width=\'100%\'><{BAR_LEFT}><img src=\\\"{$this->ipsclass->vars[\'img_url\']}/bar.gif\\\" width=\\\"{$info[\'img_width\']}\\\" height=\\\"11\\\" align=\\\"middle\\\" alt=\\\"\\\" /><{BAR_RIGHT}></td>\n					</tr>\n					<tr>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" valign=\\\"middle\\\">0%</td>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" align=\\\"center\\\" valign=\\\"middle\\\">50%</td>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" align=\\\"right\\\" valign=\\\"middle\\\">100%</td>\n					</tr>\n				</table>\n			</td>\n			\n			<!-- RIGHT -->\n			<td align=\\\"right\\\" valign=\\\"bottom\\\">$pages<br /><br />{$this->ipsclass->lang[\'attach_space_count\']}</td>\n		</tr>\n	</table>\n\") : (\"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td>\n			<!-- LEFT -->\n			{$this->ipsclass->lang[\'attach_space_used\']}\n		</td>\n		<td align=\\\"right\\\">\n			<!-- RIGHT -->\n			$pages\n		</td>\n	</tr>\n</table>\n\")) . \"\n<!-- ATTACHMENTS TABLE -->\n  \n<form action=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=attach&amp;sort={$this->ipsclass->input[\'sort\']}\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th width=\\\"2%\\\">&nbsp;</th>\n			<th width=\\\"35%\\\"><b>{$this->ipsclass->lang[\'attach_title\']}</b></th>\n			<th width=\\\"5%\\\"><b>{$this->ipsclass->lang[\'attach_hsize\']}</b></th>\n			<th width=\\\"27%\\\"><b>{$this->ipsclass->lang[\'attach_topic\']}</b></th>\n			<th width=\\\"5%\\\" align=\\\"center\\\" style=\'padding:1px;\'><input name=\\\"allbox\\\" type=\\\"checkbox\\\" class=\'checkbox\' value=\\\"Check All\\\" onclick=\\\"InboxCheckAll();\\\" /></th>\n		</tr>\n\" . (($attach_html != \"\") ? (\"\n{$attach_html}\n		<tr>\n			<td colspan=\\\"5\\\" align=\\\"right\\\" class=\\\"formbuttonrow\\\"><input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'attach_delete\']}\\\" class=\\\"button\\\" /></td>\n		</tr>\n\") : (\"\n<tr>\n			<td colspan=\\\"5\\\" align=\\\"center\\\" class=\'row2\'><strong>{$this->ipsclass->lang[\'splash_noattach\']}</strong></td>\n		</tr>\n\")) . \"\n	</table>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_autosize:desc::trigger:>\n//===========================================================================\nfunction avatar_autosize() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\">&nbsp;</td>\n		<td class=\\\"pformright\\\"><b>{$this->ipsclass->lang[\'av_autosize\']}</b><br />({$this->ipsclass->lang[\'av_as_desc\']})</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_external_title:desc::trigger:>\n//===========================================================================\nfunction avatar_external_title() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'avatar_url_title\']}</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_blank_row:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_blank_row() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td>&nbsp;</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_cell_row:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_cell_row($img=\"\",$txt=\"\",$form=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td align=\\\"center\\\"><img src=\\\"style_avatars{$img}\\\" alt=\\\"txt\\\" /><br /><input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"avatar\\\" value=\\\"$form\\\" id=\\\"$form\\\" />&nbsp;<b><label for=\\\"$form\\\">$txt</label></b></td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_end_row:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_end_row() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_end_table:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_end_table() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n<div align=\\\"center\\\" class=\\\"subtitle\\\">\n	<input type=\\\"submit\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'av_gall_submit\']}\\\" />\n	&nbsp;&nbsp;&nbsp;<input type=\\\"button\\\" class=\'button\' name=\\\"remove\\\" onclick=\\\"self.location=\'{$this->ipsclass->base_url}act=UserCP&amp;CODE=24\';\\\" value=\\\"{$this->ipsclass->lang[\'av_gall_cancel\']}\\\" />\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_start_row:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_start_row() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_start_table:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_start_table($title=\"\",$av_gals=\"\",$current_folder=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'av_gallery_title\']} $title</div>\n<form action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=getgallery\\\" method=\\\"post\\\">\n	<div id=\\\"padandcenter\\\"><b>{$this->ipsclass->lang[\'av_gall_jump\']}</b>&nbsp;$av_gals&nbsp;&nbsp;<input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'av_go_go\']}\\\" name=\\\"submit\\\" /></div>\n</form>\n<form action=\\\"{$this->ipsclass->base_url}auth_key=$key\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"setinternalavatar\\\" />\n<input type=\\\"hidden\\\" name=\\\"current_folder\\\" value=\\\"$current_folder\\\" />\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_limits:desc::trigger:>\n//===========================================================================\nfunction avatar_limits() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'av_settings\']}</div>\n	<p>{$this->ipsclass->lang[\'av_text_url\']} {$this->ipsclass->lang[\'av_text_upload\']}<br />{$this->ipsclass->lang[\'av_allowed_files\']}</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_main:desc::trigger:>\n//===========================================================================\nfunction avatar_main($data=\"\",$formextra=\"\",$hidden_field=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nvar url_input      = \\\"{$data[\'current_url_avatar\']}\\\";\nvar remove_pressed = 0;\n	function select_url(){\n		restore_it();\n	}\n	\n	function select_upload(){\n		try{\n			if ( document.creator.url_avatar.value != \\\"\\\" ) {\n				url_input = document.creator.url_avatar.value;\n			}\n			document.creator.url_avatar.value = \\\"\\\";\n		}\n		catch(nourl){\n			return true;\n		}\n	}\n	\n	function restore_it(){\n		if (url_input != \\\"\\\"){\n			document.creator.url_avatar.value = url_input;\n			}\n		}\n	function checkform(){\n		if ( remove_pressed != 1 ){\n			return true;\n		}\n	\n		else{\n			fcheck = confirm(\\\"{$this->ipsclass->lang[\'av_confirm\']}\\\");\n			if ( fcheck == true ){\n				return true;\n			}\n			else{\n				remove_pressed = 0;\n				return false;\n				}\n			}\n	}\n-->\n</script>\n<!--IBF.LIMITS_AVATAR-->\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'av_current\']}</div>\n<div class=\\\"tablepad\\\" align=\\\"center\\\">{$data[\'current_avatar_image\']}<br />{$data[\'current_avatar_type\']} {$data[\'current_avatar_dims\']}</div>\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'avatar_pre_title\']}</div>\n<form action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=getgallery\\\" method=\\\"post\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'av_go_gal\']}</td>\n			<td class=\\\"pformright\\\">{$data[\'avatar_galleries\']}&nbsp;&nbsp;<input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'av_go_go\']}\\\" name=\\\"submit\\\" /></td>\n		</tr>\n	</table>\n</form>\n<form action=\\\"{$this->ipsclass->base_url}auth_key=$key\\\" method=\\\"post\\\" $formextra name=\\\"creator\\\" onsubmit=\\\"return checkform();\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"25\\\" />\n$hidden_field\n<!--IBF.EXTERNAL_TITLE-->\n<!--IBF.URL_AVATAR-->\n<!--IBF.UPLOAD_AVATAR-->\n<!--IPB.SIZE-->\n	<div align=\\\"center\\\" class=\\\"formsubtitle\\\">\n		<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'av_update\']}\\\" class=\'button\' />\n		&nbsp;&nbsp;&nbsp;<input type=\\\"submit\\\" name=\\\"remove\\\" onclick=\\\"remove_pressed=1;\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'av_remove\']}\\\" />\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_mansize:desc::trigger:>\n//===========================================================================\nfunction avatar_mansize() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\">&nbsp;</td>\n		<td class=\\\"pformright\\\"><b>{$this->ipsclass->lang[\'width\']}</b>&nbsp;<input type=\\\"text\\\" size=\\\"3\\\" name=\\\"man_width\\\" />&nbsp;&nbsp;<b>{$this->ipsclass->lang[\'height\']}</b>&nbsp;<input type=\\\"text\\\" size=\\\"3\\\" name=\\\"man_height\\\" /></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_upload_field:desc::trigger:>\n//===========================================================================\nfunction avatar_upload_field() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'av_upload\']}</td>\n		<td class=\\\"pformright\\\"><input type=\\\"file\\\" size=\\\"30\\\" name=\\\"upload_avatar\\\" onfocus=\\\"select_upload()\\\" onclick=\\\"select_upload()\\\" /></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_url_field:desc::trigger:>\n//===========================================================================\nfunction avatar_url_field($avatar=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'av_url\']}</td>\n		<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"80\\\" name=\\\"url_avatar\\\" value=\\\"$avatar\\\" onfocus=\\\"select_url()\\\" />&nbsp;&nbsp;(<a href=\\\"javascript:restore_it()\\\">{$this->ipsclass->lang[\'pp_restore\']}</a>)</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:CP_end:desc::trigger:>\n//===========================================================================\nfunction CP_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\n		</td>\n	</tr>\n</table>\n	<!-- end main CP area -->\n	<br style=\\\"clear: both;\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:dead_section:desc::trigger:>\n//===========================================================================\nfunction dead_section() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'dead_section_title\']}</div>\n<p>\n	{$this->ipsclass->lang[\'dead_section_text\']}\n</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:email:desc::trigger:>\n//===========================================================================\nfunction email($Profile=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}auth_key={$Profile[\'key\']}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"03\\\" />\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'privacy_settings\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\'row1\' align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\'  type=\\\"checkbox\\\" name=\\\"hide_email\\\" value=\\\"1\\\" {$Profile[\'hide_email\']} /></td>\n		<td class=\'row2\' width=\\\"100%\\\">{$this->ipsclass->lang[\'hide_email\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"admin_send\\\" value=\\\"1\\\" {$Profile[\'allow_admin_mails\']} /></td>\n		<td class=\'row2\'  width=\\\"100%\\\">{$this->ipsclass->lang[\'admin_send\']}</td>\n	</tr>\n</table>\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'board_prefs\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\'row1\'align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"send_full_msg\\\" value=\\\"1\\\" {$Profile[\'email_full\']} /></td>\n		<td class=\'row2\'  width=\\\"100%\\\">{$this->ipsclass->lang[\'send_full_msg\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"pm_reminder\\\" value=\\\"1\\\" {$Profile[\'email_pm\']} /></td>\n		<td class=\'row2\'  width=\\\"100%\\\">{$this->ipsclass->lang[\'pm_reminder\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"auto_track\\\" value=\\\"1\\\" {$Profile[\'auto_track\']} /></td>\n		<td class=\'row2\'  width=\\\"100%\\\">\n			{$this->ipsclass->lang[\'auto_track\']}\n				<select name=\\\"trackchoice\\\">\n					<option value=\\\"none\\\">{$this->ipsclass->lang[\'subs_none_title\']}</option>\n					<option value=\\\"immediate\\\">{$this->ipsclass->lang[\'subs_immediate\']}</option>\n					<option value=\\\"delayed\\\">{$this->ipsclass->lang[\'subs_delayed\']}</option>\n					<option value=\\\"daily\\\">{$this->ipsclass->lang[\'subs_daily\']}</option>\n					<option value=\\\"weekly\\\">{$this->ipsclass->lang[\'subs_weekly\']}</option>\n				</select>\n					<br />\n			{$this->ipsclass->lang[\'auto_track_desc\']}\n		</td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'submit_email\']}\\\" /></td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:email_change:desc::trigger:>\n//===========================================================================\nfunction email_change($txt=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\nvar msg = \\\"$msg\\\";\n	if ( msg != \\\"\\\"){\n		alert(msg);\n	}\n</script>\n<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"form1\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"09\\\" />\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'change_email_title\']}</div>\n<p>\n	$txt\n</p>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\'row1\' width=\\\"40%\\\"><b>{$this->ipsclass->lang[\'ce_new_email\']}</b></td>\n		<td class=\'row2\'><input type=\\\"text\\\" name=\\\"in_email_1\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\'row1\'><b>{$this->ipsclass->lang[\'ce_new_email2\']}</b></td>\n		<td class=\'row2\'><input type=\\\"text\\\" name=\\\"in_email_2\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\'row1\'><b>{$this->ipsclass->lang[\'ec_passy\']}</b></td>\n		<td class=\'row2\'><input type=\\\"password\\\" name=\\\"password\\\" value=\\\"\\\" /></td>\n	</tr>\n</table>\n<!--ANTIBOT-->\n	<div class=\\\"formbuttonrow\\\" style=\\\"text-align: center;\\\"><input type=\\\"submit\\\" class=\'button\' name=\\\"change_email\\\" value=\\\"{$this->ipsclass->lang[\'account_email_submit\']}\\\" /></div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:email_change_gd:desc::trigger:>\n//===========================================================================\nfunction email_change_gd($regid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'ras_title\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"40%\\\">{$this->ipsclass->lang[\'ras_numbers\']}</td>\n		<td>\n			<input type=\\\"hidden\\\" name=\\\"regid\\\" id=\'regid\' value=\\\"$regid\\\" />\n			<img id=\'gd-antispam\' src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}\\\" alt=\\\"Code Bit\\\" title=\\\"{$this->ipsclass->lang[\'gbl_gd_reload\']}\\\" />\n		</td>\n	</tr>\n	<tr>\n		<td width=\\\"40%\\\">{$this->ipsclass->lang[\'ras_text\']}</td>\n		<td><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"32\\\" name=\\\"reg_code\\\" /></td>\n	</tr>\n</table>\n<script type=\'text/javascript\'>\n	init_gd_image();\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:email_change_img:desc::trigger:>\n//===========================================================================\nfunction email_change_img($regid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'ras_title\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\'row1\' width=\\\"40%\\\">{$this->ipsclass->lang[\'ras_numbers\']}</td>\n		<td class=\'row2\'>\n			<input type=\\\"hidden\\\" name=\\\"regid\\\" value=\\\"$regid\\\" />\n				<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=1\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=2\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=3\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=4\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=5\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=6\\\" alt=\\\"Code Bit\\\" />\n		</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' width=\\\"40%\\\">{$this->ipsclass->lang[\'ras_text\']}</td>\n		<td class=\'row2\'><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"32\\\" name=\\\"reg_code\\\" /></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_dropdown:desc::trigger:>\n//===========================================================================\nfunction field_dropdown($name=\"\",$options=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<select name=\\\"$name\\\">\n	$options\n</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_entry:desc::trigger:>\n//===========================================================================\nfunction field_entry($title=\"\",$desc=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\' valign=\'top\'>\n		<b>$title</b><br />$desc\n	</td>\n	<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n		$content\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_textarea:desc::trigger:>\n//===========================================================================\nfunction field_textarea($name=\"\",$value=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<textarea cols=\\\"60\\\" rows=\\\"5\\\" wrap=\\\"soft\\\" name=\\\"$name\\\">$value</textarea>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_textinput:desc::trigger:>\n//===========================================================================\nfunction field_textinput($name=\"\",$value=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input type=\\\"text\\\" size=\\\"50\\\" name=\\\"$name\\\" value=\'$value\' />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_jump:desc::trigger:>\n//===========================================================================\nfunction forum_jump($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n<div align=\\\"right\\\" class=\\\"row1\\\" style=\\\"padding: 5px;\\\">{$data}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_subs_end:desc::trigger:>\n//===========================================================================\nfunction forum_subs_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td align=\\\"right\\\" class=\\\"formbuttonrow\\\" valign=\\\"middle\\\" colspan=\\\"6\\\">\n			<select name=\\\"trackchoice\\\">\n				<option value=\\\"unsubscribe\\\">{$this->ipsclass->lang[\'subs_delete\']}</option>\n				<option value=\\\"none\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_none_title\']}</option>\n				<option value=\\\"immediate\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_immediate\']}</option>\n				<option value=\\\"delayed\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_delayed\']}</option>\n				<option value=\\\"daily\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_daily\']}</option>\n				<option value=\\\"weekly\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_weekly\']}</option>\n			</select>&nbsp;&nbsp;\n			<input type=\\\"submit\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'with_selected\']}\\\" />\n		</td>\n	</tr>\n</table>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_subs_header:desc::trigger:>\n//===========================================================================\nfunction forum_subs_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n<script type=\\\"text/javascript\\\">\n<!--\n	function CheckAll(cb){\n		var fmobj = document.mutliact;\n			for (var i=0;i<fmobj.elements.length;i++){\n				var e = fmobj.elements[i];\n				if ((e.name != \\\"allbox\\\") && (e.type==\\\"checkbox\\\") && (!e.disabled)){\n				e.checked = fmobj.allbox.checked;\n				}\n			}\n	}\n	function CheckCheckAll(cb){	\n		var fmobj = document.mutliact;\n		var TotalBoxes = 0;\n		var TotalOn = 0;\n			for (var i=0;i<fmobj.elements.length;i++){\n		  		var e = fmobj.elements[i];\n		 		 if ((e.name != \\\"allbox\\\") && (e.type==\\\"checkbox\\\")){\n			 		 TotalBoxes++;\n			 		 if (e.checked){\n				 		 TotalOn++;\n				 	}\n				 }\n			}\n			\n			if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}\n			else{\n				fmobj.allbox.checked=false;\n			}\n	}\n-->\n</script>\n<form action=\\\"{$this->ipsclass->base_url}\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"51\\\" />\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'forum_subs_header\']}</div>\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th width=\\\"5%\\\">&nbsp;</th>\n			<th width=\\\"50%\\\">{$this->ipsclass->lang[\'ft_forum\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\">{$this->ipsclass->lang[\'ft_topics\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\">{$this->ipsclass->lang[\'ft_posts\']}</th>\n			<th align=\\\"center\\\" width=\\\"35%\\\">{$this->ipsclass->lang[\'ft_last_post\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\" style=\'padding: 1px;\'><input name=\\\"allbox\\\" class=\'checkbox\' type=\\\"checkbox\\\" value=\\\"Check All\\\" onclick=\\\"CheckAll();\\\" /></th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_subs_none:desc::trigger:>\n//===========================================================================\nfunction forum_subs_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"row1\\\" align=\\\"center\\\" colspan=\\\"6\\\">{$this->ipsclass->lang[\'forum_subs_none\']}</td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_subs_row:desc::trigger:>\n//===========================================================================\nfunction forum_subs_row($data=\"\",$type=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"row1\\\" align=\\\"center\\\" width=\\\"5%\\\">{$data[\'folder_icon\']}</td>\n		<td class=\\\"row1\\\">\n			<b><a href=\\\"{$this->ipsclass->base_url}act=SF&amp;f={$data[\'id\']}\\\">{$data[\'name\']}</a></b>\n			<div class=\\\"desc\\\">\n				{$data[\'description\']}\n					<br />\n				{$this->ipsclass->lang[\'subs_c_type\']}: {$this->ipsclass->lang[$type]}\n			</div>\n		</td>\n		<td class=\\\"row1\\\" align=\\\"center\\\">{$data[\'topics\']}</td>\n		<td class=\\\"row1\\\" align=\\\"center\\\">{$data[\'posts\']}</td>\n		<td class=\\\"row1\\\">{$data[\'last_post\']}<br />{$this->ipsclass->lang[\'in\']} {$data[\'last_topic\']}<br />{$this->ipsclass->lang[\'by\']} {$data[\'last_poster\']}</td>\n		<td class=\\\"row1\\\" align=\\\"center\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"id-{$data[\'forum_id\']}\\\" value=\\\"yes\\\" /></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:iu_add_new:desc::trigger:>\n//===========================================================================\nfunction iu_add_new() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n</div>\n<br />\n<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_xhr_findnames.js\'></script>\n<div id=\'ipb-get-members\' style=\'border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:252px;display:none;z-index:1\'></div>\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n<tr>\n		<td class=\\\"subtitle\\\">{$this->ipsclass->lang[\'mi5_addem\']}</td>\n	</tr>\n	<tr>\n		<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\'40\' name=\\\"newbox_1\\\" id=\\\"newbox_1\\\" value=\\\"{$this->ipsclass->input[\'newbox_1\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'mi5_edit\']}\\\" /></td>\n	</tr>\n</table>\n</div>\n</form>\n<script type=\\\"text/javascript\\\">\n// INIT find names\ninit_js( \'REPLIER\', \'newbox_1\', \'get-member-names\');\n// Run main loop\nsetTimeout( \'main_loop()\', 10 );\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:iu_populated_row:desc::trigger:>\n//===========================================================================\nfunction iu_populated_row($member=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\'row1\'><b><a href=\\\"{$this->ipsclass->base_url}showuser={$member[\'id\']}\\\">{$member[\'members_display_name\']}</a></b></td>\n		<td class=\'row2\'>{$member[\'g_title\']}</td>\n		<td class=\'row1\'>{$member[\'posts\']}</td>\n		<td class=\'row2\'><a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignoreremove&amp;id={$member[\'id\']}\\\">{$this->ipsclass->lang[\'mi5_remove\']}</a></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:iu_start:desc::trigger:>\n//===========================================================================\nfunction iu_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REPLIER\\\" id=\'REPLIER\'>\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"ignoreadd\\\" />\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'mi5_title\']}</div>\n<p>{$this->ipsclass->lang[\'mi5_text\']}</p>\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th width=\\\"30%\\\">{$this->ipsclass->lang[\'mi5_name\']}</th>\n			<th width=\\\"30%\\\">{$this->ipsclass->lang[\'mi5_group\']}</th>\n			<th width=\\\"20%\\\">{$this->ipsclass->lang[\'mi5_posts\']}</th>\n			<th width=\\\"20%\\\">&nbsp;</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Menu_bar:desc::trigger:>\n//===========================================================================\nfunction Menu_bar($component_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--\nTABLE TO FIX IE/6 ISSUE\nThe one where 23% margin + 100% table = 123% in IE6 o_O\n-->\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_pm.js\\\"></script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_usercp.js\\\"></script>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td valign=\\\"top\\\" class=\\\"nopad\\\" width=\\\"25%\\\">\n			<div id=\\\"ucpmenu\\\">\n			<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'tt_menu\']}</div>\n	 		<!-- Messenger Links -->\n\" . (($this->ipsclass->member[\'g_use_pm\'] == 1 AND $this->ipsclass->member[\'members_disable_pm\'] == 0) ? (\"\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'m_messenger\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=04\\\"><b>{$this->ipsclass->lang[\'mess_new\']}</b></a><br />\n				<!--IBF.FOLDER_LINKS-->\n				&nbsp;&nbsp; <{MSG_FOLDER}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=20\\\">{$this->ipsclass->lang[\'mess_saved\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=delete\\\">{$this->ipsclass->lang[\'mi_prune_msg\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=07\\\">{$this->ipsclass->lang[\'mess_folders\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=02\\\">{$this->ipsclass->lang[\'mess_contact\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=14\\\">{$this->ipsclass->lang[\'mess_archive\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=30\\\">{$this->ipsclass->lang[\'mess_tracker\']}</a><br />\n			</p>\n	 	<!-- End Messenger -->\n\") : (\"\")) . \"\n\" . (($component_html != \"\") ? (\"\n$component_html\n\") : (\"\")) . \"\n        \n		<!-- Topic Tracker -->\n			<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'m_tracker\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=26\\\">{$this->ipsclass->lang[\'m_view_subs\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=50\\\">{$this->ipsclass->lang[\'m_view_forum\']}</a><br />\n			</p>\n		<!-- Profile -->\n			<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'m_personal\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=01\\\">{$this->ipsclass->lang[\'m_contact_info\']}</a><br />\n				\" . ((! $this->ipsclass->vars[\'pp_show_classic\']) ? (\"\n					<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=personal_portal_form\\\">{$this->ipsclass->lang[\'m_personal_portal\']}</a><br />\n				\") : (\"\")) . \"\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=22\\\">{$this->ipsclass->lang[\'m_sig_info\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=24\\\">{$this->ipsclass->lang[\'m_avatar_info\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=photo\\\">{$this->ipsclass->lang[\'m_change_photo\']}</a><br />\n				\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1 AND $this->ipsclass->member[\'g_dname_changes\'] > 0) ? (\"\n					<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=dname_start\\\">{$this->ipsclass->lang[\'m_dname_change\']}</a>\n				\") : (\"\")) . \"\n			</p>\n		<!-- Options -->\n			<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'m_options\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=paysubs&amp;CODE=index\\\">{$this->ipsclass->lang[\'new_sub_link\']}</a><br />\n				<!--IBF.OPTION_LINKS-->\n				\" . (($this->ipsclass->member[\'g_attach_max\'] != -1) ? (\"\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=attach\\\">{$this->ipsclass->lang[\'m_attach\']}</a><br />\n				\") : (\"\")) . \"\n				\" . ((! $this->ipsclass->vars[\'pp_show_classic\']) ? (\"\n					<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=manage_friends\\\">{$this->ipsclass->lang[\'m_manage_friends\']}</a><br />\n				\") : (\"\")) . \"\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignore\\\">{$this->ipsclass->lang[\'m_ignore_users\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=02\\\">{$this->ipsclass->lang[\'m_email_opt\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=04\\\">{$this->ipsclass->lang[\'m_board_opt\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=08\\\">{$this->ipsclass->lang[\'m_email_change\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=28\\\">{$this->ipsclass->lang[\'m_passy_opt\']}</a>\n			</p>\n			\" . (($this->ipsclass->member[\'g_is_supmod\'] == 1) ? (\"\n			<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'menu_title_mod\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=iptool\\\">{$this->ipsclass->lang[\'menu_ipsearch\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=memtool\\\">{$this->ipsclass->lang[\'menu_memsearch\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=announce_start\\\">{$this->ipsclass->lang[\'menu_announcements\']}</a>\n			</p>\n			\") : (\"\")) . \"\n		</div>\n		</td>\n		<td class=\\\"nopad\\\" width=\\\"1%\\\"><!-- --></td>\n		<!-- Start main CP area -->\n		<td valign=\\\"top\\\" class=\\\"nopad\\\" width=\\\"75%\\\">\n			<div id=\\\"ucpcontent\\\">\n			<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'welcome\']}</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:menu_bar_msg_folder_link:desc::trigger:>\n//===========================================================================\nfunction menu_bar_msg_folder_link($id=\"\",$real=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;&nbsp; <{MSG_FOLDER}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID=$id\\\">$real</a><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:menu_bar_new_category:desc::trigger:>\n//===========================================================================\nfunction menu_bar_new_category($title=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$title}</div>\n			<p>\n				$content\n			</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:menu_bar_new_link:desc::trigger:>\n//===========================================================================\nfunction menu_bar_new_link($url=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<{ITEM_START}> <a href=\\\"$url\\\">$name</a><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_find_user:desc::trigger:>\n//===========================================================================\nfunction mod_find_user($msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form name=\\\"ibform\\\" action=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=domemtool\\\" method=\\\"post\\\">\n\" . (($msg) ? (\"\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'ipm_title\']}</div>\n<p>\n	$msg\n</p>\n<br />\n\") : (\"\")) . \"\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'cp_edit_user\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td width=\\\"40%\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_find_user\']}</td>\n			<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\\\"40\\\" name=\\\"name\\\" value=\\\"{$this->ipsclass->input[\'name\']}\\\" /></td>\n		</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cp_find_submit\']}\\\" /></td>\n	</tr>\n	</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_ip_member_results:desc::trigger:>\n//===========================================================================\nfunction mod_ip_member_results($pages=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<div class=\\\"borderwrapm\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<th width=\\\"20%\\\">{$this->ipsclass->lang[\'ipm_name\']}</th>\n				<th width=\\\"20%\\\">{$this->ipsclass->lang[\'ipm_ip\']}</th>\n				<th width=\\\"10%\\\">{$this->ipsclass->lang[\'ipm_posts\']}</th>\n				<th width=\\\"15%\\\">{$this->ipsclass->lang[\'ipm_reg\']}</th>\n				<th width=\\\"15%\\\">{$this->ipsclass->lang[\'ipm_group\']}</th>\n				<th width=\\\"20%\\\">{$this->ipsclass->lang[\'ipm_options\']}</th>\n			</tr>\n			{$content}\n		</table>\n	</div>\n	<div>$pages</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_ip_member_row:desc::trigger:>\n//===========================================================================\nfunction mod_ip_member_row($row=\"\",$auth_key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"row1\\\"><a href=\\\"{$this->ipsclass->base_url}showuser={$row[\'id\']}\\\">{$row[\'members_display_name\']}</a></td>\n	<td class=\\\"row2\\\">{$row[\'ip_address\']}</td>\n	<td class=\\\"row1\\\">{$row[\'posts\']}</td>\n	<td class=\\\"row2\\\">{$row[\'joined\']}</td>\n	<td class=\\\"row1\\\">{$row[\'groupname\']}</td>\n	<td class=\\\"row2\\\" align=\\\"center\\\"><a href=\\\"{$this->ipsclass->base_url}act=mod&amp;CODE=editmember&amp;mid={$row[\'id\']}&amp;auth_key=$auth_key\\\">{$this->ipsclass->lang[\'ipm_edit\']}</a></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_ip_post_results:desc::trigger:>\n//===========================================================================\nfunction mod_ip_post_results($uid=\"\",$count=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'ipp_found\']} $count\n<br />\n<br />\n<a target=\\\"_blank\\\" href=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=show&amp;searchid=$uid&amp;search_in=posts&amp;result_type=posts\\\">{$this->ipsclass->lang[\'ipp_click\']}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_ip_start_form:desc::trigger:>\n//===========================================================================\nfunction mod_ip_start_form($ip=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form name=\\\"ibform\\\" action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"s\\\" value=\\\"{$this->ipsclass->session_id}\\\" />\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"usercp\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"doiptool\\\" />\n\" . (($msg) ? (\"\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'ipm_title\']}</div>\n<p>\n	$msg\n</p>\n<br />\n\") : (\"\")) . \"\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'menu_ipsearch\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td width=\\\"40%\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'ip_enter\']}</td>\n			<td class=\\\"row2\\\">\n				<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"24\\\" name=\\\"ip\\\" value=\\\"{$ip}\\\" />\n				<select name=\\\"iptool\\\">\n					<option value=\\\"resolve\\\">{$this->ipsclass->lang[\'ip_resolve\']}</option>\n					<option value=\\\"posts\\\">{$this->ipsclass->lang[\'ip_posts\']}</option>\n					<option value=\\\"members\\\">{$this->ipsclass->lang[\'ip_members\']}</option>\n				</select>\n			</td>\n		</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" style=\\\"text-align: center;\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'ip_submit\']}\\\" /></td>\n	</tr>\n	</table>\n</form>\n	<br />\n<div class=\\\"tablepad\\\">\n	{$this->ipsclass->lang[\'ip_desc_text\']}\n	<br /><br />{$this->ipsclass->lang[\'ip_warn_text\']}\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pass_change:desc::trigger:>\n//===========================================================================\nfunction pass_change() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"form1\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"29\\\" />\n<p>{$this->ipsclass->lang[\'pass_change_text\']}</p>\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'account_pass_title\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\'row1\'><b>{$this->ipsclass->lang[\'account_pass_old\']}</b></td>\n		<td class=\'row2\'><input type=\\\"password\\\" name=\\\"current_pass\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\'row1\'><b>{$this->ipsclass->lang[\'account_pass_new\']}</b></td>\n		<td class=\'row2\'><input type=\\\"password\\\" name=\\\"new_pass_1\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\'row1\'><b>{$this->ipsclass->lang[\'account_pass_new2\']}</b></td>\n		<td class=\'row2\'><input type=\\\"password\\\" name=\\\"new_pass_2\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' name=\\\"s_pass\\\" value=\\\"{$this->ipsclass->lang[\'account_pass_submit\']}\\\" /></td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_manage_friends:desc::trigger:>\n//===========================================================================\nfunction personal_manage_friends($friends=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div style=\'padding:6px;\'>\n<fieldset>\n	<legend><strong>{$this->ipsclass->lang[\'pp_friends_manage_title\']}</strong></legend>\n	<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n	<tr>\n		<td class=\\\"row1\\\" style=\'padding:6px;\'>\n			{$this->ipsclass->lang[\'pp_you_have\']} <strong>$friends</strong> {$this->ipsclass->lang[\'pp_pending_approval\']}\n			<br /><a href=\'#\' onclick=\'friends_pop( \\\"&amp;tab=pending\\\"); return false\'>{$this->ipsclass->lang[\'pp_manage_friends_link\']}</a>\n		</td>\n	</tr>\n	</table>\n</fieldset>\n<br />\n<fieldset>\n	<legend><strong>{$this->ipsclass->lang[\'pp_find_friends_title\']}</strong></legend>\n	<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n	<tr>\n		<td class=\\\"row1\\\" style=\'padding:6px;\'>\n			{$this->ipsclass->lang[\'pp_find_friends\']}\n			<br /><a href=\'{$this->ipsclass->base_url}act=members\'>{$this->ipsclass->lang[\'pp_go_memberlist\']}</a>\n		</td>\n	</tr>\n	</table>\n</fieldset>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_panel:desc::trigger:>\n//===========================================================================\nfunction personal_panel($member=array(),$required_output=\'\',$optional_output=\'\',$day=\'\',$mon=\'\',$year=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nvar LocationMax  = \\\"{$this->ipsclass->vars[\'max_location_length\']}\\\";\nvar InterestMax  = \\\"{$this->ipsclass->vars[\'max_interest_length\']}\\\";\n	function CheckLength(Type){\n		LocationLength  = document.theForm.Location.value.length;\n		InterestLength  = document.theForm.Interests.value.length;\n		message  = \\\"\\\";\n			if (Type == \\\"location\\\"){\n				if (LocationMax !=0) {\n					message = \\\"{$this->ipsclass->lang[\'js_location\']}: {$this->ipsclass->lang[\'js_max\']} \\\" + LocationMax + \\\" {$this->ipsclass->lang[\'js_characters\']}.\\\";\n				}\n			else{\n            	message = \\\"\\\";\n            }\n            	alert(message + \\\"  {$this->ipsclass->lang[\'js_used\']} \\\" + LocationLength + \\\" {$this->ipsclass->lang[\'js_so_far\']}.\\\");\n            }\n    		\n            if (Type == \\\"interest\\\"){\n	            if (InterestMax !=0){\n		            message = \\\"{$this->ipsclass->lang[\'js_interests\']}: {$this->ipsclass->lang[\'js_max\']} \\\" + InterestMax + \\\" {$this->ipsclass->lang[\'js_characters\']}.\\\";\n		        }\n		        else{\n			        message = \\\"\\\";\n			    }\n			    alert(message + \\\"  {$this->ipsclass->lang[\'js_used\']} \\\" + InterestLength + \\\" {$this->ipsclass->lang[\'js_so_far\']}.\\\");\n			}\n	}\n	\n	function ValidateProfile(){\n    	LocationLength  = document.theForm.Location.value.length;\n    	InterestLength  = document.theForm.Interests.value.length;\n    	errors = \\\"\\\";\n    		if (LocationMax !=0){\n	    		if (LocationLength > LocationMax) {\n		    		errors = \\\"{$this->ipsclass->lang[\'js_location\']}:  {$this->ipsclass->lang[\'js_max\']} \\\" + LocationMax + \\\" {$this->ipsclass->lang[\'js_characters\']}.  {$this->ipsclass->lang[\'js_used\']}: \\\" + LocationLength;\n		    	}\n		    }\n		   	if (InterestMax !=0){\n        		if (InterestLength > InterestMax){\n	        		errors = errors + \\\"  {$this->ipsclass->lang[\'js_interests\']}:  {$this->ipsclass->lang[\'js_max\']} \\\" + InterestMax + \\\" {$this->ipsclass->lang[\'js_characters\']}.  {$this->ipsclass->lang[\'js_used\']}: \\\" + InterestLength;\n	        	}\n	        }\n	        if (errors != \\\"\\\"){\n		        alert(errors);\n		        return false;\n		       	}\n		    else{\n			    return true;\n			   	}\n	}\n-->\n</script>\n<form action=\\\"{$this->ipsclass->base_url}auth_key={$member[\'key\']}\\\" method=\\\"post\\\" name=\\\"theForm\\\" onsubmit=\\\"return ValidateProfile()\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"21\\\" />\n\" . (($required_output) ? (\"\n	<div class=\'subtitle\'>{$this->ipsclass->lang[\'cf_required\']}</div>\n		<table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n		$required_output\n		</table>\n	<br />\n\") : (\"\")) . \"\n	<div class=\'subtitle\'>{$this->ipsclass->lang[\'profile_title\']}</div>\n	<table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n	\" . ((($this->ipsclass->vars[\'post_titlechange\']) and ($member[\'posts\'] > $this->ipsclass->vars[\'post_titlechange\'])) ? (\"\n		<tr>\n			<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'><b>{$this->ipsclass->lang[\'member_title\']}</b></td>\n			<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"120\\\" name=\\\"member_title\\\" value=\\\"{$this->ipsclass->member[\'title\']}\\\" /></td>\n		</tr>\n	\") : (\"\")) . \"\n	\" . (($day AND $mon AND $year) ? (\"\n		<tr>\n			<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'><b>{$this->ipsclass->lang[\'birthday\']}</b></td>\n			<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n				<select name=\\\"month\\\">&nbsp;\n					{$mon}\n				</select>			\n				<select name=\\\"day\\\">&nbsp;\n					{$day}\n				</select> \n				<select name=\\\"year\\\">&nbsp;\n					{$year}\n				</select>\n			</td>\n		</tr>\n	\") : (\"\")) . \"\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'panel_gender\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><select class=\'select\' name=\'gender\'>\n			<option value=\'male\'\" . (($this->ipsclass->member[\'pp_gender\']==\'male\') ? (\" selected=\'selected\'\") : (\"\")) . \">{$this->ipsclass->lang[\'panel_gender_m\']}</option>\n			<option value=\'female\'\" . (($this->ipsclass->member[\'pp_gender\']==\'female\') ? (\" selected=\'selected\'\") : (\"\")) . \">{$this->ipsclass->lang[\'panel_gender_f\']}</option>\n			<option value=\'mystery\'\" . (($this->ipsclass->member[\'pp_gender\']==\'\') ? (\" selected=\'selected\'\") : (\"\")) . \">{$this->ipsclass->lang[\'panel_gender_u\']}</option>\n			</select>\n		</td>\n	</tr>  \n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'website\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"1200\\\" name=\\\"WebSite\\\" value=\\\"{$member[\'website\']}\\\" /></td>\n	</tr>  \n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'icq\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"20\\\" name=\\\"ICQNumber\\\" value=\\\"{$member[\'icq_number\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'aol\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"200\\\" name=\\\"AOLName\\\" value=\\\"{$member[\'aim_name\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'yahoo\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"200\\\" name=\\\"YahooName\\\" value=\\\"{$member[\'yahoo\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'msn\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"200\\\" name=\\\"MSNName\\\" value=\\\"{$member[\'msnname\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'location\']}<br />(<a href=\\\"javascript:CheckLength(\'location\');\\\">{$this->ipsclass->lang[\'check_length\']}</a>)</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" name=\\\"Location\\\" value=\\\"{$member[\'location\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\' valign=\\\"top\\\">{$this->ipsclass->lang[\'interests\']}<br />(<a href=\\\"javascript:CheckLength(\'interest\');\\\">{$this->ipsclass->lang[\'check_length\']}</a>)</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><textarea cols=\\\"60\\\" rows=\\\"10\\\" wrap=\\\"soft\\\" name=\\\"Interests\\\">{$member[\'interests\']}</textarea></td>\n	</tr>\n	\" . (($optional_output) ? (\"\n		$optional_output\n	\") : (\"\")) . \"\n	<tr>\n		<td class=\\\"formbuttonrow\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'submit_profile\']}\\\" /></td>\n	</tr>\n	</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_settings:desc::trigger:>\n//===========================================================================\nfunction personal_portal_settings($member=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=personal_portal_save&amp;md5check={$this->ipsclass->md5_check}\' method=\'POST\'>\n<table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n\" . (($this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n	<tr>\n		<td colspan=\'2\' class=\'subtitle\'>{$this->ipsclass->lang[\'m_personal_statement\']} <span class=\'desc\'>{$this->ipsclass->lang[\'m_char_limit\']}</span></td>\n	</tr>\n	<tr>\n		<td class=\'row1\' colspan=\'2\'>\n			<textarea name=\'pp_bio_content\' rows=\'5\' cols=\'60\' style=\'width:95%;height:100px\'>{$member[\'_pp_bio_content\']}</textarea>\n		</td>\n	</tr>\n\") : (\"\")) . \"\n	<tr>\n		<td colspan=\'2\' class=\'subtitle\'>{$this->ipsclass->lang[\'m_notifications\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' style=\'width: 40%\'>\n			<strong>{$this->ipsclass->lang[\'m_new_comments\']}</strong><br />\n			<span class=\'desc\'>{$this->ipsclass->lang[\'m_choose_comm_type\']}</span>\n		</td>\n		<td class=\'row2\'>\n			<select name=\'pp_setting_notify_comments\'>{$member[\'_pp_setting_notify_comments\']}</select>\n		</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>\n			<strong>{$this->ipsclass->lang[\'m_new_friends\']}</strong><br />\n			<span class=\'desc\'>{$this->ipsclass->lang[\'m_choose_friend_type\']}</span>\n		</td>\n		<td class=\'row2\'>\n			<select name=\'pp_setting_notify_friend\'>{$member[\'_pp_setting_notify_friend\']}</select>\n		</td>\n	</tr>\n	\n	<tr>\n		<td colspan=\'2\' class=\'subtitle\'>{$this->ipsclass->lang[\'m_mod_type\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' style=\'width: 40%\'>\n			<strong>{$this->ipsclass->lang[\'m_new_comments\']}</strong><br />\n			<span class=\'desc\'>{$this->ipsclass->lang[\'m_choose_cmod_type\']}</span>\n		</td>\n		<td class=\'row2\'>\n			<select name=\'pp_setting_moderate_comments\'>{$member[\'_pp_setting_moderate_comments\']}</select>\n		</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>\n			<strong>{$this->ipsclass->lang[\'m_new_friends\']}</strong><br />\n			<span class=\'desc\'>{$this->ipsclass->lang[\'m_choose_fmod_type\']}</span>\n		</td>\n		<td class=\'row2\'>\n			<select name=\'pp_setting_moderate_friends\'>{$member[\'_pp_setting_moderate_friends\']}</select>\n		</td>\n	</tr>\n	<tr>\n		<td class=\'formbuttonrow\' style=\'text-align: center\' colspan=\'2\'>	\n			<input type=\'submit\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_settings\']}\' />\n		</td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:photo_page:desc::trigger:>\n//===========================================================================\nfunction photo_page($error=\"\",$cur_photo=\"\",$show_size=\"\",$key=\"\",$p_max=\"\",$max_file_size=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($error) ? (\"\n	<div class=\'input-warn-content\'>$error</div>\n\") : (\"\")) . \"\n<form action=\\\"{$this->ipsclass->base_url}auth_key=$key\\\" enctype=\\\"multipart/form-data\\\" method=\\\"post\\\" name=\\\"bob\\\" onsubmit=\\\"return checkform();\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"dophoto\\\" />\n<input type=\'hidden\' name=\'delete_photo\' id=\'ucp-delete_photo\' value=\'0\' />\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'pph_title\']}</div>\n<p>{$this->ipsclass->lang[\'pph_desc\']}<br />{$this->ipsclass->lang[\'pph_max\']}</p>\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'pph_current\']}</div>\n<div align=\\\"center\\\">\n <p>$cur_photo<br />$show_size</p>\n</div>\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'pph_change\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	\" . (($p_max and $max_file_size) ? (\"\n		<tr>\n			<td class=\\\"row1\\\">{$this->ipsclass->lang[\'pph_upload\']}</td>\n			<td class=\\\"row2\\\"><input type=\\\"hidden\\\" name=\\\"MAX_FILE_SIZE\\\" value=\\\"$max_file_size\\\" /><input type=\\\"file\\\" name=\\\"upload_photo\\\" value=\\\"\\\" size=\\\"40\\\" /></td>\n		</tr>\n	\") : (\"\")) . \"\n	\" . ((! $this->ipsclass->vars[\'disable_ipbsize\']) ? (\"\n		<tr>\n			<td class=\\\"row1\\\">&nbsp;</td>\n			<td class=\\\"row2\\\"><b>{$this->ipsclass->lang[\'pph_autosize\']}</b><br />({$this->ipsclass->lang[\'pph_as_desc\']})</td>\n		</tr>\n	\") : (\"\n		<tr>\n			<td class=\\\"row1\\\">&nbsp;</td>\n			<td class=\\\"row2\\\"><b>{$this->ipsclass->lang[\'width\']}</b>&nbsp;<input type=\\\"text\\\" size=\\\"3\\\" name=\\\"man_width\\\" />&nbsp;&nbsp;<b>{$this->ipsclass->lang[\'height\']}</b>&nbsp;<input type=\\\"text\\\" size=\\\"3\\\" name=\\\"man_height\\\" /></td>\n		</tr>\n	\")) . \"\n</table>\n<div align=\\\"center\\\" class=\\\"formbuttonrow\\\">\n	<input type=\\\"submit\\\" class=\'button\' name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'pph_submit\']}\\\" />\n	&nbsp;&nbsp;&nbsp;&nbsp;<input class=\'button\' type=\\\"submit\\\" onclick=\\\"document.getElementById(\'ucp-delete_photo\').value=1;\\\" name=\\\"remove\\\" value=\\\"{$this->ipsclass->lang[\'pph_remove\']}\\\" />\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_forum_row:desc::trigger:>\n//===========================================================================\nfunction render_forum_row($data=\"\",$class1=\'row2\',$class2=\'row1\',$classposts=\'row2\',$inforum=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Begin Topic Entry {$data[\'tid\']} -->\n<tr> \n	<td align=\\\"center\\\" class=\\\"$class2\\\" id=\'tid-folder-{$data[\'tid\']}\' onclick=\'return topic_toggle_folder(\\\"{$data[\'tid\']}\\\", \\\"{$data[\'state\']}\\\");\'>{$data[\'folder_img\']}</td>\n	<td align=\\\"center\\\" class=\\\"$class2\\\">{$data[\'topic_icon\']}</td>\n	<td class=\\\"$class2\\\" valign=\\\"middle\\\">\n	    <div style=\'float:right\'>{$data[\'_rate_img\']}</div>\n		<div>\n			{$data[\'go_new_post\']}{$data[\'prefix\']} {$data[\'attach_img\']}<span id=\'tid-span-{$data[\'tid\']}\'><a id=\\\"tid-link-{$data[\'tid\']}\\\" href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}\\\" title=\\\"{$this->ipsclass->lang[\'topic_started_on\']} {$data[\'start_date\']}\\\">{$data[\'title\']}</a></span> {$data[\'PAGES\']}\n			<div class=\\\"desc\\\"><span onclick=\'return span_desc_to_input(\\\"{$data[\'tid\']}\\\");\' id=\'tid-desc-{$data[\'tid\']}\'>{$data[\'description\']}</span></div>\n		</div>\n	</td>\n	<td align=\'center\' class=\\\"$classposts\\\">\n     {$data[\'posts\']}\n\" . (($data[\'_hasqueued\'] == 1 and $inforum == 1) ? (\"\n&nbsp;<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;modfilter=invisible_posts\\\"><{BC_QUEUED_POSTS}></a>\n\") : (\"\")) . \"\n    </td>\n	<td align=\\\"center\\\" class=\\\"$class1\\\">{$data[\'starter\']}</td>\n	<td align=\\\"center\\\" class=\\\"$class1\\\">{$data[\'views\']}</td>\n	<td class=\\\"$class1\\\"><span class=\\\"lastaction\\\">{$data[\'last_post\']}<br /><a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;view=getlastpost\\\">{$data[\'last_text\']}</a> <b>{$data[\'last_poster\']}</b></span></td>\n\" . (($this->ipsclass->member[\'is_mod\'] == 1 and $inforum == 1 and $data[\'tidon\'] == 1) ? (\"\n<td align=\\\"center\\\" class=\\\"$class1\\\"><input type=\'hidden\' name=\'tid_{$data[\'real_tid\']}\' id=\'tid_{$data[\'real_tid\']}\' /><a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'click_for_mod\']}\\\" onclick=\\\"forum_toggle_tid(\'{$data[\'real_tid\']}\'); return false;\\\"><img name=\\\"img{$data[\'real_tid\']}\\\" id=\'ipb-topic-{$data[\'real_tid\']}\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_selected.gif\\\" alt=\'\' /></a></td>\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'is_mod\'] == 1 and $inforum == 1 and $data[\'tidon\'] == 0) ? (\"\n<td align=\\\"center\\\" class=\\\"$class1\\\"><input type=\'hidden\' name=\'tid_{$data[\'real_tid\']}\' id=\'tid_{$data[\'real_tid\']}\' /><a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'click_for_mod\']}\\\" onclick=\\\"forum_toggle_tid(\'{$data[\'real_tid\']}\'); return false;\\\"><img name=\\\"img{$data[\'real_tid\']}\\\" id=\'ipb-topic-{$data[\'real_tid\']}\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_unselected.gif\\\" alt=\'\' /></a></td>\n\") : (\"\")) . \"\n</tr>\n<!-- End Topic Entry {$data[\'tid\']} -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:settings_end:desc::trigger:>\n//===========================================================================\nfunction settings_end($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'settings_display\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\'row1\' style=\'width: 60%\'>{$this->ipsclass->lang[\'settings_viewsig\']}</td>\n		<td class=\'row2\'>{$data[\'SIG\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>{$this->ipsclass->lang[\'settings_viewimg\']}</td>\n		<td class=\'row2\'>{$data[\'IMG\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>{$this->ipsclass->lang[\'settings_viewava\']}</td>\n		<td class=\'row2\'>{$data[\'AVA\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>{$this->ipsclass->lang[\'settings_dopopup\']}</td>\n		<td class=\'row2\'>{$data[\'POP\']}</td>\n    </tr>\n	<tr>\n		<td class=\'row1\'>{$this->ipsclass->lang[\'pp_number_posts\']}</td>\n		<td class=\'row2\'>\n			<select name=\\\"postpage\\\">\n				{$data[\'PPS\']}\n			</select>\n		</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>{$this->ipsclass->lang[\'pp_number_topics\']}</td>\n		<td class=\'row2\'><select name=\\\"topicpage\\\">{$data[\'TPS\']}</select></td>\n	</tr>\n\" . (($this->ipsclass->member[\'members_disable_pm\'] != 2) ? (\"\n<tr>\n	 <td class=\\\"subtitle\\\" colspan=\\\"2\\\">{$this->ipsclass->lang[\'ucp_op_pm_title\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>{$this->ipsclass->lang[\'ucp_op_pm\']}<div class=\\\"desc\\\">{$this->ipsclass->lang[\'ucp_op_pm_dowhat\']}</div></td>\n		<td class=\'row2\'>{$data[\'PMS\']}</td>\n	</tr>\n\") : (\"\")) . \"\n	<tr>\n	 <td class=\\\"subtitle\\\" colspan=\\\"2\\\">{$this->ipsclass->lang[\'ucp_title_posting\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>{$this->ipsclass->lang[\'open_qr\']}</td>\n		<td class=\'row2\'>{$data[\'QR\']}</td>\n	</tr>\n\" . (($this->ipsclass->vars[\'posting_allow_rte\'] == 1) ? (\"\n<tr>\n		<td class=\'row1\'>{$this->ipsclass->lang[\'type_of_editor\']}<br /><span class=\'desc\'>{$this->ipsclass->lang[\'rte_text\']}</span></td>\n		<td class=\'row2\'>{$data[\'editor\']}</td>\n	</tr>\n\") : (\"\")) . \"\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\">\n			<input type=\\\"submit\\\" class=\'button\' name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'settings_submit\']}\\\" />\n		</td>\n	</tr>\n	</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:settings_header:desc::trigger:>\n//===========================================================================\nfunction settings_header($Profile=\"\",$time_select=\"\",$time=\"\",$dst_check=\"\",$key=\"\",$dst_correction=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}auth_key=$key\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"05\\\" />\n<table width=\'100%\' cellpadding=\'0\' cellspacing=\'0\'>\n	<tr>\n		<td class=\'subtitle\' colspan=\'2\'>{$this->ipsclass->lang[\'settings_time\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' style=\'width: 30%\'>\n			<strong>{$this->ipsclass->lang[\'settings_time_txt\']}</strong>\n		</td>\n		<td class=\'row2\'>\n			{$this->ipsclass->lang[\'settings_time_txt2\']} $time<br />\n			$time_select\n		</td>\n	</tr>\n	<tr>\n		<td class=\'row1\'>\n			<strong>{$this->ipsclass->lang[\'dst_correction_title\']}</strong>\n		</td>\n		<td class=\'row2\'>\n		\" . (($this->ipsclass->input[\'dsterror\'] == 1) ? (\"\n			<div style=\'color:red;font-weight:bold\'>\n				 {$this->ipsclass->lang[\'dst_error\']}\n			</div>\n		\") : (\"\")) . \"\n			<input class=\'checkbox\' type=\\\"checkbox\\\" id=\'dst-check\' onclick=\'toggle_dst()\' name=\\\"DSTCHECK\\\" value=\\\"1\\\" $dst_correction /> &nbsp;<strong>{$this->ipsclass->lang[\'dst_auto\']}</strong><br />\n			<span class=\'desc\'>{$this->ipsclass->lang[\'dst_auto2\']}</span>\n			\n			<div id=\'dst-manual\'>\n			   <input class=\'checkbox\'  type=\\\"checkbox\\\" name=\\\"DST\\\" value=\\\"1\\\" $dst_check /> &nbsp;<strong>{$this->ipsclass->lang[\'dst_box\']}</strong>\n			   <div class=\'desc\'>{$this->ipsclass->lang[\'dst_box2\']}</div>\n			</div>\n		</td>\n	</tr>\n</table>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\nfunction toggle_dst()\n{\n	if ( document.getElementById( \'dst-check\' ).checked )\n	{\n		document.getElementById( \'dst-manual\' ).style.display = \'none\';\n	}\n	else\n	{\n		document.getElementById( \'dst-manual\' ).style.display = \'block\';\n	}\n}\ntoggle_dst();\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Show_attachments:desc::trigger:>\n//===========================================================================\nfunction Show_attachments($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=attach&amp;type={$data[\'type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$this->ipsclass->lang[\'attach_dl\']}\\\" target=\\\"_blank\\\"><img src=\\\"{$this->ipsclass->vars[\'mime_img\']}/{$data[\'mime_image\']}\\\" alt=\\\"{$this->ipsclass->lang[\'attached_file\']}\\\" /></a>\n&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=attach&amp;type={$data[\'type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$this->ipsclass->lang[\'attach_dl\']}\\\" target=\\\"_blank\\\">{$data[\'attach_file\']}</a> ( {$data[\'file_size\']} )\n<span class=\\\"desc\\\">{$this->ipsclass->lang[\'attach_hits\']}: {$data[\'attach_hits\']}</span><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:signature:desc::trigger:>\n//===========================================================================\nfunction signature($preview_sig=\"\",$editor_html=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form id=\'postingform\' onsubmit=\'return ValidateForm()\' action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=23\\\" method=\\\"post\\\" name=\\\"REPLIER\\\">\n<input type=\'hidden\' name=\'key\' value=\'{$key}\' />\n<input type=\'hidden\' name=\'removeattachid\' value=\'0\' />\n <div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'cp_current_sig\']}</div>\n <div class=\\\"signature\\\" style=\\\"padding: 5px;\\\">{$preview_sig}</div>\n <div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'cp_edit_sig\']}</div>\n <div class=\'row1\' align=\'center\' style=\'padding:3px\'>{$editor_html}</div>\n <div class=\'formbuttonrow\' align=\'center\'><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cp_submit_sig\']}\\\" /></div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:splash:desc::trigger:>\n//===========================================================================\nfunction splash($member=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'stats_header\']}</div>\n\" . (($this->ipsclass->member[\'bio\'] == \"dupemail\") ? (\"\n<div><b>{$this->ipsclass->lang[\'conv_email_warning_title\']}<br /><br />{$this->ipsclass->lang[\'conv_email_warning\']}</b></div>\n\") : (\"\")) . \"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"50%\\\" valign=\\\"top\\\">\n			<fieldset class=\\\"search\\\">\n			<legend><b>{$this->ipsclass->lang[\'splash_attach\']}</b></legend>\n\" . (($member[\'attach_html\'] != \"\") ? (\"\n{$member[\'attach_html\']}\n\") : (\"\n<br /><br /><div align=\\\"center\\\">{$this->ipsclass->lang[\'splash_noattach\']}</div><br /><br />&nbsp;\n\")) . \"\n			</fieldset>\n		</td>\n		<td width=\\\"50%\\\" valign=\\\"top\\\">\n			<fieldset class=\\\"search\\\">\n			<legend><b>{$this->ipsclass->lang[\'stats_header\']}</b></legend>\n				<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					<tr>\n						<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'email_address\']}</b></td>\n						<td width=\\\"50%\\\">{$member[\'member_email\']}</td>\n					</tr>\n					<tr>\n						<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'number_posts\']}</b></td>\n						<td width=\\\"50%\\\">{$member[\'member_posts\']}</td>\n					</tr>\n					<tr>\n						<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'registered\']}</b></td>\n						<td width=\\\"50%\\\">{$member[\'date_registered\']}</td>\n					</tr>\n					<tr>\n						<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'daily_average\']}</b></td>\n						<td width=\\\"50%\\\">{$member[\'daily_average\']}</td>\n					</tr>\n				</table>\n			</fieldset>\n		</td>\n	</tr>\n</table>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_forum.js\\\"></script>\n<div class=\\\"borderwrapm\\\">\n<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'splash_last5\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n\" . (($member[\'topic_html\'] != \"\") ? (\"\n<tr>\n			<th width=\\\"40%\\\" nowrap=\\\"nowrap\\\" colspan=\\\"3\\\">{$this->ipsclass->lang[\'h_topic_title\']}</th>\n			<th width=\\\"7%\\\" align=\\\"center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_replies\']}</th>\n			<th width=\\\"14%\\\" align=\\\"center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_topic_starter\']}</th>\n			<th width=\\\"7%\\\" align=\\\"center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_hits\']}</th>\n			<th width=\\\"32%\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_last_action\']}</th>\n		</tr>\n      {$member[\'topic_html\']}\n\") : (\"\n<tr>\n			<td colspan=\\\"7\\\" align=\\\"center\\\" class=\'row2\'><b>{$this->ipsclass->lang[\'splash_nopost\']}</b></td>\n		</tr>\n\")) . \"\n	</table>\n</div>\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'note_pad\']}</div>\n<div align=\\\"center\\\" style=\'padding-bottom:6px;\'>\n<form name=\\\"notepad\\\" action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"s\\\" value=\\\"{$this->ipsclass->session_id}\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"20\\\" />\n<p>\n        <textarea cols=\\\"65\\\" rows=\\\"{$member[\'SIZE\']}\\\" name=\\\"notes\\\">{$member[\'NOTES\']}</textarea>\n        	<br />\n	    {$this->ipsclass->lang[\'ta_size\']}&nbsp;\n	    <select name=\\\"ta_size\\\">\n	    	{$member[\'SIZE_CHOICE\']}\n	    </select>\n	<input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'submit_notepad\']}\\\" />\n</p>\n</form>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_end:desc::trigger:>\n//===========================================================================\nfunction subs_end($text=\"\",$days=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td align=\\\"center\\\" class=\\\"formbuttonrow\\\" valign=\\\"middle\\\" colspan=\\\"6\\\">\n			<select name=\\\"trackchoice\\\">\n				<option value=\\\"unsubscribe\\\">{$this->ipsclass->lang[\'subs_delete\']}</option>\n				<option value=\\\"none\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_none_title\']}</option>\n				<option value=\\\"immediate\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_immediate\']}</option>\n				<option value=\\\"delayed\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_delayed\']}</option>\n				<option value=\\\"daily\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_daily\']}</option>\n				<option value=\\\"weekly\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_weekly\']}</option>\n			</select>&nbsp;&nbsp;\n			<input type=\\\"submit\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'with_selected\']}\\\" />\n		</td>\n	</tr>\n</table>\n</div>\n</form>\n<div align=\\\"right\\\" style=\\\"padding: 5px;\\\"><i>$text</i></div>\n<div align=\\\"right\\\" style=\\\"padding: 5px;\\\">\n	<form action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=26\\\" method=\\\"post\\\">\n		{$this->ipsclass->lang[\'show_topics_from\']}\n		<select name=\\\"datecut\\\">\n			$days\n		</select>\n 	<input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'jmp_go\']}\\\" />\n 	</form>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_forum_row:desc::trigger:>\n//===========================================================================\nfunction subs_forum_row($fid=\"\",$fname=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td colspan=\\\"6\\\" class=\\\"row1\\\"><b>$fname</b></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_header:desc::trigger:>\n//===========================================================================\nfunction subs_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n<script type=\\\"text/javascript\\\">\n<!--\n	function CheckAll(cb){\n		var fmobj = document.mutliact;\n			for (var i=0;i<fmobj.elements.length;i++){\n				var e = fmobj.elements[i];\n				if ((e.name != \\\"allbox\\\") && (e.type==\\\"checkbox\\\") && (!e.disabled)){\n				e.checked = fmobj.allbox.checked;\n				}\n			}\n	}\n	function CheckCheckAll(cb){	\n		var fmobj = document.mutliact;\n		var TotalBoxes = 0;\n		var TotalOn = 0;\n			for (var i=0;i<fmobj.elements.length;i++){\n		  		var e = fmobj.elements[i];\n		 		 if ((e.name != \\\"allbox\\\") && (e.type==\\\"checkbox\\\")){\n			 		 TotalBoxes++;\n			 		 if (e.checked){\n				 		 TotalOn++;\n				 	}\n				 }\n			}\n			\n			if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}\n			else{\n				fmobj.allbox.checked=false;\n			}\n	}\n-->\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_forum.js\\\"></script> \n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'subs_header\']}</div>\n<form action=\\\"{$this->ipsclass->base_url}\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"27\\\" />\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th width=\\\"5%\\\">&nbsp;</th>\n			<th width=\\\"55%\\\">{$this->ipsclass->lang[\'subs_topic\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\">{$this->ipsclass->lang[\'subs_replies\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\">{$this->ipsclass->lang[\'subs_view\']}</th>\n			<th width=\\\"25%\\\">{$this->ipsclass->lang[\'subs_last_post\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\" style=\'padding: 1px;\'><input class=\'checkbox\' name=\\\"allbox\\\" type=\\\"checkbox\\\" value=\\\"Check All\\\" onclick=\\\"CheckAll();\\\" /></th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_none:desc::trigger:>\n//===========================================================================\nfunction subs_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row2\\\" align=\\\"center\\\" colspan=\\\"6\\\">{$this->ipsclass->lang[\'subs_none\']}</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_row:desc::trigger:>\n//===========================================================================\nfunction subs_row($data=\"\",$type=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row2\\\" align=\\\"center\\\" width=\\\"5%\\\">{$data[\'folder_img\']}</td>\n			<td class=\\\"row2\\\">\n				<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}\\\">{$data[\'title\']}</a>&nbsp;\n				( <a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}\\\" target=\\\"_blank\\\">{$this->ipsclass->lang[\'new_window\']}</a> )\n  				<div class=\\\"desc\\\">{$data[\'description\']}{$this->ipsclass->lang[\'subs_start\']} {$data[\'track_started\']}\n  					<br />\n  					{$this->ipsclass->lang[\'subs_c_type\']}: {$this->ipsclass->lang[$type]}\n  				</div>\n  			</td>\n  			<td class=\\\"row2\\\" align=\\\"center\\\">{$data[\'posts\']}</td>\n  			<td class=\\\"row2\\\" align=\\\"center\\\">{$data[\'views\']}</td>\n  			<td class=\\\"row2\\\">{$data[\'last_post_date\']}<br />{$this->ipsclass->lang[\'subs_by\']} {$data[\'last_poster\']}</td>\n  			<td class=\\\"row1\\\" align=\\\"center\\\" style=\'padding: 1px;\'><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"id-{$data[\'trid\']}\\\" value=\\\"yes\\\" /></td>\n  		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_show_choice_page:desc::trigger:>\n//===========================================================================\nfunction subs_show_choice_page($forum=\"\",$topic=\"\",$method=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REPLIER\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"usercp\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"end_subs\\\" />\n<input type=\\\"hidden\\\" name=\\\"method\\\" value=\\\"$method\\\" />\n<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"$key\\\" />\n<input type=\\\"hidden\\\" name=\\\"tid\\\" value=\\\"{$topic[\'tid\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"fid\\\" value=\\\"{$forum[\'id\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'subs_c_title\']}</div>\n<div style=\'padding:4px\'>\n\" . (($topic[\'tid\'] != \"\") ? (\"\n<b>{$this->ipsclass->lang[\'subs_c_topic\']} {$topic[\'title\']}</b>\n\") : (\"\n<b>{$this->ipsclass->lang[\'subs_c_forum\']} {$forum[\'name\']}</b>\n\")) . \"\n	<div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_exp_text\']}</div>\n</div>\n<table cellspacing=\\\"0\\\" width=\'100%\'>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"none\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_none_title\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_none_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"delayed\\\" checked=\\\"checked\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_delayed\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_delayed_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"immediate\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_immediate\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_immediate_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"daily\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_daily\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_daily_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"weekly\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_weekly\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_weekly_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'subs_submit\']}\\\" class=\\\"button\\\" /></td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_announce_form:desc::trigger:>\n//===========================================================================\nfunction ucp_announce_form($announce=\"\",$button=\"\",$forum_html=\"\",$type=\"\",$editor_html=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REPLIER\\\" id=\'postingform\' onsubmit=\'return ValidateForm()\'>\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"announce_save\\\" />\n<input type=\\\"hidden\\\" name=\\\"type\\\" value=\\\"$type\\\" />\n<input type=\\\"hidden\\\" name=\\\"id\\\"   value=\\\"{$announce[\'announce_id\']}\\\" />\n<div class=\\\"subtitle\\\">{$button}</div>\n\" . (($msg != \"\") ? (\"\n<div class=\\\"borderwrapm\\\"><div class=\\\"tablepad\\\">{$msg}</div></div>\n\") : (\"\")) . \"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'announce_form_title\']}</b></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\"><input type=\\\"text\\\" size=\\\"30\\\" name=\\\"announce_title\\\" value=\\\"{$announce[\'announce_title\']}\\\" tabindex=\\\"1\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'announce_form_start\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'announce_form_startdesc\']}</div></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\"><input type=\\\"text\\\" size=\\\"10\\\" name=\\\"announce_start\\\" value=\\\"{$announce[\'announce_start\']}\\\" tabindex=\\\"2\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'announce_form_end\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'announce_form_enddesc\']}</div></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\"><input type=\\\"text\\\" size=\\\"10\\\" name=\\\"announce_end\\\" value=\\\"{$announce[\'announce_end\']}\\\" tabindex=\\\"3\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'announce_form_forums\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'announce_form_forums2\']}</div></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\"><select class=\\\"dropdown\\\" multiple=\\\"multiple\\\" size=\\\"10\\\" name=\\\"announce_forum[]\\\" tabindex=\\\"4\\\">{$forum_html}</select></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'announce_form_content\']}</b></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\">{$editor_html}</td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'announce_form_options\']}</b></td>\n		<td class=\\\"pformright\\\" valign=\\\"middle\\\">\n			<input type=\\\"checkbox\\\" class=\\\"checkbox\\\" name=\\\"announce_active\\\" value=\\\"1\\\" {$announce[\'announce_active_checked\']} />&nbsp;{$this->ipsclass->lang[\'announce_form_enable\']}\n			<br /><input type=\\\"checkbox\\\" class=\\\"checkbox\\\" name=\\\"announce_html_enabled\\\" value=\\\"1\\\" {$announce[\'html_checkbox\']} />&nbsp;{$this->ipsclass->lang[\'announce_use_html\']}\n			<br /><input type=\\\"checkbox\\\" class=\\\"checkbox\\\" name=\\\"announce_nlbr_enabled\\\" value=\\\"1\\\" {$announce[\'nlbr_checkbox\']} />&nbsp;{$this->ipsclass->lang[\'announce_use_nlbr\']}\n		</td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\"{$button}\\\" class=\\\"button\\\"  tabindex=\\\"7\\\" /></td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_announce_manage:desc::trigger:>\n//===========================================================================\nfunction ucp_announce_manage($content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\n var ipb_lang_js_del_1 = \\\"{$this->ipsclass->lang[\'announce_del1\']}\\\";\n var ipb_lang_js_del_2 = \\\"{$this->ipsclass->lang[\'announce_del2\']}\\\";\n-->\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'announce_current\']}</div>\n<form action=\\\"{$this->ipsclass->base_url}\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"announce_alter\\\" />\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th width=\\\"35%\\\">{$this->ipsclass->lang[\'announce_title\']}</th>\n			<th align=\\\"center\\\" width=\\\"10%\\\">{$this->ipsclass->lang[\'announce_starts\']}</th>\n			<th align=\\\"center\\\" width=\\\"10%\\\">{$this->ipsclass->lang[\'announce_end\']}</th>\n			<th width=\\\"25%\\\">{$this->ipsclass->lang[\'announce_forums\']}</th>\n			<th width=\\\"15%\\\">&nbsp;</th>\n		</tr>\n\" . (($content) ? (\"\n$content\n\") : (\"\n<tr>\n			<td align=\\\"center\\\" colspan=\\\"5\\\">{$this->ipsclass->lang[\'announce_none\']}</td>\n		</tr>\n\")) . \"\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"5\\\"><a href=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_add\\\">{$this->ipsclass->lang[\'announce_add\']}</a></td>\n	</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_announce_manage_row:desc::trigger:>\n//===========================================================================\nfunction ucp_announce_manage_row($announce=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\"><b><a href=\\\"{$this->ipsclass->base_url}act=announce&amp;id={$announce[\'announce_id\']}\\\">{$announce[\'announce_title\']}</a></b> {$announce[\'announce_inactive\']}<div class=\\\"desc\\\">{$this->ipsclass->lang[\'announce_by\']} {$announce[\'members_display_name\']}</div></td>\n			<td class=\\\"row2\\\" align=\\\"center\\\">{$announce[\'announce_starts_converted\']}</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">{$announce[\'announce_end_converted\']}</td>\n			<td class=\\\"row2\\\"><div class=\\\"forumdesc\\\">{$announce[\'announce_forum_show\']}</div></td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">\n				<a href=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_edit&amp;id={$announce[\'announce_id\']}\\\">{$this->ipsclass->lang[\'announce_edit\']}</a>\n				&middot; <a href=\\\"#\\\" onclick=\\\"delete_post(\'{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_delete&amp;id={$announce[\'announce_id\']}\'); return false;\\\">{$this->ipsclass->lang[\'announce_delete\']}</a>\n			</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_dname_change:desc::trigger:>\n//===========================================================================\nfunction ucp_dname_change($form=array(),$error=\"\",$okmessage=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}&amp;act=usercp&amp;CODE=dname_complete\\\" method=\\\"post\\\" id=\'display-form\' name=\\\"form1\\\">\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'dname_title\']}</div>\n<p>{$form[\'_lang_string\']}</p>\n\" . (($okmessage != \"\") ? (\"\n<div class=\'input-ok-content\' id=\'dname-okbox\'><strong>{$okmessage}</strong></div>\n\") : (\"\")) . \"\n<div class=\'input-warn-content\' id=\'dname-warnbox\' style=\'display:none;\'><strong>{$this->ipsclass->lang[\'dname_error_title\']}</strong><div id=\'dname-warnbox-content\'>{$error}</div></div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\'row1\' width=\\\"40%\\\"><strong>{$this->ipsclass->lang[\'dname_choose\']}</strong><div class=\'desc\'>{$this->ipsclass->lang[\'dname_choose2\']}<br />\n		\" . (($this->ipsclass->vars[\'username_characters\']) ? (\"{$this->ipsclass->vars[\'username_errormsg\']}<br />\") : (\"\")) . \"\n		{$this->ipsclass->lang[\'max_dname_length\']} {$this->ipsclass->vars[\'max_user_name_length\']}</div></td>\n		<td class=\'row2\'><input type=\\\"text\\\" name=\\\"display_name\\\" id=\'display-name\' maxlength=\'{$this->ipsclass->vars[\'max_user_name_length\']}\' value=\\\"{$this->ipsclass->input[\'display_name\']}\\\" /> <img id=\'display-name-img\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' /></td>\n	</tr>\n	<tr>\n		<td class=\'row1\' width=\\\"40%\\\"><strong>{$this->ipsclass->lang[\'dname_password\']}</strong><div class=\'desc\'>{$this->ipsclass->lang[\'dname_password2\']}</div></td>\n		<td class=\'row2\'><input type=\\\"password\\\" name=\\\"display_password\\\" id=\'display-password\' value=\\\"\\\" /> <img id=\'display-password-img\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' /></td>\n	</tr>\n</table>\n<div class=\\\"formsubtitle\\\" style=\\\"text-align: center;\\\"><input type=\\\"submit\\\" class=\'button\' name=\\\"change_email\\\" value=\\\"{$this->ipsclass->lang[\'dname_submit\']}\\\" /></div>\n</form>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\ndname_max_length    = parseInt(\\\"{$this->ipsclass->vars[\'max_user_name_length\']}\\\");\ndname_error_no_name = \\\"{$this->ipsclass->lang[\'dname_error_no_name\']}\\\";\ndname_error_no_pass = \\\"{$this->ipsclass->lang[\'dname_error_no_pass\']}\\\";\ndname_error_chars   = \\\"{$this->ipsclass->lang[\'dname_error_chars\']}\\\";\ndname_error_taken   = \\\"{$this->ipsclass->lang[\'dname_error_taken\']}\\\";\nvar allowed_chars 	= \\\"{$this->ipsclass->vars[\'username_characters\']}\\\";\nvar allowed_error 	= \\\"{$this->ipsclass->vars[\'username_errormsg\']}\\\";\nucp_dname_init( \'display-name\', \'display-password\', \'display-form\', \'dname-warnbox\' );\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_message:desc::trigger:>\n//===========================================================================\nfunction ucp_message($title=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$title}</div>\n	<p>$msg</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('6d531104f691e5747fc5643881cbf655','skin_global','class skin_global_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:bbcode_wrap_end:desc::trigger:>\n//===========================================================================\nfunction bbcode_wrap_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bbcode_wrap_start:desc::trigger:>\n//===========================================================================\nfunction bbcode_wrap_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'<!--css.top-->\'><!--title--><!--extra--></div><div class=\'<!--css.main-->\'>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:board_offline:desc::trigger:>\n//===========================================================================\nfunction board_offline($message=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<form action=\\\"{$this->ipsclass->vars[\'board_url\']}/index.{$this->ipsclass->vars[\'php_ext\']}\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Login\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"01\\\" />\n	<input type=\\\"hidden\\\" name=\\\"s\\\" value=\\\"{$this->ipsclass->session_id}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"referer\\\" value=\\\"\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CookieDate\\\" value=\\\"1\\\" />\n	<div class=\\\"borderwrap\\\">\n		<h3><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'offline_title\']}</h3>\n		<p>$message</p>\n		<div class=\\\"fieldwrap\\\">\n\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n<h4>{$this->ipsclass->lang[\'erl_enter_name\']}</h4>\n		<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"64\\\" name=\\\"UserName\\\" />\n\") : (\"\n<h4>{$this->ipsclass->lang[\'erl_email\']}</h4>\n		<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"128\\\" name=\\\"UserName\\\" />\n\")) . \"\n			<h4>{$this->ipsclass->lang[\'erl_enter_pass\']}</h4>\n			<input type=\\\"password\\\" size=\\\"20\\\" name=\\\"PassWord\\\" />\n		</div>\n		<p class=\\\"formbuttonrow\\\"><input class=\\\"button\\\" type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'erl_log_in_submit\']}\\\" /></p>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:captchaGD:desc::trigger:>\n//===========================================================================\nfunction captchaGD($regid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($this->ipsclass->input[\'act\'] == \'xmlout\') ? (\"\n$regid\n\") : (\"\n	<input type=\\\"hidden\\\" name=\\\"regid\\\" id=\'regid\' value=\\\"$regid\\\" />\n	<fieldset>\n	<legend><b>{$this->ipsclass->lang[\'las_title\']}</b></legend>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\\\"1%\\\">\n					{$this->ipsclass->lang[\'las_input\']}<div class=\\\"desc\\\">{$this->ipsclass->lang[\'las_input_text\']}</div>\n					<input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"32\\\" name=\\\"reg_code\\\" />\n				</td>\n				<td align=\\\"center\\\" ><img id=\'gd-antispam\' src=\\\"{$this->ipsclass->base_url}act=captcha&amp;do=showImage&amp;regid={$regid}\\\" title=\'{$this->ipsclass->lang[\'gbl_gd_reload\']}\' alt=\\\"{$this->ipsclass->lang[\'alt_loadingimg\']}\\\" />\n					<script type=\'text/javascript\'>\n						init_gd_image();\n					</script>\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:captchaRecaptcha:desc::trigger:>\n//===========================================================================\nfunction captchaRecaptcha($html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<fieldset>\n<legend><strong>{$this->ipsclass->lang[\'las_title\']}</strong></legend>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td style=\'padding:10px\'>\n				{$html}\n			</td>\n		</tr>\n	</table>\n</fieldset>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:css_external:desc::trigger:>\n//===========================================================================\nfunction css_external($css=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<style type=\\\"text/css\\\" media=\\\"all\\\">\n\" . (($this->ipsclass->vars[\'board_url\'] != \'\' AND $this->ipsclass->vars[\'board_url\'] != \'.\') ? (\"\n@import url({$this->ipsclass->vars[\'board_url\']}/style_images/css_{$css}.css);\n\") : (\"\n@import url(style_images/css_{$css}.css);\n\")) . \"\n</style>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:css_inline:desc::trigger:>\n//===========================================================================\nfunction css_inline($css=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<style type=\\\"text/css\\\">\n	$css\n</style>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_nav:desc::trigger:>\n//===========================================================================\nfunction end_nav() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Error:desc::trigger:>\n//===========================================================================\nfunction Error($message=\"\",$ad_email_one=\"\",$ad_email_two=\"\",$show_top_msg=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\\\"JavaScript\\\" type=\\\"text/javascript\\\">\n<!--\nfunction contact_admin() {\n  // Very basic spam bot stopper\n	  \n  admin_email_one = \'$ad_email_one\';\n  admin_email_two = \'$ad_email_two\';\n  \n  window.location = \'mailto:\'+admin_email_one+\'@\'+admin_email_two+\'?subject={$this->ipsclass->lang[\'mailto_erroronforums\']}\';\n  \n}\n//-->\n</script>\n<br />\n<div class=\\\"borderwrap\\\">\n	<h3><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'error_title\']}</h3>\n\" . (($show_top_msg == 1) ? (\"\n<p>{$this->ipsclass->lang[\'exp_text\']}</p>\n	<div class=\\\"errorwrap\\\">\n		<h4>{$this->ipsclass->lang[\'msg_head\']}</h4>\n\") : (\"\")) . \"\n		<p>$message</p>\n\" . (($show_top_msg == 1) ? (\"\n</div>\n\") : (\"\")) . \"\n	<!--IBF.LOG_IN_TABLE-->\n	<!--IBF.POST_TEXTAREA-->\n	<h4>{$this->ipsclass->lang[\'er_links\']}</h4>\n	<ul>\n		<li><a href=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=10\\\">{$this->ipsclass->lang[\'er_lost_pass\']}</a></li>\n		<li><a href=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=00\\\">{$this->ipsclass->lang[\'er_register\']}</a></li>\n		<li><a href=\\\"{$this->ipsclass->base_url}act=Help&amp;CODE=00\\\">{$this->ipsclass->lang[\'er_help_files\']}</a></li>\n		<li><a href=\\\"javascript:contact_admin();\\\">{$this->ipsclass->lang[\'er_contact_admin\']}</a></li>\n	</ul>\n	<p class=\\\"formbuttonrow\\\"><b><a href=\\\"javascript:history.go(-1)\\\">{$this->ipsclass->lang[\'error_back\']}</a></b></p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:error_log_in:desc::trigger:>\n//===========================================================================\nfunction error_log_in($q_string=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->vars[\'board_url\']}/index.{$this->ipsclass->vars[\'php_ext\']}\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Login\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"01\\\" />\n	<input type=\\\"hidden\\\" name=\\\"s\\\" value=\\\"{$this->ipsclass->session_id}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"referer\\\" value=\\\"$q_string\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CookieDate\\\" value=\\\"1\\\" />\n	<h4>{$this->ipsclass->lang[\'er_log_in_title\']}</h4>\n	<div class=\\\"fieldwrap\\\">\n\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n<h4>{$this->ipsclass->lang[\'erl_enter_name\']}</h4>\n		<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"64\\\" name=\\\"UserName\\\" />\n\") : (\"\n<h4>{$this->ipsclass->lang[\'erl_email\']}</h4>\n		<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"128\\\" name=\\\"UserName\\\" />\n\")) . \"\n		<h4>{$this->ipsclass->lang[\'erl_enter_pass\']}</h4>\n		<input type=\\\"password\\\" size=\\\"20\\\" name=\\\"PassWord\\\" />\n		<p class=\\\"formbuttonrow1\\\"><input class=\\\"button\\\" type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'erl_log_in_submit\']}\\\" /></p>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:error_post_textarea:desc::trigger:>\n//===========================================================================\nfunction error_post_textarea($post=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<h4>{$this->ipsclass->lang[\'err_title\']}</h4>\n<p>{$this->ipsclass->lang[\'err_expl\']}</p>\n<div class=\\\"fieldwrap\\\">\n	<h4>{$this->ipsclass->lang[\'err_title\']}</h4>\n	<form name=\\\"mehform\\\">\n		<textarea cols=\\\"70\\\" rows=\\\"5\\\" name=\\\"saved\\\" tabindex=\\\"2\\\">$post</textarea>\n	</form>\n	<p class=\\\"formbuttonrow1\\\"><input class=\\\"button\\\" type=\\\"button\\\" tabindex=\\\"1\\\" value=\\\"{$this->ipsclass->lang[\'err_select\']}\\\" onclick=\\\"document.mehform.saved.select()\\\" /></p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_show_rules_full:desc::trigger:>\n//===========================================================================\nfunction forum_show_rules_full($rules=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Show FAQ/Forum Rules -->\n<div class=\\\"borderwrap\\\" style=\'margin-bottom:6px;\'>\n	<h3><{CAT_IMG}>&nbsp;{$rules[\'title\']}</h3>\n	<p>{$rules[\'body\']}</p>\n</div>\n<!-- End FAQ/Forum Rules -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_show_rules_link:desc::trigger:>\n//===========================================================================\nfunction forum_show_rules_link($rules=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Show FAQ/Forum Rules -->\n<div class=\\\"ruleswrap\\\">\n	&nbsp;<{F_RULES}>&nbsp;<b><a href=\\\"{$this->ipsclass->base_url}act=SR&amp;f={$rules[\'fid\']}\\\">{$rules[\'title\']}</a></b>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:get_rte_css:desc::trigger:>\n//===========================================================================\nfunction get_rte_css() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<style type=\'text/css\'>\n@import url( \\\"{$this->ipsclass->vars[\'board_url\']}/style_images/<#IMG_DIR#>/folder_editor_images/css_rte.css\\\" );\n</style>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_board_footer:desc::trigger:>\n//===========================================================================\nfunction global_board_footer($time=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table cellspacing=\\\"0\\\" id=\\\"gfooter\\\">\n	<tr>\n		<td width=\\\"45%\\\"><% SYNDICATION %><% SKINCHOOSER %> <% LANGCHOOSER %></td>\n		<td width=\\\"10%\\\" align=\\\"center\\\" nowrap=\\\"nowrap\\\"><a href=\\\"lofiversion/index.php<% LOFIVERSION %>\\\"><b>{$this->ipsclass->lang[\'global_lofi\']}</b></a></td>\n		<td width=\\\"45%\\\" align=\\\"right\\\" nowrap=\\\"nowrap\\\"><% QUICKSTATS %>{$this->ipsclass->lang[\'global_timeisnow\']}: {$time}</td>\n	</tr>\n</table>\n<script type=\'text/javascript\'>\n//<![CDATA[\nmenu_do_global_init();\nshow_inline_messages();\n// Uncomment this to fix IE png images\n// causes page slowdown, and some missing images occasionally\n// if ( is_ie )\n// {\n//	 ie_fix_png();\n// }\n\" . (($this->ipsclass->member[\'members_auto_dst\'] == 1 AND $this->ipsclass->vars[\'time_dst_auto_correction\'] AND $this->ipsclass->input[\'_low_act\'] == \'idx\') ? (\"\nglobal_dst_check(parseInt(\\\"{$this->ipsclass->member[\'time_offset\']}\\\"),parseInt(\\\"{$this->ipsclass->member[\'dst_in_use\']}\\\") );\n\") : (\"\")) . \"\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_board_header:desc::trigger:>\n//===========================================================================\nfunction global_board_header($component_links=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--ipb.javascript.start-->\n<script type=\\\"text/javascript\\\">\n //<![CDATA[\n var ipb_var_st            = \\\"{$this->ipsclass->input[\'st\']}\\\";\n var ipb_lang_tpl_q1       = \\\"{$this->ipsclass->lang[\'tpl_q1\']}\\\";\n var ipb_var_s             = \\\"{$this->ipsclass->session_id}\\\";\n var ipb_var_phpext        = \\\"{$this->ipsclass->vars[\'php_ext\']}\\\";\n var ipb_var_base_url      = \\\"{$this->ipsclass->js_base_url}\\\";\n var ipb_var_image_url     = \\\"{$this->ipsclass->vars[\'img_url\']}\\\";\n var ipb_input_f           = \\\"{$this->ipsclass->input[\'f\']}\\\";\n var ipb_input_t           = \\\"{$this->ipsclass->input[\'t\']}\\\";\n var ipb_input_p           = \\\"{$this->ipsclass->input[\'p\']}\\\";\n var ipb_var_cookieid      = \\\"{$this->ipsclass->vars[\'cookie_id\']}\\\";\n var ipb_var_cookie_domain = \\\"{$this->ipsclass->vars[\'cookie_domain\']}\\\";\n var ipb_var_cookie_path   = \\\"{$this->ipsclass->vars[\'cookie_path\']}\\\";\n var ipb_md5_check         = \\\"{$this->ipsclass->md5_check}\\\";\n var ipb_new_msgs          = {$this->ipsclass->member[\'new_msg\']};\n var use_enhanced_js       = {$this->ipsclass->can_use_fancy_js};\n var use_charset           = \\\"{$this->ipsclass->vars[\'gb_char_set\']}\\\";\n var ipb_myass_chars_lang  = \\\"{$this->ipsclass->lang[\'myass_chars\']}\\\";\n var ajax_load_msg		   = \\\"{$this->ipsclass->lang[\'ajax_loading_msg_new\']}\\\";\n //]]>\n</script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/ips_ipsclass.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_global.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/ips_menu.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'{$this->ipsclass->vars[\'img_url\']}/folder_js_skin/ips_menu_html.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'cache/lang_cache/{$this->ipsclass->lang_id}/lang_javascript.js\'></script>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\nvar ipsclass = new ipsclass();\nipsclass.init();\nipsclass.settings[\'do_linked_resize\'] = parseInt( \\\"{$this->ipsclass->vars[\'resize_linked_img\']}\\\" );\nipsclass.settings[\'resize_percent\']   = parseInt( \\\"{$this->ipsclass->vars[\'resize_img_percent\']}\\\" );\n//]]>\n</script>\n<!--ipb.javascript.end-->\n	<div id=\\\"logostrip\\\"><a href=\'{$this->ipsclass->base_url}\'><!--ipb.logo.start--><img src=\'style_images/<#IMG_DIR#>/logo4.gif\' style=\'vertical-align:top\' alt=\'IPB\' border=\'0\' /><!--ipb.logo.end--></a></div>\n	<div id=\\\"submenu\\\">\n		<!--ipb.leftlinks.start-->\n		<div id=\'submenu_left\'>\n		\" . (($this->ipsclass->vars[\'home_url\']) ? (\"\n			<a href=\\\"{$this->ipsclass->vars[\'home_url\']}\\\">{$this->ipsclass->vars[\'home_name\']}</a>\n		\") : (\"\")) . \"\n		\" . (($this->ipsclass->vars[\'csite_on\']) ? (\"\n			<a href=\\\"{$this->ipsclass->base_url}act=home\\\">{$this->ipsclass->vars[\'csite_title\']}</a>\n		\") : (\"\")) . \"	\n		<!--IBF.RULES-->\n		</div>\n		<!--ipb.leftlinks.end-->\n		<!--ipb.rightlinks.start-->\n		<div id=\'submenu_right\'>\n			<a href=\\\"{$this->ipsclass->base_url}act=Help\\\">{$this->ipsclass->lang[\'tb_help\']}</a>\n			<a href=\\\"{$this->ipsclass->base_url}act=Search&amp;f={$this->ipsclass->input[\'f\']}\\\" id=\\\"ipb-tl-search\\\">{$this->ipsclass->lang[\'tb_search\']}</a>\n			<a href=\\\"{$this->ipsclass->base_url}act=Members\\\">{$this->ipsclass->lang[\'tb_mlist\']}</a>\n			<a href=\\\"{$this->ipsclass->base_url}act=calendar\\\">{$this->ipsclass->lang[\'tb_calendar\']}</a>\n			\" . (($component_links != \"\") ? (\"\n				{$component_links}\n			\") : (\"\")) . \"\n			<div class=\'popupmenu-new\' id=\'ipb-tl-search_menu\' style=\'display:none;width:210px\'>\n				<form action=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=01\\\" method=\\\"post\\\">\n					<input type=\'hidden\' name=\'forums\' id=\'gbl-search-forums\' value=\'all\' /> \n					<input type=\\\"text\\\" size=\\\"20\\\" name=\\\"keywords\\\" id=\'ipb-tl-search-box\' />\n					<input class=\\\"button\\\" type=\\\"image\\\" style=\'border:0px\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" />\n					\" . ((($this->ipsclass->input[\'act\'] == \'sf\' OR $this->ipsclass->input[\'act\'] == \'st\') AND $this->ipsclass->input[\'f\']) ? (\"\n						<br /><input type=\'checkbox\' id=\'gbl-search-checkbox\' value=\'1\' onclick=\'gbl_check_search_box()\' checked=\'checked\' /> {$this->ipsclass->lang[\'gbl_forum_search\']}\n					\") : (\"\")) . \"\n				</form>\n				<div style=\'padding:4px\'>\n					<a href=\'{$this->ipsclass->base_url}act=Search\'>{$this->ipsclass->lang[\'gbl_more_search\']}</a>\n				</div>\n			</div>\n			<script type=\\\"text/javascript\\\">\n				ipsmenu.register( \\\"ipb-tl-search\\\", \'document.getElementById(\\\"ipb-tl-search-box\\\").focus();\' );\n				gbl_check_search_box();\n			</script>\n		</div>\n		<!--ipb.rightlinks.end-->\n	</div>\n\" . (($this->ipsclass->can_use_fancy_js != 0) ? (\"\n<script type=\\\"text/javascript\\\" src=\'jscripts/ips_xmlhttprequest.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_global_xmlenhanced.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/dom-drag.js\'></script>\n<div id=\'get-myassistant\' style=\'display:none;width:400px;text-align:left;\'>\n<div class=\\\"borderwrap\\\">\n <div class=\'maintitle\' id=\'myass-drag\' title=\'{$this->ipsclass->lang[\'myass_drag\']}\'>\n  <div style=\'float:right\'><a href=\'#\' onclick=\'document.getElementById(\\\"get-myassistant\\\").style.display=\\\"none\\\"\'>[X]</a></div>\n  <div>{$this->ipsclass->lang[\'myass_title\']}</div>\n </div>\n <div id=\'myass-content\' style=\'overflow-x:auto;\'></div>\n </div>\n</div>\n<!-- Loading Layer -->\n<div id=\'loading-layer\' style=\'display:none\'>\n	<div id=\'loading-layer-shadow\'>\n	   <div id=\'loading-layer-inner\'>\n	 	<img src=\'style_images/<#IMG_DIR#>/loading_anim.gif\' border=\'0\' alt=\'{$this->ipsclass->lang[\'ajax_loading_msg\']}\' />\n		<span style=\'font-weight:bold\' id=\'loading-layer-text\'>{$this->ipsclass->lang[\'ajax_loading_msg\']}</span>\n	    </div>\n	</div>\n</div>\n<!-- / Loading Layer -->\n<!-- Msg Layer -->\n<div id=\'ipd-msg-wrapper\'>\n	<div id=\'ipd-msg-title\'>\n		<a href=\'#\' onclick=\'document.getElementById(\\\"ipd-msg-wrapper\\\").style.display=\\\"none\\\"; return false;\'><img src=\'style_images/<#IMG_DIR#>/close.png\' alt=\'X\' title=\'Close Window\' class=\'ipd\' /></a> &nbsp; <strong>{$this->ipsclass->lang[\'gbl_sitemsg_header\']}</strong>\n	</div>\n	<div id=\'ipd-msg-inner\'><span style=\'font-weight:bold\' id=\'ipd-msg-text\'></span><div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'gbl_auto_close\']}</div></div>\n</div><br/>\n<a href=\\\"http://www.gametracker.com/server_info/66.55.155.154:27015/\\\" target=\\\"_blank\\\">\n<img src=\\\"http://cache.www.gametracker.com/server_info/66.55.155.154:27015/b_560x95.png\\\" border=\\\"0\\\" />\n</a><br/>\n<form action=\\\"https://www.paypal.com/cgi-bin/webscr\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"cmd\\\" value=\\\"_xclick\\\">\n<input type=\\\"hidden\\\" name=\\\"business\\\" value=\\\"donloder@rogers.com\\\">\n<input type=\\\"hidden\\\" name=\\\"item_name\\\" value=\\\"Lord of Destruction\\\">\n<input type=\\\"hidden\\\" name=\\\"item_number\\\" value=\\\"Clanlod\\\">\n<input type=\\\"hidden\\\" name=\\\"no_shipping\\\" value=\\\"0\\\">\n<input type=\\\"hidden\\\" name=\\\"no_note\\\" value=\\\"1\\\">\n<input type=\\\"hidden\\\" name=\\\"currency_code\\\" value=\\\"USD\\\">\n<input type=\\\"hidden\\\" name=\\\"tax\\\" value=\\\"0\\\">\n<input type=\\\"hidden\\\" name=\\\"lc\\\" value=\\\"CA\\\">\n<input type=\\\"hidden\\\" name=\\\"bn\\\" value=\\\"PP-DonationsBF\\\">\n<input type=\\\"image\\\" src=\\\"https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif\\\" border=\\\"0\\\" name=\\\"submit\\\" alt=\\\"Make payments with PayPal - it\'s fast, free and secure!\\\">\n<img alt=\\\"\\\" border=\\\"0\\\" src=\\\"https://www.paypal.com/en_US/i/scr/pixel.gif\\\" width=\\\"1\\\" height=\\\"1\\\">\n</form>\n<!-- Msg Layer -->\n\") : (\"\")) . \"\n<!-- / End board header -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_board_header_component_link:desc::trigger:>\n//===========================================================================\nfunction global_board_header_component_link($url=\"\",$title=\"\",$component_db_row=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'ipb-top-right-link\'><a href=\\\"{$url}\\\">{$title}</a></div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_footer_synd_link:desc::trigger:>\n//===========================================================================\nfunction global_footer_synd_link($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\\\"<a href=\'{$data[\'url\']}\' style=\'color:black\'>{$data[\'title\']}</a>\\\",\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_footer_synd_wrapper:desc::trigger:>\n//===========================================================================\nfunction global_footer_synd_wrapper($content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img id=\\\"rss-syndication\\\" src=\'{$this->ipsclass->vars[\'img_url\']}/rss.png\' border=\'0\' alt=\'RSS\' class=\'ipd\' />\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n  menu_build_menu(\n  \\\"rss-syndication\\\",\n  new Array( $content\n           ) );\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_lang_chooser:desc::trigger:>\n//===========================================================================\nfunction global_lang_chooser($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}setlanguage=1\\\" name=\\\"langselectorbox\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"langurlbits\\\" value=\\\"{$this->ipsclass->query_string_safe}&amp;cal_id={$this->ipsclass->input[\'cal_id\']}\\\" />\n	<select name=\\\"langid\\\" onchange=\\\"chooselang(this)\\\">\n		<optgroup label=\\\"{$this->ipsclass->lang[\'global_language\']}\\\">\n			$data\n		</optgroup>\n	</select>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_quick_stats:desc::trigger:>\n//===========================================================================\nfunction global_quick_stats($time=\"\",$gzip=\"\",$load=\"\",$sql=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\'{$this->ipsclass->vars[\'img_url\']}/stat_time.gif\' border=\'0\' style=\'vertical-align:middle\' alt=\'\' /> {$time} {$this->ipsclass->lang[\'stats_sec\']}\n&nbsp;&nbsp;<img src=\'{$this->ipsclass->vars[\'img_url\']}/stat_load.gif\' border=\'0\' style=\'vertical-align:middle\' alt=\'\' /> $load\n&nbsp;&nbsp;<img src=\'{$this->ipsclass->vars[\'img_url\']}/stat_sql.gif\' border=\'0\' style=\'vertical-align:middle\' alt=\'\' /> $sql <a href=\'{$this->ipsclass->base_url}{$this->ipsclass->query_string_safe}&amp;debug=1\'>{$this->ipsclass->lang[\'stats_queries\']}</a>\n&nbsp;&nbsp;<img src=\'{$this->ipsclass->vars[\'img_url\']}/stat_gzip.gif\' border=\'0\' style=\'vertical-align:middle\' alt=\'\' /> $gzip\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_rss_link:desc::trigger:>\n//===========================================================================\nfunction global_rss_link($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<link rel=\\\"alternate\\\" type=\\\"application/rss+xml\\\" title=\\\"{$data[\'title\']}\\\" href=\\\"{$data[\'url\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_skin_chooser:desc::trigger:>\n//===========================================================================\nfunction global_skin_chooser($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}setskin=1\\\" name=\\\"skinselectorbox\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"skinurlbits\\\" value=\\\"{$this->ipsclass->query_string_safe}&amp;cal_id={$this->ipsclass->input[\'cal_id\']}\\\" />\n	<select name=\\\"skinid\\\" onchange=\\\"chooseskin(this)\\\">\n		<optgroup label=\\\"{$this->ipsclass->lang[\'global_skinselector\']}\\\">\n			$data\n		</optgroup>\n	</select>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_bar:desc::trigger:>\n//===========================================================================\nfunction member_bar($msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($this->ipsclass->member[\'id\']) ? (\"\n<div id=\\\"userlinks\\\">\n	<p class=\\\"home\\\"><b>{$this->ipsclass->lang[\'logged_in_as\']} <a href=\\\"{$this->ipsclass->base_url}showuser={$this->ipsclass->member[\'id\']}\\\">{$this->ipsclass->member[\'members_display_name\']}</a></b> ( <a href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=03&amp;k={$this->ipsclass->md5_check}\\\">{$this->ipsclass->lang[\'log_out\']}</a> )</p>\n	<p>\n\") : (\"\n<div id=\\\"userlinksguest\\\">\n	<p class=\\\"pcen\\\"><b>{$this->ipsclass->lang[\'guest_stuff\']}</b> ( <a href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=00\\\">{$this->ipsclass->lang[\'log_in\']}</a> | <a href=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=00\\\">{$this->ipsclass->lang[\'register\']}</a> )\n\")) . \"\n\" . (($this->ipsclass->member[\'mgroup\'] == $this->ipsclass->vars[\'auth_group\']) ? (\"\n	<b><a href=\\\"{$this->ipsclass->base_url}act=reg&amp;CODE=reval\\\">{$this->ipsclass->lang[\'resend_val\']}</a></b> &middot;\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'g_access_cp\'] == 1 AND $this->ipsclass->vars[\'security_remove_acp_link\'] == 0) ? (\"\n	<b><a href=\\\"{$this->ipsclass->vars[\'_admin_link\']}\\\" target=\\\"_blank\\\">{$this->ipsclass->lang[\'admin_cp\']}</a></b> &middot;\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'has_blog\'] == 1) ? (\"\n	<b><a href=\\\"{$this->ipsclass->base_url}automodule=blog&amp;req=showblog&amp;mid={$this->ipsclass->member[\'id\']}\\\">{$this->ipsclass->lang[\'myblog\']}</a></b> &middot;\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'has_gallery\'] == 1) ? (\"\n	<b><a href=\\\"{$this->ipsclass->base_url}autocom=gallery&amp;req=user&amp;user={$this->ipsclass->member[\'id\']}\\\">{$this->ipsclass->lang[\'submenu_albums\']}</a></b> &middot;\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'id\']) ? (\"\n	<b><a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=00\\\" title=\\\"{$this->ipsclass->lang[\'cp_tool_tip\']}\\\">{$this->ipsclass->lang[\'your_cp\']}</a></b> &middot;&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=getnew\\\">{$this->ipsclass->lang[\'view_new_posts\']}</a>\n	\" . (($this->ipsclass->member[\'g_view_board\']) ? (\"\n		&middot;&nbsp;<a href=\\\"javascript:buddy_pop();\\\" title=\\\"{$this->ipsclass->lang[\'bb_tool_tip\']}\\\">{$this->ipsclass->lang[\'l_qb\']}</a>\n	\") : (\"\")) . \"\n	&middot;&nbsp;<a href=\\\"javascript:friends_pop();\\\">{$this->ipsclass->lang[\'gbl_my_friends\']}</a>	\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'g_use_pm\'] AND $this->ipsclass->member[\'members_disable_pm\'] == 0) ? (\"\n	&middot;&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=01\\\">{$msg[\'TEXT\']}</a>\n\") : (\"\")) . \"\n	</p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_bar_disabled:desc::trigger:>\n//===========================================================================\nfunction member_bar_disabled() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\\\"userlinksguest\\\">\n	<p class=\\\"pcen\\\">{$this->ipsclass->lang[\'mb_disabled\']}</p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:msg_get_new_pm_notification:desc::trigger:>\n//===========================================================================\nfunction msg_get_new_pm_notification($msg=\"\",$xml=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n\" . (($xml != 1) ? (\"\n<div class=\'borderwrap\' id=\'pmpop-nojs\'>\n <div class=\'maintitle\'>\n  <div style=\'float:right;\'><a href=\'{$this->ipsclass->base_url}act=Msg&amp;CODE=03&amp;MSID={$msg[\'mt_id\']}&amp;VID=in\'>{$this->ipsclass->lang[\'global_pm_read\']} &raquo;</a></div>\n  <div>{$this->ipsclass->lang[\'global_pm_title\']}</div>\n </div>\n\") : (\"\")) . \"\n  <div class=\'pp-contentbox-back\' id=\'pmpop-ajax\'>\n	<div class=\'pp-contentbox-entry-noheight\'>\n   	<div class=\'borderwrap\'>\n   	 <table width=\'100%\' style=\'padding:0px;\'>\n   	  <tr>\n   	   <td class=\'row2\' style=\'padding:4px;\'>\n   	   \" . (($xml == 1) ? (\"\n   	   <div style=\'float:right;\'><a href=\'#\' onclick=\'xml_myassistant_init(\\\"newpms\\\")\'>{$msg[\'_cur_num\']}/{$msg[\'_msg_total\']}</a></div>\n   	   \") : (\"\")) . \"\n   	   <strong><a href=\'{$this->ipsclass->base_url}act=Msg&amp;CODE=03&amp;MSID={$msg[\'mt_id\']}&amp;VID=in\'>{$msg[\'mt_title\']}</a></strong> ( {$this->ipsclass->lang[\'global_pm_from\']}: {$msg[\'members_display_name\']} )\n   	   </td>\n	  </tr>\n	 </table>\n	<div class=\'post1\' style=\'padding:4px;\'>{$msg[\'msg_post\']}</div>\n	<div align=\'center\' class=\'row2\' style=\'padding:4px;\'>\n	  {$msg[\'members_display_name\']} {$this->ipsclass->lang[\'pmp_part1\']} {$msg[\'g_title\']} {$this->ipsclass->lang[\'pmp_part2\']} {$msg[\'posts\']} {$this->ipsclass->lang[\'pmp_part3\']}\n	  <br />\n	  {$this->ipsclass->lang[\'global_pm_sent\']}: {$msg[\'msg_date\']}\n	</div>\n  </div>\n </div>\n</div>\n\" . (($xml != 1) ? (\"\n </div>\n\") : (\"\")) . \"\n<script type=\'text/javascript\'>\n//<![CDATA[\n if ( use_enhanced_js )\n {\n 	document.getElementById(\'pmpop-nojs\').style.display = \'none\';\n 	xml_myassistant_init(\\\"newpms\\\");\n }\n \n//]]>\n</script>\n<!-- END PM -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_compile:desc::trigger:>\n//===========================================================================\nfunction pagination_compile($start=\"\",$previous_link=\"\",$start_dots=\"\",$pages=\"\",$end_dots=\"\",$next_link=\"\",$total_pages=\"\",$per_page=\"\",$base_link=\"\",$no_dropdown=0,$st=\'st\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$start}{$start_dots}{$previous_link}{$pages}{$next_link}{$end_dots}\n\" . ((! $no_dropdown) ? (\"\n	<script type=\\\"text/javascript\\\">\n	//<![CDATA[\n	ipb_pages_shown++;\n	var pgjmp = document.getElementById( \'page-jump\' );\n	pgjmp.id  = \'page-jump-\'+ipb_pages_shown;\n	ipb_pages_array[ ipb_pages_shown ] = new Array( \'{$base_link}\', $per_page, $total_pages );\n	menu_build_menu(\n		pgjmp.id,\n		new Array(  \\\"~~NODIV~~<div onmouseover=\'pages_st_focus(\\\"+ipb_pages_shown+\\\")\' class=\'popupmenu-category\' align=\'center\'>{$this->ipsclass->lang[\'global_page_jump\']}</div>\\\",\n					\\\"<input type=\'hidden\' id=\'st-type-\\\"+ipb_pages_shown+\\\"\' value=\'{$st}\' /><input type=\'text\' size=\'5\' name=\'st\' id=\'st-\\\"+ipb_pages_shown+\\\"\' onkeydown=\'check_enter(\\\"+ipb_pages_shown+\\\", event);\' /> <input type=\'button\' class=\'button\' onclick=\'do_multi_page_jump(\\\"+ipb_pages_shown+\\\");\' value=\'{$this->ipsclass->lang[\'jmp_go\']}\' />\\\" ) );\n	//]]>\n	</script>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_current_page:desc::trigger:>\n//===========================================================================\nfunction pagination_current_page($page=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<span class=\\\"pagecurrent\\\">{$page}</span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_end_dots:desc::trigger:>\n//===========================================================================\nfunction pagination_end_dots($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<span class=\\\"pagelinklast\\\"><a href=\\\"$url\\\" title=\\\"{$this->ipsclass->lang[\'tpl_gotolast\']}\\\">&raquo;</a></span>&nbsp;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_make_jump:desc::trigger:>\n//===========================================================================\nfunction pagination_make_jump($pages=1,$no_dropdown=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($no_dropdown) ? (\"\n	<span class=\\\"pagelink\\\" id=\'page-jump\'>$pages {$this->ipsclass->lang[\'tpl_pages\']}</span>&nbsp;\n\") : (\"\n	<span class=\\\"pagelink\\\" id=\'page-jump\'>$pages {$this->ipsclass->lang[\'tpl_pages\']} <img src=\'{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\' alt=\'V\' title=\'{$this->ipsclass->lang[\'global_open_menu\']}\' border=\'0\' /></span>&nbsp;\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_next_link:desc::trigger:>\n//===========================================================================\nfunction pagination_next_link($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<span class=\\\"pagelink\\\"><a href=\\\"$url\\\" title=\\\"{$this->ipsclass->lang[\'tpl_next\']}\\\">&gt;</a></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_page_link:desc::trigger:>\n//===========================================================================\nfunction pagination_page_link($url=\"\",$page=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<span class=\\\"pagelink\\\"><a href=\\\"$url\\\" title=\\\"$page\\\">$page</a></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_previous_link:desc::trigger:>\n//===========================================================================\nfunction pagination_previous_link($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<span class=\\\"pagelink\\\"><a href=\\\"$url\\\" title=\\\"{$this->ipsclass->lang[\'tpl_prev\']}\\\">&lt;</a></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_start_dots:desc::trigger:>\n//===========================================================================\nfunction pagination_start_dots($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<span class=\\\"pagelinklast\\\"><a href=\\\"$url\\\" title=\\\"{$this->ipsclass->lang[\'tpl_gotofirst\']}\\\">&laquo;</a></span>&nbsp;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_gender_image:desc::trigger:>\n//===========================================================================\nfunction personal_portal_gender_image($member=array(),$noid=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($member[\'pp_gender\']) ? (\"\n	\" . (($member[\'pp_gender\'] == \'male\') ? (\"\n		<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_male.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" style=\'vertical-align:top\' alt=\'\' border=\'0\' />\n	\") : (\"\n		\" . (($member[\'pp_gender\'] == \'female\') ? (\"\n			<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_female.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" alt=\'\' border=\'0\' />\n		\") : (\"\")) . \"\n	\")) . \"\n\") : (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_mystery.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" alt=\'\' border=\'0\' />\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_online_image:desc::trigger:>\n//===========================================================================\nfunction personal_portal_online_image($member=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($member[\'_online\']) ? (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/user-online.png\' alt=\'\' border=\'0\' />\") : (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/user-offline.png\' alt=\'\' border=\'0\' />\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pop_up_window:desc::trigger:>\n//===========================================================================\nfunction pop_up_window($title=\"\",$css=\"\",$text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!DOCTYPE html PUBLIC \\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\"> \n<html xml:lang=\\\"en\\\" lang=\\\"en\\\" xmlns=\\\"http://www.w3.org/1999/xhtml\\\"> \n	<head> \n		<meta http-equiv=\\\"content-type\\\" content=\\\"text/html; charset=<% CHARSET %>\\\" /> \n		<title>$title</title>\n		$css\n		<script type=\\\"text/javascript\\\">\n		 //<![CDATA[\n		 var ipb_var_st            = \\\"{$this->ipsclass->input[\'st\']}\\\";\n		 var ipb_lang_tpl_q1       = \\\"{$this->ipsclass->lang[\'tpl_q1\']}\\\";\n		 var ipb_var_s             = \\\"{$this->ipsclass->session_id}\\\";\n		 var ipb_var_phpext        = \\\"{$this->ipsclass->vars[\'php_ext\']}\\\";\n		 var ipb_var_base_url      = \\\"{$this->ipsclass->js_base_url}\\\";\n		 var ipb_var_image_url     = \\\"{$this->ipsclass->vars[\'img_url\']}\\\";\n		 var ipb_input_f           = \\\"{$this->ipsclass->input[\'f\']}\\\";\n		 var ipb_input_t           = \\\"{$this->ipsclass->input[\'t\']}\\\";\n		 var ipb_input_p           = \\\"{$this->ipsclass->input[\'p\']}\\\";\n		 var ipb_var_cookieid      = \\\"{$this->ipsclass->vars[\'cookie_id\']}\\\";\n		 var ipb_var_cookie_domain = \\\"{$this->ipsclass->vars[\'cookie_domain\']}\\\";\n		 var ipb_var_cookie_path   = \\\"{$this->ipsclass->vars[\'cookie_path\']}\\\";\n		 var ipb_md5_check         = \\\"{$this->ipsclass->md5_check}\\\";\n		 var ipb_new_msgs          = parseInt(\\\"{$this->ipsclass->member[\'new_msg\']}\\\");\n		 var use_enhanced_js       = {$this->ipsclass->can_use_fancy_js};\n		 var use_charset           = \\\"{$this->ipsclass->vars[\'gb_char_set\']}\\\";\n		 var ipb_myass_chars_lang  = \\\"{$this->ipsclass->lang[\'myass_chars\']}\\\";\n		 //]]>\n		</script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ips_ipsclass.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_global.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ips_menu.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'{$this->ipsclass->vars[\'img_url\']}/folder_js_skin/ips_menu_html.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'cache/lang_cache/{$this->ipsclass->lang_id}/lang_javascript.js\'></script>\n		<script type=\\\"text/javascript\\\">\n		//<![CDATA[\n		var ipsclass = new ipsclass();\n		ipsclass.init();\n		//]]>\n		</script>\n		\" . (($this->ipsclass->can_use_fancy_js != 0) ? (\"\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ips_xmlhttprequest.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_global_xmlenhanced.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/dom-drag.js\'></script>\n	</head>\n	<body<{__body_extra__}>>\n	<div id=\'get-myassistant\' style=\'display:none;width:400px;text-align:left;\'>\n	<div class=\\\"borderwrap\\\">\n	 <div class=\'maintitle\' id=\'myass-drag\' title=\'{$this->ipsclass->lang[\'myass_drag\']}\'>\n	  <div style=\'float:right\'><a href=\'#\' onclick=\'document.getElementById(\\\"get-myassistant\\\").style.display=\\\"none\\\"\'>[X]</a></div>\n	  <div>{$this->ipsclass->lang[\'myass_title\']}</div>\n	 </div>\n	 <div id=\'myass-content\' style=\'overflow-x:auto;\'></div>\n	 </div>\n	</div>\n	<!-- Loading Layer -->\n	<div id=\'loading-layer\' style=\'display:none\'>\n		<div id=\'loading-layer-shadow\'>\n		   <div id=\'loading-layer-inner\'>\n		 	<img src=\'style_images/<#IMG_DIR#>/loading_anim.gif\' border=\'0\' />\n			<span style=\'font-weight:bold\' id=\'loading-layer-text\'>{$this->ipsclass->lang[\'ajax_loading_msg\']}</span>\n		    </div>\n		</div>\n	</div>\n	<!-- / Loading Layer -->\n	<!-- Msg Layer -->\n	<div id=\'ipd-msg-wrapper\'>\n		<div id=\'ipd-msg-title\'>\n			<a href=\'#\' onclick=\'document.getElementById(\\\"ipd-msg-wrapper\\\").style.display=\\\"none\\\"; return false;\'><img src=\'style_images/<#IMG_DIR#>/close.png\' alt=\'X\' title=\'Close Window\' class=\'ipd\'></a> &nbsp; <strong>{$this->ipsclass->lang[\'gbl_sitemsg_header\']}</strong>\n		</div>\n		<div id=\'ipd-msg-inner\'><span style=\'font-weight:bold\' id=\'ipd-msg-text\'></span><div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'gbl_auto_close\']}</div></div>\n	</div>\n	<!-- Msg Layer -->\n	\") : (\"\")) . \"\n		<div style=\'text-align:left\'> \n			$text\n		</div>\n		<script type=\'text/javascript\'>\n		//<![CDATA[\n		menu_do_global_init();\n		show_inline_messages();\n		if ( is_ie )\n		{\n			ie_fix_png();\n		}\n		//]]>\n		</script>\n	</body>\n</html>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Redirect:desc::trigger:>\n//===========================================================================\nfunction Redirect($Text=\"\",$Url=\"\",$css=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!DOCTYPE html PUBLIC \\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\"> \n<html xml:lang=\\\"en\\\" lang=\\\"en\\\" xmlns=\\\"http://www.w3.org/1999/xhtml\\\"> \n	<head>\n	    <meta http-equiv=\\\"content-type\\\" content=\\\"text/html; charset=<% CHARSET %>\\\" /> \n		<title>{$this->ipsclass->lang[\'stand_by\']}</title>\n		<meta http-equiv=\\\"refresh\\\" content=\\\"2; url=$Url\\\" />\n		$css\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n	// Fix Mozilla bug: 209020\n	if ( navigator.product == \'Gecko\' )\n	{\n		navstring = navigator.userAgent.toLowerCase();\n		geckonum  = navstring.replace( /.*gecko\\/(\\d+)/, \\\"$1\\\" );\n		\n		setTimeout(\\\"moz_redirect()\\\",1500);\n	}\n	\n	function moz_redirect()\n	{\n		var url_bit     = \\\"{$Url}\\\";\n		window.location = url_bit.replace( new RegExp( \\\"&amp;\\\", \\\"g\\\" ) , \'&\' );\n	}\n	//>\n	</script>\n	</head>\n	<body>\n		<div id=\\\"redirectwrap\\\">\n			<h4>{$this->ipsclass->lang[\'thanks\']}</h4>\n			<p>$Text<br /><br />{$this->ipsclass->lang[\'transfer_you\']}</p>\n			<p class=\\\"redirectfoot\\\">(<a href=\\\"$Url\\\">{$this->ipsclass->lang[\'dont_wait\']}</a>)</p>\n		</div>\n	</body>\n</html>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:rules_link:desc::trigger:>\n//===========================================================================\nfunction rules_link($url=\"\",$title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($url AND $title) ? (\"\n	<div class=\'ipb-top-left-link\'><a href=\\\"$url\\\">$title</a></div>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:signature_separator:desc::trigger:>\n//===========================================================================\nfunction signature_separator($sig=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br /><br />--------------------<br />\n<div class=\\\"signature\\\">$sig</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:start_nav:desc::trigger:>\n//===========================================================================\nfunction start_nav() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\\\"navstrip\\\"><{F_NAV}>&nbsp;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3);
INSERT INTO `ibf_skin_templates_cache` (`template_id`, `template_group_name`, `template_group_content`, `template_set_id`) VALUES ('1217ce7a0831fc204940d1095bccc338','skin_ucp','class skin_ucp_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:aboutme:desc::trigger:>\n//===========================================================================\nfunction aboutme($preview_about_me=\"\",$editor_html=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form id=\'postingform\' onsubmit=\'return ValidateForm()\' action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=about_me_save\\\" method=\\\"post\\\" name=\\\"REPLIER\\\">\n<input type=\'hidden\' name=\'key\' value=\'{$key}\' />\n<input type=\'hidden\' name=\'removeattachid\' value=\'0\' />\n <div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cp_current_aboutme\']}</div>\n <div class=\\\"post1\\\" style=\\\"padding: 5px;\\\">{$preview_about_me}</div>\n <div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cp_edit_aboutme\']}</div>\n <div class=\'row1\' align=\'center\' style=\'padding:3px\'>{$editor_html}</div>\n <div class=\'formsubtitle\' align=\'center\'><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cp_submit_aboutme\']}\\\" /></div>\n</form>\n<br clear=\'all\' />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:attachments_row:desc::trigger:>\n//===========================================================================\nfunction attachments_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr id=\\\"{$data[\'attach_id\']}\\\">\n		<td align=\\\"center\\\" class=\\\"row1\\\"><img src=\\\"{$this->ipsclass->vars[\'mime_img\']}/{$data[\'image\']}\\\" alt=\\\"{$this->ipsclass->lang[\'attached_file\']}\\\" /></td>\n		<td class=\\\"row2\\\">\n			<a href=\\\"{$this->ipsclass->base_url}act=Attach&amp;type={$data[\'_type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$data[\'attach_file\']}\\\" target=\\\"_blank\\\">{$data[\'short_name\']}</a>\n			<div class=\\\"desc\\\">( {$this->ipsclass->lang[\'attach_hits\']}: {$data[\'attach_hits\']} )</div>\n		</td>\n		<td align=\\\"center\\\" class=\\\"row1\\\">{$data[\'real_size\']}</td>\n		<td class=\\\"row2\\\">\n\" . (($data[\'attach_rel_id\'] > 0 AND $data[\'attach_rel_module\'] == \'post\') ? (\"\n<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;view=findpost&amp;p={$data[\'attach_rel_id\']}\\\">{$data[\'title\']}</a>\n\") : (\"\n{$data[\'title\']}\n\")) . \"\n				<br />\n			<span class=\\\"desc\\\">{$data[\'attach_date\']}</span>\n		</td>\n		<td class=\\\"row2\\\" align=\\\"center\\\"><input type=\\\"checkbox\\\" name=\\\"attach_{$data[\'attach_id\']}\\\" value=\\\"1\\\" class=\\\"checkbox\\\" /></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:attachments_top:desc::trigger:>\n//===========================================================================\nfunction attachments_top($info=\"\",$pages=\"\",$attach_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'m_attach\']}</div>\n\" . (($info[\'has_limit\'] == 1) ? (\"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td valign=\\\"middle\\\">\n				<!-- LEFT -->\n				<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n					<tr>\n						<td class=\\\"row1\\\" colspan=\\\"3\\\">{$this->ipsclass->lang[\'attach_space_used\']}</td>\n					</tr>\n					<tr>\n						<td valign=\\\"middle\\\" class=\\\"row1\\\" colspan=\\\"3\\\" width=\'100%\'><{BAR_LEFT}><img src=\\\"{$this->ipsclass->vars[\'img_url\']}/bar.gif\\\" width=\\\"{$info[\'img_width\']}\\\" height=\\\"11\\\" align=\\\"middle\\\" alt=\\\"\\\" /><{BAR_RIGHT}></td>\n					</tr>\n					<tr>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" valign=\\\"middle\\\">0%</td>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" align=\\\"center\\\" valign=\\\"middle\\\">50%</td>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" align=\\\"right\\\" valign=\\\"middle\\\">100%</td>\n					</tr>\n				</table>\n			</td>\n			\n			<!-- RIGHT -->\n			<td align=\\\"right\\\" valign=\\\"bottom\\\">$pages<br /><br />{$this->ipsclass->lang[\'attach_space_count\']}</td>\n		</tr>\n	</table>\n\") : (\"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td>\n			<!-- LEFT -->\n			{$this->ipsclass->lang[\'attach_space_used\']}\n		</td>\n		<td align=\\\"right\\\">\n			<!-- RIGHT -->\n			$pages\n		</td>\n	</tr>\n</table>\n\")) . \"\n<!-- ATTACHMENTS TABLE -->\n  \n<form action=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=attach&amp;sort={$this->ipsclass->input[\'sort\']}\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"2%\\\">&nbsp;</th>\n			<th width=\\\"35%\\\"><b>{$this->ipsclass->lang[\'attach_title\']}</b></th>\n			<th width=\\\"5%\\\"><b>{$this->ipsclass->lang[\'attach_hsize\']}</b></th>\n			<th width=\\\"27%\\\"><b>{$this->ipsclass->lang[\'attach_topic\']}</b></th>\n			<th width=\\\"5%\\\" align=\\\"center\\\" style=\'padding:1px;\'><input name=\\\"allbox\\\" type=\\\"checkbox\\\" class=\'checkbox\' value=\\\"Check All\\\" onclick=\\\"InboxCheckAll();\\\" /></th>\n		</tr>\n\" . (($attach_html != \"\") ? (\"\n{$attach_html}\n		<tr>\n			<td colspan=\\\"5\\\" align=\\\"right\\\" class=\\\"formbuttonrow\\\"><input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'attach_delete\']}\\\" class=\\\"button\\\" /></td>\n		</tr>\n\") : (\"\n<tr>\n			<td colspan=\\\"5\\\" align=\\\"center\\\" class=\'row2\'><strong>{$this->ipsclass->lang[\'splash_noattach\']}</strong></td>\n		</tr>\n\")) . \"\n	</table>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_autosize:desc::trigger:>\n//===========================================================================\nfunction avatar_autosize() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\">&nbsp;</td>\n		<td class=\\\"pformright\\\"><b>{$this->ipsclass->lang[\'av_autosize\']}</b><br />({$this->ipsclass->lang[\'av_as_desc\']})</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_external_title:desc::trigger:>\n//===========================================================================\nfunction avatar_external_title() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'avatar_url_title\']}</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_blank_row:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_blank_row() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td>&nbsp;</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_cell_row:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_cell_row($img=\"\",$txt=\"\",$form=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td align=\\\"center\\\"><img src=\\\"style_avatars{$img}\\\" alt=\\\"txt\\\" /><br /><input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"avatar\\\" value=\\\"$form\\\" id=\\\"$form\\\" />&nbsp;<b><label for=\\\"$form\\\">$txt</label></b></td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_end_row:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_end_row() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_end_table:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_end_table() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n<div align=\\\"center\\\" class=\\\"formsubtitle\\\">\n	<input type=\\\"submit\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'av_gall_submit\']}\\\" />\n	&nbsp;&nbsp;&nbsp;<input type=\\\"button\\\" class=\'button\' name=\\\"remove\\\" onclick=\\\"self.location=\'{$this->ipsclass->base_url}act=UserCP&amp;CODE=24\';\\\" value=\\\"{$this->ipsclass->lang[\'av_gall_cancel\']}\\\" />\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_start_row:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_start_row() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_gallery_start_table:desc::trigger:>\n//===========================================================================\nfunction avatar_gallery_start_table($title=\"\",$av_gals=\"\",$current_folder=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'av_gallery_title\']} $title</div>\n<form action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=getgallery\\\" method=\\\"post\\\">\n	<div id=\\\"padandcenter\\\"><b>{$this->ipsclass->lang[\'av_gall_jump\']}</b>&nbsp;$av_gals&nbsp;&nbsp;<input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'av_go_go\']}\\\" name=\\\"submit\\\" /></div>\n</form>\n<form action=\\\"{$this->ipsclass->base_url}auth_key=$key\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"setinternalavatar\\\" />\n<input type=\\\"hidden\\\" name=\\\"current_folder\\\" value=\\\"$current_folder\\\" />\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_limits:desc::trigger:>\n//===========================================================================\nfunction avatar_limits() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'av_settings\']}</div>\n	<p>{$this->ipsclass->lang[\'av_text_url\']} {$this->ipsclass->lang[\'av_text_upload\']}<br />{$this->ipsclass->lang[\'av_allowed_files\']}</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_main:desc::trigger:>\n//===========================================================================\nfunction avatar_main($data=\"\",$formextra=\"\",$hidden_field=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nvar url_input      = \\\"{$data[\'current_url_avatar\']}\\\";\nvar remove_pressed = 0;\n	function select_url(){\n		restore_it();\n	}\n	\n	function select_upload(){\n		try{\n			if ( document.creator.url_avatar.value != \\\"\\\" ) {\n				url_input = document.creator.url_avatar.value;\n			}\n			document.creator.url_avatar.value = \\\"\\\";\n		}\n		catch(nourl){\n			return true;\n		}\n	}\n	\n	function restore_it(){\n		if (url_input != \\\"\\\"){\n			document.creator.url_avatar.value = url_input;\n			}\n		}\n	function checkform(){\n		if ( remove_pressed != 1 ){\n			return true;\n		}\n	\n		else{\n			fcheck = confirm(\\\"{$this->ipsclass->lang[\'av_confirm\']}\\\");\n			if ( fcheck == true ){\n				return true;\n			}\n			else{\n				remove_pressed = 0;\n				return false;\n				}\n			}\n	}\n-->\n</script>\n<!--IBF.LIMITS_AVATAR-->\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'av_current\']}</div>\n<div class=\\\"tablepad\\\" align=\\\"center\\\">{$data[\'current_avatar_image\']}<br />{$data[\'current_avatar_type\']} {$data[\'current_avatar_dims\']}</div>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'avatar_pre_title\']}</div>\n<form action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=getgallery\\\" method=\\\"post\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'av_go_gal\']}</td>\n			<td class=\\\"pformright\\\">{$data[\'avatar_galleries\']}&nbsp;&nbsp;<input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'av_go_go\']}\\\" name=\\\"submit\\\" /></td>\n		</tr>\n	</table>\n</form>\n<form action=\\\"{$this->ipsclass->base_url}auth_key=$key\\\" method=\\\"post\\\" $formextra name=\\\"creator\\\" onsubmit=\\\"return checkform();\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"25\\\" />\n$hidden_field\n<!--IBF.EXTERNAL_TITLE-->\n<!--IBF.URL_AVATAR-->\n<!--IBF.UPLOAD_AVATAR-->\n<!--IPB.SIZE-->\n	<div align=\\\"center\\\" class=\\\"formsubtitle\\\">\n		<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'av_update\']}\\\" class=\'button\' />\n		&nbsp;&nbsp;&nbsp;<input type=\\\"submit\\\" name=\\\"remove\\\" onclick=\\\"remove_pressed=1;\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'av_remove\']}\\\" />\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_mansize:desc::trigger:>\n//===========================================================================\nfunction avatar_mansize() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\">&nbsp;</td>\n		<td class=\\\"pformright\\\"><b>{$this->ipsclass->lang[\'width\']}</b>&nbsp;<input type=\\\"text\\\" size=\\\"3\\\" name=\\\"man_width\\\" />&nbsp;&nbsp;<b>{$this->ipsclass->lang[\'height\']}</b>&nbsp;<input type=\\\"text\\\" size=\\\"3\\\" name=\\\"man_height\\\" /></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_upload_field:desc::trigger:>\n//===========================================================================\nfunction avatar_upload_field() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'av_upload\']}</td>\n		<td class=\\\"pformright\\\"><input type=\\\"file\\\" size=\\\"30\\\" name=\\\"upload_avatar\\\" onfocus=\\\"select_upload()\\\" onclick=\\\"select_upload()\\\" /></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:avatar_url_field:desc::trigger:>\n//===========================================================================\nfunction avatar_url_field($avatar=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'av_url\']}</td>\n		<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"80\\\" name=\\\"url_avatar\\\" value=\\\"$avatar\\\" onfocus=\\\"select_url()\\\" />&nbsp;&nbsp;(<a href=\\\"javascript:restore_it()\\\">{$this->ipsclass->lang[\'pp_restore\']}</a>)</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:CP_end:desc::trigger:>\n//===========================================================================\nfunction CP_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\n		</td>\n	</tr>\n</table>\n	<!-- end main CP area -->\n	<br style=\\\"clear: both;\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:dead_section:desc::trigger:>\n//===========================================================================\nfunction dead_section() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'dead_section_title\']}</div>\n<p>\n	{$this->ipsclass->lang[\'dead_section_text\']}\n</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:email:desc::trigger:>\n//===========================================================================\nfunction email($Profile=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}auth_key={$Profile[\'key\']}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"03\\\" />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'privacy_settings\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\'  type=\\\"checkbox\\\" name=\\\"hide_email\\\" value=\\\"1\\\" {$Profile[\'hide_email\']} /></td>\n		<td width=\\\"100%\\\">{$this->ipsclass->lang[\'hide_email\']}</td>\n	</tr>\n	<tr>\n		<td align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"admin_send\\\" value=\\\"1\\\" {$Profile[\'allow_admin_mails\']} /></td>\n		<td  width=\\\"100%\\\">{$this->ipsclass->lang[\'admin_send\']}</td>\n	</tr>\n</table>\n	<br />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'board_prefs\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"send_full_msg\\\" value=\\\"1\\\" {$Profile[\'email_full\']} /></td>\n		<td  width=\\\"100%\\\">{$this->ipsclass->lang[\'send_full_msg\']}</td>\n	</tr>\n	<tr>\n		<td align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"pm_reminder\\\" value=\\\"1\\\" {$Profile[\'email_pm\']} /></td>\n		<td  width=\\\"100%\\\">{$this->ipsclass->lang[\'pm_reminder\']}</td>\n	</tr>\n	<tr>\n		<td align=\\\"right\\\" valign=\\\"top\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"auto_track\\\" value=\\\"1\\\" {$Profile[\'auto_track\']} /></td>\n		<td  width=\\\"100%\\\">\n			{$this->ipsclass->lang[\'auto_track\']}\n				<select name=\\\"trackchoice\\\">\n					<option value=\\\"none\\\">{$this->ipsclass->lang[\'subs_none_title\']}</option>\n					<option value=\\\"immediate\\\">{$this->ipsclass->lang[\'subs_immediate\']}</option>\n					<option value=\\\"delayed\\\">{$this->ipsclass->lang[\'subs_delayed\']}</option>\n					<option value=\\\"daily\\\">{$this->ipsclass->lang[\'subs_daily\']}</option>\n					<option value=\\\"weekly\\\">{$this->ipsclass->lang[\'subs_weekly\']}</option>\n				</select>\n					<br />\n			{$this->ipsclass->lang[\'auto_track_desc\']}\n		</td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'submit_email\']}\\\" /></td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:email_change:desc::trigger:>\n//===========================================================================\nfunction email_change($txt=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\nvar msg = \\\"$msg\\\";\n	if ( msg != \\\"\\\"){\n		alert(msg);\n	}\n</script>\n<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"form1\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"09\\\" />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'change_email_title\']}</div>\n<p>\n	$txt\n</p>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"40%\\\"><b>{$this->ipsclass->lang[\'ce_new_email\']}</b></td>\n		<td><input type=\\\"text\\\" name=\\\"in_email_1\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td><b>{$this->ipsclass->lang[\'ce_new_email2\']}</b></td>\n		<td><input type=\\\"text\\\" name=\\\"in_email_2\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td><b>{$this->ipsclass->lang[\'ec_passy\']}</b></td>\n		<td><input type=\\\"password\\\" name=\\\"password\\\" value=\\\"\\\" /></td>\n	</tr>\n</table>\n<!--ANTIBOT-->\n	<div class=\\\"formsubtitle\\\" style=\\\"text-align: center;\\\"><input type=\\\"submit\\\" class=\'button\' name=\\\"change_email\\\" value=\\\"{$this->ipsclass->lang[\'account_email_submit\']}\\\" /></div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:email_change_gd:desc::trigger:>\n//===========================================================================\nfunction email_change_gd($regid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'ras_title\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"40%\\\">{$this->ipsclass->lang[\'ras_numbers\']}</td>\n		<td>\n			<input type=\\\"hidden\\\" name=\\\"regid\\\" id=\'regid\' value=\\\"$regid\\\" />\n			<img id=\'gd-antispam\' src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}\\\" alt=\\\"Code Bit\\\" title=\\\"{$this->ipsclass->lang[\'gbl_gd_reload\']}\\\" />\n		</td>\n	</tr>\n	<tr>\n		<td width=\\\"40%\\\">{$this->ipsclass->lang[\'ras_text\']}</td>\n		<td><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"32\\\" name=\\\"reg_code\\\" /></td>\n	</tr>\n</table>\n<script type=\'text/javascript\'>\n	init_gd_image();\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:email_change_img:desc::trigger:>\n//===========================================================================\nfunction email_change_img($regid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'ras_title\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"40%\\\">{$this->ipsclass->lang[\'ras_numbers\']}</td>\n		<td>\n			<input type=\\\"hidden\\\" name=\\\"regid\\\" value=\\\"$regid\\\" />\n				<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=1\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=2\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=3\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=4\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=5\\\" alt=\\\"Code Bit\\\" />\n				&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=6\\\" alt=\\\"Code Bit\\\" />\n		</td>\n	</tr>\n	<tr>\n		<td width=\\\"40%\\\">{$this->ipsclass->lang[\'ras_text\']}</td>\n		<td><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"32\\\" name=\\\"reg_code\\\" /></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_dropdown:desc::trigger:>\n//===========================================================================\nfunction field_dropdown($name=\"\",$options=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<select name=\\\"$name\\\">\n	$options\n</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_entry:desc::trigger:>\n//===========================================================================\nfunction field_entry($title=\"\",$desc=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\' valign=\'top\'>\n		<b>$title</b><br />$desc\n	</td>\n	<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n		$content\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_textarea:desc::trigger:>\n//===========================================================================\nfunction field_textarea($name=\"\",$value=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<textarea cols=\\\"60\\\" rows=\\\"5\\\" wrap=\\\"soft\\\" name=\\\"$name\\\">$value</textarea>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_textinput:desc::trigger:>\n//===========================================================================\nfunction field_textinput($name=\"\",$value=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input type=\\\"text\\\" size=\\\"50\\\" name=\\\"$name\\\" value=\'$value\' />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_jump:desc::trigger:>\n//===========================================================================\nfunction forum_jump($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n<div align=\\\"right\\\" class=\\\"row1\\\" style=\\\"padding: 5px;\\\">{$data}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_subs_end:desc::trigger:>\n//===========================================================================\nfunction forum_subs_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td align=\\\"right\\\" class=\\\"formbuttonrow\\\" valign=\\\"middle\\\" colspan=\\\"6\\\">\n			<select name=\\\"trackchoice\\\">\n				<option value=\\\"unsubscribe\\\">{$this->ipsclass->lang[\'subs_delete\']}</option>\n				<option value=\\\"none\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_none_title\']}</option>\n				<option value=\\\"immediate\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_immediate\']}</option>\n				<option value=\\\"delayed\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_delayed\']}</option>\n				<option value=\\\"daily\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_daily\']}</option>\n				<option value=\\\"weekly\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_weekly\']}</option>\n			</select>&nbsp;&nbsp;\n			<input type=\\\"submit\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'with_selected\']}\\\" />\n		</td>\n	</tr>\n</table>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_subs_header:desc::trigger:>\n//===========================================================================\nfunction forum_subs_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n<script type=\\\"text/javascript\\\">\n<!--\n	function CheckAll(cb){\n		var fmobj = document.mutliact;\n			for (var i=0;i<fmobj.elements.length;i++){\n				var e = fmobj.elements[i];\n				if ((e.name != \\\"allbox\\\") && (e.type==\\\"checkbox\\\") && (!e.disabled)){\n				e.checked = fmobj.allbox.checked;\n				}\n			}\n	}\n	function CheckCheckAll(cb){	\n		var fmobj = document.mutliact;\n		var TotalBoxes = 0;\n		var TotalOn = 0;\n			for (var i=0;i<fmobj.elements.length;i++){\n		  		var e = fmobj.elements[i];\n		 		 if ((e.name != \\\"allbox\\\") && (e.type==\\\"checkbox\\\")){\n			 		 TotalBoxes++;\n			 		 if (e.checked){\n				 		 TotalOn++;\n				 	}\n				 }\n			}\n			\n			if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}\n			else{\n				fmobj.allbox.checked=false;\n			}\n	}\n-->\n</script>\n<form action=\\\"{$this->ipsclass->base_url}\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"51\\\" />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'forum_subs_header\']}</div>\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"5%\\\">&nbsp;</th>\n			<th width=\\\"50%\\\">{$this->ipsclass->lang[\'ft_forum\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\">{$this->ipsclass->lang[\'ft_topics\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\">{$this->ipsclass->lang[\'ft_posts\']}</th>\n			<th align=\\\"center\\\" width=\\\"35%\\\">{$this->ipsclass->lang[\'ft_last_post\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\" style=\'padding: 1px;\'><input name=\\\"allbox\\\" class=\'checkbox\' type=\\\"checkbox\\\" value=\\\"Check All\\\" onclick=\\\"CheckAll();\\\" /></th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_subs_none:desc::trigger:>\n//===========================================================================\nfunction forum_subs_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"row1\\\" align=\\\"center\\\" colspan=\\\"6\\\">{$this->ipsclass->lang[\'forum_subs_none\']}</td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_subs_row:desc::trigger:>\n//===========================================================================\nfunction forum_subs_row($data=\"\",$type=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"row1\\\" align=\\\"center\\\" width=\\\"5%\\\">{$data[\'folder_icon\']}</td>\n		<td class=\\\"row1\\\">\n			<b><a href=\\\"{$this->ipsclass->base_url}act=SF&amp;f={$data[\'id\']}\\\">{$data[\'name\']}</a></b>\n			<div class=\\\"desc\\\">\n				{$data[\'description\']}\n					<br />\n				{$this->ipsclass->lang[\'subs_c_type\']}: {$this->ipsclass->lang[$type]}\n			</div>\n		</td>\n		<td class=\\\"row1\\\" align=\\\"center\\\">{$data[\'topics\']}</td>\n		<td class=\\\"row1\\\" align=\\\"center\\\">{$data[\'posts\']}</td>\n		<td class=\\\"row1\\\">{$data[\'last_post\']}<br />{$this->ipsclass->lang[\'in\']} {$data[\'last_topic\']}<br />{$this->ipsclass->lang[\'by\']} {$data[\'last_poster\']}</td>\n		<td class=\\\"row1\\\" align=\\\"center\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"id-{$data[\'forum_id\']}\\\" value=\\\"yes\\\" /></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:iu_add_new:desc::trigger:>\n//===========================================================================\nfunction iu_add_new() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n</div>\n<br />\n<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_xhr_findnames.js\'></script>\n<div id=\'ipb-get-members\' style=\'border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:252px;display:none;z-index:1\'></div>\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n<tr>\n		<td class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'mi5_addem\']}</td>\n	</tr>\n	<tr>\n		<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\'40\' name=\\\"newbox_1\\\" id=\\\"newbox_1\\\" value=\\\"{$this->ipsclass->input[\'newbox_1\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'mi5_edit\']}\\\" /></td>\n	</tr>\n</table>\n</div>\n</form>\n<script type=\\\"text/javascript\\\">\n// INIT find names\ninit_js( \'REPLIER\', \'newbox_1\', \'get-member-names\');\n// Run main loop\nsetTimeout( \'main_loop()\', 10 );\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:iu_populated_row:desc::trigger:>\n//===========================================================================\nfunction iu_populated_row($member=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\'row1\'><b><a href=\\\"{$this->ipsclass->base_url}showuser={$member[\'id\']}\\\">{$member[\'members_display_name\']}</a></b></td>\n		<td class=\'row1\'>{$member[\'g_title\']}</td>\n		<td class=\'row1\'>{$member[\'posts\']}</td>\n		<td class=\'row1\'><a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignoreremove&amp;id={$member[\'id\']}\\\">{$this->ipsclass->lang[\'mi5_remove\']}</a></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:iu_start:desc::trigger:>\n//===========================================================================\nfunction iu_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REPLIER\\\" id=\'REPLIER\'>\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"ignoreadd\\\" />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'mi5_title\']}</div>\n<p>{$this->ipsclass->lang[\'mi5_text\']}</p>\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"30%\\\">{$this->ipsclass->lang[\'mi5_name\']}</th>\n			<th width=\\\"30%\\\">{$this->ipsclass->lang[\'mi5_group\']}</th>\n			<th width=\\\"20%\\\">{$this->ipsclass->lang[\'mi5_posts\']}</th>\n			<th width=\\\"20%\\\">&nbsp;</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Menu_bar:desc::trigger:>\n//===========================================================================\nfunction Menu_bar($component_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--\nTABLE TO FIX IE/6 ISSUE\nThe one where 23% margin + 100% table = 123% in IE6 o_O\n-->\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_pm.js\\\"></script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_usercp.js\\\"></script>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td valign=\\\"top\\\" class=\\\"nopad\\\" width=\\\"25%\\\">\n			<div id=\\\"ucpmenu\\\">\n			<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'tt_menu\']}</div>\n	 		<!-- Messenger Links -->\n\" . (($this->ipsclass->member[\'g_use_pm\'] == 1 AND $this->ipsclass->member[\'members_disable_pm\'] == 0) ? (\"\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'m_messenger\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=04\\\"><b>{$this->ipsclass->lang[\'mess_new\']}</b></a><br />\n				<!--IBF.FOLDER_LINKS-->\n				&nbsp;&nbsp; <{MSG_FOLDER}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=20\\\">{$this->ipsclass->lang[\'mess_saved\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=delete\\\">{$this->ipsclass->lang[\'mi_prune_msg\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=07\\\">{$this->ipsclass->lang[\'mess_folders\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=02\\\">{$this->ipsclass->lang[\'mess_contact\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=14\\\">{$this->ipsclass->lang[\'mess_archive\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=30\\\">{$this->ipsclass->lang[\'mess_tracker\']}</a><br />\n			</p>\n	 	<!-- End Messenger -->\n\") : (\"\")) . \"\n\" . (($component_html != \"\") ? (\"\n$component_html\n\") : (\"\")) . \"\n        \n		<!-- Topic Tracker -->\n			<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'m_tracker\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=26\\\">{$this->ipsclass->lang[\'m_view_subs\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=50\\\">{$this->ipsclass->lang[\'m_view_forum\']}</a><br />\n			</p>\n		<!-- Profile -->\n			<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'m_personal\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=01\\\">{$this->ipsclass->lang[\'m_contact_info\']}</a><br />\n				\" . ((! $this->ipsclass->vars[\'pp_show_classic\']) ? (\"\n					<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=personal_portal_form\\\">{$this->ipsclass->lang[\'m_personal_portal\']}</a><br />\n				\") : (\"\")) . \"\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=22\\\">{$this->ipsclass->lang[\'m_sig_info\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=24\\\">{$this->ipsclass->lang[\'m_avatar_info\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=photo\\\">{$this->ipsclass->lang[\'m_change_photo\']}</a><br />\n				\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1 AND $this->ipsclass->member[\'g_dname_changes\'] > 0) ? (\"\n					<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=dname_start\\\">{$this->ipsclass->lang[\'m_dname_change\']}</a>\n				\") : (\"\")) . \"\n			</p>\n		<!-- Options -->\n			<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'m_options\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=paysubs&amp;CODE=index\\\">{$this->ipsclass->lang[\'new_sub_link\']}</a><br />\n				<!--IBF.OPTION_LINKS-->\n				\" . (($this->ipsclass->member[\'g_attach_max\'] != -1) ? (\"\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=attach\\\">{$this->ipsclass->lang[\'m_attach\']}</a><br />\n				\") : (\"\")) . \"\n				\" . ((! $this->ipsclass->vars[\'pp_show_classic\']) ? (\"\n					<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=manage_friends\\\">{$this->ipsclass->lang[\'m_manage_friends\']}</a><br />\n				\") : (\"\")) . \"\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignore\\\">{$this->ipsclass->lang[\'m_ignore_users\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=02\\\">{$this->ipsclass->lang[\'m_email_opt\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=04\\\">{$this->ipsclass->lang[\'m_board_opt\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=08\\\">{$this->ipsclass->lang[\'m_email_change\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=28\\\">{$this->ipsclass->lang[\'m_passy_opt\']}</a>\n			</p>\n			\" . (($this->ipsclass->member[\'g_is_supmod\'] == 1) ? (\"\n			<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'menu_title_mod\']}</div>\n			<p>\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=iptool\\\">{$this->ipsclass->lang[\'menu_ipsearch\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=memtool\\\">{$this->ipsclass->lang[\'menu_memsearch\']}</a><br />\n				<{ITEM_START}> <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=announce_start\\\">{$this->ipsclass->lang[\'menu_announcements\']}</a>\n			</p>\n			\") : (\"\")) . \"\n		</div>\n		</td>\n		<td class=\\\"nopad\\\" width=\\\"1%\\\"><!-- --></td>\n		<!-- Start main CP area -->\n		<td valign=\\\"top\\\" class=\\\"nopad\\\" width=\\\"75%\\\">\n			<div id=\\\"ucpcontent\\\">\n			<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'welcome\']}</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:menu_bar_msg_folder_link:desc::trigger:>\n//===========================================================================\nfunction menu_bar_msg_folder_link($id=\"\",$real=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;&nbsp; <{MSG_FOLDER}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID=$id\\\">$real</a><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:menu_bar_new_category:desc::trigger:>\n//===========================================================================\nfunction menu_bar_new_category($title=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$title}</div>\n			<p>\n				$content\n			</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:menu_bar_new_link:desc::trigger:>\n//===========================================================================\nfunction menu_bar_new_link($url=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<{ITEM_START}> <a href=\\\"$url\\\">$name</a><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_find_user:desc::trigger:>\n//===========================================================================\nfunction mod_find_user($msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form name=\\\"ibform\\\" action=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=domemtool\\\" method=\\\"post\\\">\n\" . (($msg) ? (\"\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'ipm_title\']}</div>\n<p>\n	$msg\n</p>\n<br />\n\") : (\"\")) . \"\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cp_edit_user\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td width=\\\"40%\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_find_user\']}</td>\n			<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\\\"40\\\" name=\\\"name\\\" value=\\\"{$this->ipsclass->input[\'name\']}\\\" /></td>\n		</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cp_find_submit\']}\\\" /></td>\n	</tr>\n	</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_ip_member_results:desc::trigger:>\n//===========================================================================\nfunction mod_ip_member_results($pages=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<div class=\\\"borderwrapm\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<th width=\\\"20%\\\">{$this->ipsclass->lang[\'ipm_name\']}</th>\n				<th width=\\\"20%\\\">{$this->ipsclass->lang[\'ipm_ip\']}</th>\n				<th width=\\\"10%\\\">{$this->ipsclass->lang[\'ipm_posts\']}</th>\n				<th width=\\\"15%\\\">{$this->ipsclass->lang[\'ipm_reg\']}</th>\n				<th width=\\\"15%\\\">{$this->ipsclass->lang[\'ipm_group\']}</th>\n				<th width=\\\"20%\\\">{$this->ipsclass->lang[\'ipm_options\']}</th>\n			</tr>\n			{$content}\n		</table>\n	</div>\n	<div>$pages</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_ip_member_row:desc::trigger:>\n//===========================================================================\nfunction mod_ip_member_row($row=\"\",$auth_key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"row1\\\"><a href=\\\"{$this->ipsclass->base_url}showuser={$row[\'id\']}\\\">{$row[\'members_display_name\']}</a></td>\n	<td class=\\\"row1\\\">{$row[\'ip_address\']}</td>\n	<td class=\\\"row1\\\">{$row[\'posts\']}</td>\n	<td class=\\\"row1\\\">{$row[\'joined\']}</td>\n	<td class=\\\"row1\\\">{$row[\'groupname\']}</td>\n	<td class=\\\"row1\\\" align=\\\"center\\\"><a href=\\\"{$this->ipsclass->base_url}act=mod&amp;CODE=editmember&amp;mid={$row[\'id\']}&amp;auth_key=$auth_key\\\">{$this->ipsclass->lang[\'ipm_edit\']}</a></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_ip_post_results:desc::trigger:>\n//===========================================================================\nfunction mod_ip_post_results($uid=\"\",$count=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'ipp_found\']} $count\n<br />\n<br />\n<a target=\\\"_blank\\\" href=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=show&amp;searchid=$uid&amp;search_in=posts&amp;result_type=posts\\\">{$this->ipsclass->lang[\'ipp_click\']}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_ip_start_form:desc::trigger:>\n//===========================================================================\nfunction mod_ip_start_form($ip=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form name=\\\"ibform\\\" action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"s\\\" value=\\\"{$this->ipsclass->session_id}\\\" />\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"usercp\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"doiptool\\\" />\n\" . (($msg) ? (\"\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'ipm_title\']}</div>\n<p>\n	$msg\n</p>\n<br />\n\") : (\"\")) . \"\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'menu_ipsearch\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td width=\\\"40%\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'ip_enter\']}</td>\n			<td class=\\\"row1\\\">\n				<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"24\\\" name=\\\"ip\\\" value=\\\"{$ip}\\\" />\n				<select name=\\\"iptool\\\">\n					<option value=\\\"resolve\\\">{$this->ipsclass->lang[\'ip_resolve\']}</option>\n					<option value=\\\"posts\\\">{$this->ipsclass->lang[\'ip_posts\']}</option>\n					<option value=\\\"members\\\">{$this->ipsclass->lang[\'ip_members\']}</option>\n				</select>\n			</td>\n		</tr>\n	<tr>\n		<td class=\\\"formsubtitle\\\" style=\\\"text-align: center;\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'ip_submit\']}\\\" /></td>\n	</tr>\n	</table>\n</form>\n	<br />\n<div class=\\\"tablepad\\\">\n	{$this->ipsclass->lang[\'ip_desc_text\']}\n	<br /><br />{$this->ipsclass->lang[\'ip_warn_text\']}\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pass_change:desc::trigger:>\n//===========================================================================\nfunction pass_change() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"form1\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"29\\\" />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'account_pass_title\']}</div>\n<p>{$this->ipsclass->lang[\'pass_change_text\']}</p>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td><b>{$this->ipsclass->lang[\'account_pass_old\']}</b></td>\n		<td><input type=\\\"password\\\" name=\\\"current_pass\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td><b>{$this->ipsclass->lang[\'account_pass_new\']}</b></td>\n		<td><input type=\\\"password\\\" name=\\\"new_pass_1\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td><b>{$this->ipsclass->lang[\'account_pass_new2\']}</b></td>\n		<td><input type=\\\"password\\\" name=\\\"new_pass_2\\\" value=\\\"\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' name=\\\"s_pass\\\" value=\\\"{$this->ipsclass->lang[\'account_pass_submit\']}\\\" /></td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_manage_friends:desc::trigger:>\n//===========================================================================\nfunction personal_manage_friends($friends=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div style=\'padding:6px;\'>\n<fieldset>\n	<legend><strong>{$this->ipsclass->lang[\'pp_friends_manage_title\']}</strong></legend>\n	<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n	<tr>\n		<td class=\\\"row1\\\" style=\'padding:6px;\'>\n			{$this->ipsclass->lang[\'pp_you_have\']} <strong>$friends</strong> {$this->ipsclass->lang[\'pp_pending_approval\']}\n			<br /><a href=\'#\' onclick=\'friends_pop( \\\"&amp;tab=pending\\\"); return false\'>{$this->ipsclass->lang[\'pp_manage_friends_link\']}</a>\n		</td>\n	</tr>\n	</table>\n</fieldset>\n<br />\n<fieldset>\n	<legend><strong>{$this->ipsclass->lang[\'pp_find_friends_title\']}</strong></legend>\n	<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n	<tr>\n		<td class=\\\"row1\\\" style=\'padding:6px;\'>\n			{$this->ipsclass->lang[\'pp_find_friends\']}\n			<br /><a href=\'{$this->ipsclass->base_url}act=members\'>{$this->ipsclass->lang[\'pp_go_memberlist\']}</a>\n		</td>\n	</tr>\n	</table>\n</fieldset>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_panel:desc::trigger:>\n//===========================================================================\nfunction personal_panel($member=array(),$required_output=\'\',$optional_output=\'\',$day=\'\',$mon=\'\',$year=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nvar LocationMax  = \\\"{$this->ipsclass->vars[\'max_location_length\']}\\\";\nvar InterestMax  = \\\"{$this->ipsclass->vars[\'max_interest_length\']}\\\";\n	function CheckLength(Type){\n		LocationLength  = document.theForm.Location.value.length;\n		InterestLength  = document.theForm.Interests.value.length;\n		message  = \\\"\\\";\n			if (Type == \\\"location\\\"){\n				if (LocationMax !=0) {\n					message = \\\"{$this->ipsclass->lang[\'js_location\']}: {$this->ipsclass->lang[\'js_max\']} \\\" + LocationMax + \\\" {$this->ipsclass->lang[\'js_characters\']}.\\\";\n				}\n			else{\n            	message = \\\"\\\";\n            }\n            	alert(message + \\\"  {$this->ipsclass->lang[\'js_used\']} \\\" + LocationLength + \\\" {$this->ipsclass->lang[\'js_so_far\']}.\\\");\n            }\n    		\n            if (Type == \\\"interest\\\"){\n	            if (InterestMax !=0){\n		            message = \\\"{$this->ipsclass->lang[\'js_interests\']}: {$this->ipsclass->lang[\'js_max\']} \\\" + InterestMax + \\\" {$this->ipsclass->lang[\'js_characters\']}.\\\";\n		        }\n		        else{\n			        message = \\\"\\\";\n			    }\n			    alert(message + \\\"  {$this->ipsclass->lang[\'js_used\']} \\\" + InterestLength + \\\" {$this->ipsclass->lang[\'js_so_far\']}.\\\");\n			}\n	}\n	\n	function ValidateProfile(){\n    	LocationLength  = document.theForm.Location.value.length;\n    	InterestLength  = document.theForm.Interests.value.length;\n    	errors = \\\"\\\";\n    		if (LocationMax !=0){\n	    		if (LocationLength > LocationMax) {\n		    		errors = \\\"{$this->ipsclass->lang[\'js_location\']}:  {$this->ipsclass->lang[\'js_max\']} \\\" + LocationMax + \\\" {$this->ipsclass->lang[\'js_characters\']}.  {$this->ipsclass->lang[\'js_used\']}: \\\" + LocationLength;\n		    	}\n		    }\n		   	if (InterestMax !=0){\n        		if (InterestLength > InterestMax){\n	        		errors = errors + \\\"  {$this->ipsclass->lang[\'js_interests\']}:  {$this->ipsclass->lang[\'js_max\']} \\\" + InterestMax + \\\" {$this->ipsclass->lang[\'js_characters\']}.  {$this->ipsclass->lang[\'js_used\']}: \\\" + InterestLength;\n	        	}\n	        }\n	        if (errors != \\\"\\\"){\n		        alert(errors);\n		        return false;\n		       	}\n		    else{\n			    return true;\n			   	}\n	}\n-->\n</script>\n<div style=\'padding:6px;\'>\n<form action=\\\"{$this->ipsclass->base_url}auth_key={$member[\'key\']}\\\" method=\\\"post\\\" name=\\\"theForm\\\" onsubmit=\\\"return ValidateProfile()\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"21\\\" />\n\" . (($required_output) ? (\"\n	<fieldset>\n		<legend><strong>{$this->ipsclass->lang[\'cf_required\']}</strong></legend>\n		<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n		$required_output\n		</table>\n	</fieldset>\n	<br />\n\") : (\"\")) . \"\n<fieldset>\n	<legend><strong>{$this->ipsclass->lang[\'profile_title\']}</strong></legend>\n	<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n	\" . ((($this->ipsclass->vars[\'post_titlechange\']) and ($member[\'posts\'] > $this->ipsclass->vars[\'post_titlechange\'])) ? (\"\n		<tr>\n			<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'><b>{$this->ipsclass->lang[\'member_title\']}</b></td>\n			<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"120\\\" name=\\\"member_title\\\" value=\\\"{$this->ipsclass->member[\'title\']}\\\" /></td>\n		</tr>\n	\") : (\"\")) . \"\n	\" . (($day AND $mon AND $year) ? (\"\n		<tr>\n			<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'><b>{$this->ipsclass->lang[\'birthday\']}</b></td>\n			<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n				<select name=\\\"month\\\">&nbsp;\n					{$mon}\n				</select>			\n				<select name=\\\"day\\\">&nbsp;\n					{$day}\n				</select> \n				<select name=\\\"year\\\">&nbsp;\n					{$year}\n				</select>\n			</td>\n		</tr>\n	\") : (\"\")) . \"\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'panel_gender\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><select class=\'select\' name=\'gender\'>\n			<option value=\'male\'\" . (($this->ipsclass->member[\'pp_gender\']==\'male\') ? (\" selected=\'selected\'\") : (\"\")) . \">{$this->ipsclass->lang[\'panel_gender_m\']}</option>\n			<option value=\'female\'\" . (($this->ipsclass->member[\'pp_gender\']==\'female\') ? (\" selected=\'selected\'\") : (\"\")) . \">{$this->ipsclass->lang[\'panel_gender_f\']}</option>\n			<option value=\'mystery\'\" . (($this->ipsclass->member[\'pp_gender\']==\'\') ? (\" selected=\'selected\'\") : (\"\")) . \">{$this->ipsclass->lang[\'panel_gender_u\']}</option>\n			</select>\n		</td>\n	</tr>  \n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'website\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"1200\\\" name=\\\"WebSite\\\" value=\\\"{$member[\'website\']}\\\" /></td>\n	</tr>  \n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'icq\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"20\\\" name=\\\"ICQNumber\\\" value=\\\"{$member[\'icq_number\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'aol\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"200\\\" name=\\\"AOLName\\\" value=\\\"{$member[\'aim_name\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'yahoo\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"200\\\" name=\\\"YahooName\\\" value=\\\"{$member[\'yahoo\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'msn\']}</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"200\\\" name=\\\"MSNName\\\" value=\\\"{$member[\'msnname\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>{$this->ipsclass->lang[\'location\']}<br />(<a href=\\\"javascript:CheckLength(\'location\');\\\">{$this->ipsclass->lang[\'check_length\']}</a>)</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><input type=\\\"text\\\" size=\\\"40\\\" name=\\\"Location\\\" value=\\\"{$member[\'location\']}\\\" /></td>\n	</tr>\n	<tr>\n		<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\' valign=\\\"top\\\">{$this->ipsclass->lang[\'interests\']}<br />(<a href=\\\"javascript:CheckLength(\'interest\');\\\">{$this->ipsclass->lang[\'check_length\']}</a>)</td>\n		<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'><textarea cols=\\\"60\\\" rows=\\\"10\\\" wrap=\\\"soft\\\" name=\\\"Interests\\\">{$member[\'interests\']}</textarea></td>\n	</tr>\n	\" . (($optional_output) ? (\"\n		$optional_output\n	\") : (\"\")) . \"\n	<tr>\n		<td class=\\\"formbuttonrow\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'submit_profile\']}\\\" /></td>\n	</tr>\n	</table>\n</fieldset>\n</form>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_settings:desc::trigger:>\n//===========================================================================\nfunction personal_portal_settings($member=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div style=\'padding:4px\'>\n	<form action=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=personal_portal_save&amp;md5check={$this->ipsclass->md5_check}\' method=\'POST\'>\n\" . (($this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n	<fieldset>\n		<legend><strong>{$this->ipsclass->lang[\'m_personal_statement\']}</strong> <span class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_char_limit\']}</span></legend>\n		<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n		<tr>\n			<td class=\\\"row1\\\" style=\'padding:6px;text-align:center\'>\n				<textarea name=\'pp_bio_content\' rows=\'5\' cols=\'60\' style=\'width:95%;height:100px\'>{$member[\'_pp_bio_content\']}</textarea>\n			</td>\n		</tr>\n		</table>\n	</fieldset>\n	\n	<br />\n\") : (\"\")) . \"	\n	<fieldset>\n		<legend><strong>{$this->ipsclass->lang[\'m_notifications\']}</strong></legend>\n		<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n		<tr>\n			<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n				<strong>{$this->ipsclass->lang[\'m_new_comments\']}</strong>\n				<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_comm_type\']}</div>\n			</td>\n			<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n				<select name=\'pp_setting_notify_comments\'>{$member[\'_pp_setting_notify_comments\']}</select>\n			</td>\n		</tr>\n		<tr>\n			<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n				<strong>{$this->ipsclass->lang[\'m_new_friends\']}</strong>\n				<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_friend_type\']}</div>\n			</td>\n			<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n				<select name=\'pp_setting_notify_friend\'>{$member[\'_pp_setting_notify_friend\']}</select>\n			</td>\n		</tr>\n		</table>\n	</fieldset>\n	\n	<br />\n	\n	<fieldset>\n		<legend><strong>{$this->ipsclass->lang[\'m_mod_type\']}</strong></legend>\n		<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n		<tr>\n			<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n				<strong>{$this->ipsclass->lang[\'m_new_comments\']}</strong>\n				<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_cmod_type\']}</div>\n			</td>\n			<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n				<select name=\'pp_setting_moderate_comments\'>{$member[\'_pp_setting_moderate_comments\']}</select>\n			</td>\n		</tr>\n		<tr>\n			<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n				<strong>{$this->ipsclass->lang[\'m_new_friends\']}</strong>\n				<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_fmod_type\']}</div>\n			</td>\n			<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n				<select name=\'pp_setting_moderate_friends\'>{$member[\'_pp_setting_moderate_friends\']}</select>\n			</td>\n		</tr>\n		</table>\n	</fieldset>\n	\n	<br />\n	\n	<div class=\'row1\' style=\'padding:6px; margin-bottom:1px;text-align:center\'>\n		<input type=\'submit\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_settings\']}\' />\n	</div>\n	</form>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:photo_page:desc::trigger:>\n//===========================================================================\nfunction photo_page($error=\"\",$cur_photo=\"\",$show_size=\"\",$key=\"\",$p_max=\"\",$max_file_size=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($error) ? (\"\n	<div class=\'input-warn-content\'>$error</div>\n\") : (\"\")) . \"\n<form action=\\\"{$this->ipsclass->base_url}auth_key=$key\\\" enctype=\\\"multipart/form-data\\\" method=\\\"post\\\" name=\\\"bob\\\" onsubmit=\\\"return checkform();\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"dophoto\\\" />\n<input type=\'hidden\' name=\'delete_photo\' id=\'ucp-delete_photo\' value=\'0\' />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'pph_title\']}</div>\n<p>{$this->ipsclass->lang[\'pph_desc\']}<br />{$this->ipsclass->lang[\'pph_max\']}</p>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'pph_current\']}</div>\n<div align=\\\"center\\\">\n <p>$cur_photo<br />$show_size</p>\n</div>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'pph_change\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	\" . (($p_max and $max_file_size) ? (\"\n		<tr>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'pph_upload\']}</td>\n			<td class=\\\"pformright\\\"><input type=\\\"hidden\\\" name=\\\"MAX_FILE_SIZE\\\" value=\\\"$max_file_size\\\" /><input type=\\\"file\\\" name=\\\"upload_photo\\\" value=\\\"\\\" size=\\\"40\\\" /></td>\n		</tr>\n	\") : (\"\")) . \"\n	\" . ((! $this->ipsclass->vars[\'disable_ipbsize\']) ? (\"\n		<tr>\n			<td class=\\\"pformleft\\\">&nbsp;</td>\n			<td class=\\\"pformright\\\"><b>{$this->ipsclass->lang[\'pph_autosize\']}</b><br />({$this->ipsclass->lang[\'pph_as_desc\']})</td>\n		</tr>\n	\") : (\"\n		<tr>\n			<td class=\\\"pformleft\\\">&nbsp;</td>\n			<td class=\\\"pformright\\\"><b>{$this->ipsclass->lang[\'width\']}</b>&nbsp;<input type=\\\"text\\\" size=\\\"3\\\" name=\\\"man_width\\\" />&nbsp;&nbsp;<b>{$this->ipsclass->lang[\'height\']}</b>&nbsp;<input type=\\\"text\\\" size=\\\"3\\\" name=\\\"man_height\\\" /></td>\n		</tr>\n	\")) . \"\n</table>\n<div align=\\\"center\\\" class=\\\"formsubtitle\\\">\n	<input type=\\\"submit\\\" class=\'button\' name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'pph_submit\']}\\\" />\n	&nbsp;&nbsp;&nbsp;&nbsp;<input class=\'button\' type=\\\"submit\\\" onclick=\\\"document.getElementById(\'ucp-delete_photo\').value=1;\\\" name=\\\"remove\\\" value=\\\"{$this->ipsclass->lang[\'pph_remove\']}\\\" />\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_forum_row:desc::trigger:>\n//===========================================================================\nfunction render_forum_row($data=\"\",$class1=\'row2\',$class2=\'row1\',$classposts=\'row2\',$inforum=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Begin Topic Entry {$data[\'tid\']} -->\n<tr> \n	<td align=\\\"center\\\" class=\\\"$class2\\\" id=\'tid-folder-{$data[\'tid\']}\' onclick=\'return topic_toggle_folder(\\\"{$data[\'tid\']}\\\", \\\"{$data[\'state\']}\\\");\'>{$data[\'folder_img\']}</td>\n	<td align=\\\"center\\\" class=\\\"$class2\\\">{$data[\'topic_icon\']}</td>\n	<td class=\\\"$class2\\\" valign=\\\"middle\\\">\n	    <div style=\'float:right\'>{$data[\'_rate_img\']}</div>\n		<div>\n			{$data[\'go_new_post\']}{$data[\'prefix\']} {$data[\'attach_img\']}<span id=\'tid-span-{$data[\'tid\']}\'><a id=\\\"tid-link-{$data[\'tid\']}\\\" href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}\\\" title=\\\"{$this->ipsclass->lang[\'topic_started_on\']} {$data[\'start_date\']}\\\">{$data[\'title\']}</a></span> {$data[\'PAGES\']}\n			<div class=\\\"desc\\\"><span onclick=\'return span_desc_to_input(\\\"{$data[\'tid\']}\\\");\' id=\'tid-desc-{$data[\'tid\']}\'>{$data[\'description\']}</span></div>\n		</div>\n	</td>\n	<td align=\'center\' class=\\\"$classposts\\\">\n     {$data[\'posts\']}\n\" . (($data[\'_hasqueued\'] == 1 and $inforum == 1) ? (\"\n&nbsp;<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;modfilter=invisible_posts\\\"><{BC_QUEUED_POSTS}></a>\n\") : (\"\")) . \"\n    </td>\n	<td align=\\\"center\\\" class=\\\"$class1\\\">{$data[\'starter\']}</td>\n	<td align=\\\"center\\\" class=\\\"$class1\\\">{$data[\'views\']}</td>\n	<td class=\\\"$class1\\\"><span class=\\\"lastaction\\\">{$data[\'last_post\']}<br /><a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;view=getlastpost\\\">{$data[\'last_text\']}</a> <b>{$data[\'last_poster\']}</b></span></td>\n\" . (($this->ipsclass->member[\'is_mod\'] == 1 and $inforum == 1 and $data[\'tidon\'] == 1) ? (\"\n<td align=\\\"center\\\" class=\\\"$class1\\\"><input type=\'hidden\' name=\'tid_{$data[\'real_tid\']}\' id=\'tid_{$data[\'real_tid\']}\' /><a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'click_for_mod\']}\\\" onclick=\\\"forum_toggle_tid(\'{$data[\'real_tid\']}\'); return false;\\\"><img name=\\\"img{$data[\'real_tid\']}\\\" id=\'ipb-topic-{$data[\'real_tid\']}\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_selected.gif\\\" alt=\'\' /></a></td>\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'is_mod\'] == 1 and $inforum == 1 and $data[\'tidon\'] == 0) ? (\"\n<td align=\\\"center\\\" class=\\\"$class1\\\"><input type=\'hidden\' name=\'tid_{$data[\'real_tid\']}\' id=\'tid_{$data[\'real_tid\']}\' /><a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'click_for_mod\']}\\\" onclick=\\\"forum_toggle_tid(\'{$data[\'real_tid\']}\'); return false;\\\"><img name=\\\"img{$data[\'real_tid\']}\\\" id=\'ipb-topic-{$data[\'real_tid\']}\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_unselected.gif\\\" alt=\'\' /></a></td>\n\") : (\"\")) . \"\n</tr>\n<!-- End Topic Entry {$data[\'tid\']} -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:settings_end:desc::trigger:>\n//===========================================================================\nfunction settings_end($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'settings_display\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"70%\\\">{$this->ipsclass->lang[\'settings_viewsig\']}</td>\n		<td>{$data[\'SIG\']}</td>\n	</tr>\n	<tr>\n		<td>{$this->ipsclass->lang[\'settings_viewimg\']}</td>\n		<td>{$data[\'IMG\']}</td>\n	</tr>\n	<tr>\n		<td>{$this->ipsclass->lang[\'settings_viewava\']}</td>\n		<td>{$data[\'AVA\']}</td>\n	</tr>\n	<tr>\n		<td>{$this->ipsclass->lang[\'settings_dopopup\']}</td>\n		<td>{$data[\'POP\']}</td>\n    </tr>\n	<tr>\n		<td>{$this->ipsclass->lang[\'pp_number_posts\']}</td>\n		<td>\n			<select name=\\\"postpage\\\">\n				{$data[\'PPS\']}\n			</select>\n		</td>\n	</tr>\n	<tr>\n		<td>{$this->ipsclass->lang[\'pp_number_topics\']}</td>\n		<td><select name=\\\"topicpage\\\">{$data[\'TPS\']}</select></td>\n	</tr>\n\" . (($this->ipsclass->member[\'members_disable_pm\'] != 2) ? (\"\n<tr>\n	 <td class=\\\"formsubtitle\\\" colspan=\\\"2\\\">{$this->ipsclass->lang[\'ucp_op_pm_title\']}</td>\n	</tr>\n	<tr>\n		<td>{$this->ipsclass->lang[\'ucp_op_pm\']}<div class=\\\"desc\\\">{$this->ipsclass->lang[\'ucp_op_pm_dowhat\']}</div></td>\n		<td>{$data[\'PMS\']}</td>\n	</tr>\n\") : (\"\")) . \"\n	<tr>\n	 <td class=\\\"formsubtitle\\\" colspan=\\\"2\\\">{$this->ipsclass->lang[\'ucp_title_posting\']}</td>\n	</tr>\n	<tr>\n		<td>{$this->ipsclass->lang[\'open_qr\']}</td>\n		<td>{$data[\'QR\']}</td>\n	</tr>\n\" . (($this->ipsclass->vars[\'posting_allow_rte\'] == 1) ? (\"\n<tr>\n		<td>{$this->ipsclass->lang[\'type_of_editor\']}<div class=\'desc\'>{$this->ipsclass->lang[\'rte_text\']}</div></td>\n		<td>{$data[\'editor\']}</td>\n	</tr>\n\") : (\"\")) . \"\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\">\n			<input type=\\\"submit\\\" class=\'button\' name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'settings_submit\']}\\\" />\n		</td>\n	</tr>\n	</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:settings_header:desc::trigger:>\n//===========================================================================\nfunction settings_header($Profile=\"\",$time_select=\"\",$time=\"\",$dst_check=\"\",$key=\"\",$dst_correction=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}auth_key=$key\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"05\\\" />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'settings_time\']}</div>\n<div style=\'padding:4px;\'>\n<fieldset>\n <legend><strong>{$this->ipsclass->lang[\'settings_time_txt\']}</strong></legend>\n {$this->ipsclass->lang[\'settings_time_txt2\']} $time\n <br />\n $time_select\n</fieldset>\n<br />\n<fieldset>\n\" . (($this->ipsclass->input[\'dsterror\'] == 1) ? (\"\n<div style=\'color:red;font-weight:bold\'>\n	 {$this->ipsclass->lang[\'dst_error\']}\n	</div>\n\") : (\"\")) . \"\n <legend><strong>{$this->ipsclass->lang[\'dst_correction_title\']}</strong></legend>\n <input class=\'checkbox\' type=\\\"checkbox\\\" id=\'dst-check\' onclick=\'toggle_dst()\' name=\\\"DSTCHECK\\\" value=\\\"1\\\" $dst_correction /> &nbsp;<strong>{$this->ipsclass->lang[\'dst_auto\']}</strong>\n <div class=\'desc\'>{$this->ipsclass->lang[\'dst_auto2\']}</div>\n \n <div id=\'dst-manual\'>\n   <input class=\'checkbox\'  type=\\\"checkbox\\\" name=\\\"DST\\\" value=\\\"1\\\" $dst_check /> &nbsp;<strong>{$this->ipsclass->lang[\'dst_box\']}</strong>\n   <div class=\'desc\'>{$this->ipsclass->lang[\'dst_box2\']}</div>\n </div>\n</fieldset>\n</div>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\nfunction toggle_dst()\n{\n	if ( document.getElementById( \'dst-check\' ).checked )\n	{\n		document.getElementById( \'dst-manual\' ).style.display = \'none\';\n	}\n	else\n	{\n		document.getElementById( \'dst-manual\' ).style.display = \'block\';\n	}\n}\ntoggle_dst();\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Show_attachments:desc::trigger:>\n//===========================================================================\nfunction Show_attachments($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=attach&amp;type={$data[\'type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$this->ipsclass->lang[\'attach_dl\']}\\\" target=\\\"_blank\\\"><img src=\\\"{$this->ipsclass->vars[\'mime_img\']}/{$data[\'mime_image\']}\\\" alt=\\\"{$this->ipsclass->lang[\'attached_file\']}\\\" /></a>\n&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=attach&amp;type={$data[\'type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$this->ipsclass->lang[\'attach_dl\']}\\\" target=\\\"_blank\\\">{$data[\'attach_file\']}</a> ( {$data[\'file_size\']} )\n<span class=\\\"desc\\\">{$this->ipsclass->lang[\'attach_hits\']}: {$data[\'attach_hits\']}</span><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:signature:desc::trigger:>\n//===========================================================================\nfunction signature($preview_sig=\"\",$editor_html=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form id=\'postingform\' onsubmit=\'return ValidateForm()\' action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=23\\\" method=\\\"post\\\" name=\\\"REPLIER\\\">\n<input type=\'hidden\' name=\'key\' value=\'{$key}\' />\n<input type=\'hidden\' name=\'removeattachid\' value=\'0\' />\n <div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cp_current_sig\']}</div>\n <div class=\\\"signature\\\" style=\\\"padding: 5px;\\\">{$preview_sig}</div>\n <div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cp_edit_sig\']}</div>\n <div class=\'row1\' align=\'center\' style=\'padding:3px\'>{$editor_html}</div>\n <div class=\'formsubtitle\' align=\'center\'><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cp_submit_sig\']}\\\" /></div>\n</form>\n<br clear=\'all\' />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:splash:desc::trigger:>\n//===========================================================================\nfunction splash($member=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'stats_header\']}</div>\n\" . (($this->ipsclass->member[\'bio\'] == \"dupemail\") ? (\"\n<div><b>{$this->ipsclass->lang[\'conv_email_warning_title\']}<br /><br />{$this->ipsclass->lang[\'conv_email_warning\']}</b></div>\n\") : (\"\")) . \"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"50%\\\" valign=\\\"top\\\">\n			<fieldset class=\\\"search\\\">\n			<legend><b>{$this->ipsclass->lang[\'splash_attach\']}</b></legend>\n\" . (($member[\'attach_html\'] != \"\") ? (\"\n{$member[\'attach_html\']}\n\") : (\"\n<br /><br /><div align=\\\"center\\\">{$this->ipsclass->lang[\'splash_noattach\']}</div><br /><br />&nbsp;\n\")) . \"\n			</fieldset>\n		</td>\n		<td width=\\\"50%\\\" valign=\\\"top\\\">\n			<fieldset class=\\\"search\\\">\n			<legend><b>{$this->ipsclass->lang[\'stats_header\']}</b></legend>\n				<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					<tr>\n						<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'email_address\']}</b></td>\n						<td width=\\\"50%\\\">{$member[\'member_email\']}</td>\n					</tr>\n					<tr>\n						<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'number_posts\']}</b></td>\n						<td width=\\\"50%\\\">{$member[\'member_posts\']}</td>\n					</tr>\n					<tr>\n						<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'registered\']}</b></td>\n						<td width=\\\"50%\\\">{$member[\'date_registered\']}</td>\n					</tr>\n					<tr>\n						<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'daily_average\']}</b></td>\n						<td width=\\\"50%\\\">{$member[\'daily_average\']}</td>\n					</tr>\n				</table>\n			</fieldset>\n		</td>\n	</tr>\n</table>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_forum.js\\\"></script>\n<div class=\\\"borderwrapm\\\">\n<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'splash_last5\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n\" . (($member[\'topic_html\'] != \"\") ? (\"\n<tr>\n			<th width=\\\"40%\\\" nowrap=\\\"nowrap\\\" colspan=\\\"3\\\">{$this->ipsclass->lang[\'h_topic_title\']}</th>\n			<th width=\\\"7%\\\" align=\\\"center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_replies\']}</th>\n			<th width=\\\"14%\\\" align=\\\"center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_topic_starter\']}</th>\n			<th width=\\\"7%\\\" align=\\\"center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_hits\']}</th>\n			<th width=\\\"32%\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_last_action\']}</th>\n		</tr>\n      {$member[\'topic_html\']}\n\") : (\"\n<tr>\n			<td colspan=\\\"7\\\" align=\\\"center\\\" class=\'row2\'><b>{$this->ipsclass->lang[\'splash_nopost\']}</b></td>\n		</tr>\n\")) . \"\n	</table>\n</div>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'note_pad\']}</div>\n<div align=\\\"center\\\" style=\'padding-bottom:6px;\'>\n<form name=\\\"notepad\\\" action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"s\\\" value=\\\"{$this->ipsclass->session_id}\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"20\\\" />\n<p>\n        <textarea cols=\\\"65\\\" rows=\\\"{$member[\'SIZE\']}\\\" name=\\\"notes\\\">{$member[\'NOTES\']}</textarea>\n        	<br />\n	    {$this->ipsclass->lang[\'ta_size\']}&nbsp;\n	    <select name=\\\"ta_size\\\">\n	    	{$member[\'SIZE_CHOICE\']}\n	    </select>\n	<input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'submit_notepad\']}\\\" />\n</p>\n</form>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_end:desc::trigger:>\n//===========================================================================\nfunction subs_end($text=\"\",$days=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td align=\\\"center\\\" class=\\\"formbuttonrow\\\" valign=\\\"middle\\\" colspan=\\\"6\\\">\n			<select name=\\\"trackchoice\\\">\n				<option value=\\\"unsubscribe\\\">{$this->ipsclass->lang[\'subs_delete\']}</option>\n				<option value=\\\"none\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_none_title\']}</option>\n				<option value=\\\"immediate\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_immediate\']}</option>\n				<option value=\\\"delayed\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_delayed\']}</option>\n				<option value=\\\"daily\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_daily\']}</option>\n				<option value=\\\"weekly\\\">{$this->ipsclass->lang[\'subs_c_change\']} {$this->ipsclass->lang[\'subs_weekly\']}</option>\n			</select>&nbsp;&nbsp;\n			<input type=\\\"submit\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'with_selected\']}\\\" />\n		</td>\n	</tr>\n</table>\n</div>\n</form>\n<div align=\\\"right\\\" style=\\\"padding: 5px;\\\"><i>$text</i></div>\n<div align=\\\"right\\\" style=\\\"padding: 5px;\\\">\n	<form action=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=26\\\" method=\\\"post\\\">\n		{$this->ipsclass->lang[\'show_topics_from\']}\n		<select name=\\\"datecut\\\">\n			$days\n		</select>\n 	<input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'jmp_go\']}\\\" />\n 	</form>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_forum_row:desc::trigger:>\n//===========================================================================\nfunction subs_forum_row($fid=\"\",$fname=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td colspan=\\\"6\\\" class=\\\"row1\\\"><b>$fname</b></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_header:desc::trigger:>\n//===========================================================================\nfunction subs_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n<script type=\\\"text/javascript\\\">\n<!--\n	function CheckAll(cb){\n		var fmobj = document.mutliact;\n			for (var i=0;i<fmobj.elements.length;i++){\n				var e = fmobj.elements[i];\n				if ((e.name != \\\"allbox\\\") && (e.type==\\\"checkbox\\\") && (!e.disabled)){\n				e.checked = fmobj.allbox.checked;\n				}\n			}\n	}\n	function CheckCheckAll(cb){	\n		var fmobj = document.mutliact;\n		var TotalBoxes = 0;\n		var TotalOn = 0;\n			for (var i=0;i<fmobj.elements.length;i++){\n		  		var e = fmobj.elements[i];\n		 		 if ((e.name != \\\"allbox\\\") && (e.type==\\\"checkbox\\\")){\n			 		 TotalBoxes++;\n			 		 if (e.checked){\n				 		 TotalOn++;\n				 	}\n				 }\n			}\n			\n			if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}\n			else{\n				fmobj.allbox.checked=false;\n			}\n	}\n-->\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_forum.js\\\"></script> \n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'subs_header\']}</div>\n<form action=\\\"{$this->ipsclass->base_url}\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"27\\\" />\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"5%\\\">&nbsp;</th>\n			<th width=\\\"55%\\\">{$this->ipsclass->lang[\'subs_topic\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\">{$this->ipsclass->lang[\'subs_replies\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\">{$this->ipsclass->lang[\'subs_view\']}</th>\n			<th width=\\\"25%\\\">{$this->ipsclass->lang[\'subs_last_post\']}</th>\n			<th align=\\\"center\\\" width=\\\"5%\\\" style=\'padding: 1px;\'><input class=\'checkbox\' name=\\\"allbox\\\" type=\\\"checkbox\\\" value=\\\"Check All\\\" onclick=\\\"CheckAll();\\\" /></th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_none:desc::trigger:>\n//===========================================================================\nfunction subs_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row2\\\" align=\\\"center\\\" colspan=\\\"6\\\">{$this->ipsclass->lang[\'subs_none\']}</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_row:desc::trigger:>\n//===========================================================================\nfunction subs_row($data=\"\",$type=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row2\\\" align=\\\"center\\\" width=\\\"5%\\\">{$data[\'folder_img\']}</td>\n			<td class=\\\"row2\\\">\n				<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}\\\">{$data[\'title\']}</a>&nbsp;\n				( <a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}\\\" target=\\\"_blank\\\">{$this->ipsclass->lang[\'new_window\']}</a> )\n  				<div class=\\\"desc\\\">{$data[\'description\']}{$this->ipsclass->lang[\'subs_start\']} {$data[\'track_started\']}\n  					<br />\n  					{$this->ipsclass->lang[\'subs_c_type\']}: {$this->ipsclass->lang[$type]}\n  				</div>\n  			</td>\n  			<td class=\\\"row2\\\" align=\\\"center\\\">{$data[\'posts\']}</td>\n  			<td class=\\\"row2\\\" align=\\\"center\\\">{$data[\'views\']}</td>\n  			<td class=\\\"row2\\\">{$data[\'last_post_date\']}<br />{$this->ipsclass->lang[\'subs_by\']} {$data[\'last_poster\']}</td>\n  			<td class=\\\"row1\\\" align=\\\"center\\\" style=\'padding: 1px;\'><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"id-{$data[\'trid\']}\\\" value=\\\"yes\\\" /></td>\n  		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subs_show_choice_page:desc::trigger:>\n//===========================================================================\nfunction subs_show_choice_page($forum=\"\",$topic=\"\",$method=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REPLIER\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"usercp\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"end_subs\\\" />\n<input type=\\\"hidden\\\" name=\\\"method\\\" value=\\\"$method\\\" />\n<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"$key\\\" />\n<input type=\\\"hidden\\\" name=\\\"tid\\\" value=\\\"{$topic[\'tid\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"fid\\\" value=\\\"{$forum[\'id\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'subs_c_title\']}</div>\n<div style=\'padding:4px\'>\n\" . (($topic[\'tid\'] != \"\") ? (\"\n<b>{$this->ipsclass->lang[\'subs_c_topic\']} {$topic[\'title\']}</b>\n\") : (\"\n<b>{$this->ipsclass->lang[\'subs_c_forum\']} {$forum[\'name\']}</b>\n\")) . \"\n	<div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_exp_text\']}</div>\n</div>\n<table cellspacing=\\\"0\\\" width=\'100%\'>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"none\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_none_title\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_none_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"delayed\\\" checked=\\\"checked\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_delayed\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_delayed_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"immediate\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_immediate\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_immediate_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"daily\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_daily\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_daily_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td width=\\\"5%\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"emailtype\\\" value=\\\"weekly\\\" /></td>\n		<td><b>{$this->ipsclass->lang[\'subs_weekly\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'subs_weekly_desc\']}</div></td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'subs_submit\']}\\\" class=\\\"button\\\" /></td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_announce_form:desc::trigger:>\n//===========================================================================\nfunction ucp_announce_form($announce=\"\",$button=\"\",$forum_html=\"\",$type=\"\",$editor_html=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REPLIER\\\" id=\'postingform\' onsubmit=\'return ValidateForm()\'>\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"announce_save\\\" />\n<input type=\\\"hidden\\\" name=\\\"type\\\" value=\\\"$type\\\" />\n<input type=\\\"hidden\\\" name=\\\"id\\\"   value=\\\"{$announce[\'announce_id\']}\\\" />\n<div class=\\\"formsubtitle\\\">{$button}</div>\n\" . (($msg != \"\") ? (\"\n<div class=\\\"borderwrapm\\\"><div class=\\\"tablepad\\\">{$msg}</div></div>\n\") : (\"\")) . \"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'announce_form_title\']}</b></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\"><input type=\\\"text\\\" size=\\\"30\\\" name=\\\"announce_title\\\" value=\\\"{$announce[\'announce_title\']}\\\" tabindex=\\\"1\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'announce_form_start\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'announce_form_startdesc\']}</div></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\"><input type=\\\"text\\\" size=\\\"10\\\" name=\\\"announce_start\\\" value=\\\"{$announce[\'announce_start\']}\\\" tabindex=\\\"2\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'announce_form_end\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'announce_form_enddesc\']}</div></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\"><input type=\\\"text\\\" size=\\\"10\\\" name=\\\"announce_end\\\" value=\\\"{$announce[\'announce_end\']}\\\" tabindex=\\\"3\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'announce_form_forums\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'announce_form_forums2\']}</div></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\"><select class=\\\"dropdown\\\" multiple=\\\"multiple\\\" size=\\\"10\\\" name=\\\"announce_forum[]\\\" tabindex=\\\"4\\\">{$forum_html}</select></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'announce_form_content\']}</b></td>\n		<td class=\\\"pformright\\\" valign=\\\"top\\\">{$editor_html}</td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'announce_form_options\']}</b></td>\n		<td class=\\\"pformright\\\" valign=\\\"middle\\\">\n			<input type=\\\"checkbox\\\" class=\\\"checkbox\\\" name=\\\"announce_active\\\" value=\\\"1\\\" {$announce[\'announce_active_checked\']} />&nbsp;{$this->ipsclass->lang[\'announce_form_enable\']}\n			<br /><input type=\\\"checkbox\\\" class=\\\"checkbox\\\" name=\\\"announce_html_enabled\\\" value=\\\"1\\\" {$announce[\'html_checkbox\']} />&nbsp;{$this->ipsclass->lang[\'announce_use_html\']}\n			<br /><input type=\\\"checkbox\\\" class=\\\"checkbox\\\" name=\\\"announce_nlbr_enabled\\\" value=\\\"1\\\" {$announce[\'nlbr_checkbox\']} />&nbsp;{$this->ipsclass->lang[\'announce_use_nlbr\']}\n		</td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\"{$button}\\\" class=\\\"button\\\" tabindex=\\\"7\\\" /></td>\n	</tr>\n</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_announce_manage:desc::trigger:>\n//===========================================================================\nfunction ucp_announce_manage($content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\n var ipb_lang_js_del_1 = \\\"{$this->ipsclass->lang[\'announce_del1\']}\\\";\n var ipb_lang_js_del_2 = \\\"{$this->ipsclass->lang[\'announce_del2\']}\\\";\n-->\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'announce_current\']}</div>\n<form action=\\\"{$this->ipsclass->base_url}\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"UserCP\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"announce_alter\\\" />\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"35%\\\">{$this->ipsclass->lang[\'announce_title\']}</th>\n			<th align=\\\"center\\\" width=\\\"10%\\\">{$this->ipsclass->lang[\'announce_starts\']}</th>\n			<th align=\\\"center\\\" width=\\\"10%\\\">{$this->ipsclass->lang[\'announce_end\']}</th>\n			<th width=\\\"25%\\\">{$this->ipsclass->lang[\'announce_forums\']}</th>\n			<th width=\\\"15%\\\">&nbsp;</th>\n		</tr>\n\" . (($content) ? (\"\n$content\n\") : (\"\n<tr>\n			<td align=\\\"center\\\" colspan=\\\"5\\\">{$this->ipsclass->lang[\'announce_none\']}</td>\n		</tr>\n\")) . \"\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"5\\\"><a href=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_add\\\">{$this->ipsclass->lang[\'announce_add\']}</a></td>\n	</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_announce_manage_row:desc::trigger:>\n//===========================================================================\nfunction ucp_announce_manage_row($announce=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\"><b><a href=\\\"{$this->ipsclass->base_url}act=announce&amp;id={$announce[\'announce_id\']}\\\">{$announce[\'announce_title\']}</a></b> {$announce[\'announce_inactive\']}<div class=\\\"desc\\\">{$this->ipsclass->lang[\'announce_by\']} {$announce[\'members_display_name\']}</div></td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">{$announce[\'announce_starts_converted\']}</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">{$announce[\'announce_end_converted\']}</td>\n			<td class=\\\"row1\\\"><div class=\\\"forumdesc\\\">{$announce[\'announce_forum_show\']}</div></td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">\n				<a href=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_edit&amp;id={$announce[\'announce_id\']}\\\">{$this->ipsclass->lang[\'announce_edit\']}</a>\n				&middot; <a href=\\\"#\\\" onclick=\\\"delete_post(\'{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_delete&amp;id={$announce[\'announce_id\']}\'); return false;\\\">{$this->ipsclass->lang[\'announce_delete\']}</a>\n			</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_dname_change:desc::trigger:>\n//===========================================================================\nfunction ucp_dname_change($form=array(),$error=\"\",$okmessage=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}&amp;act=usercp&amp;CODE=dname_complete\\\" method=\\\"post\\\" id=\'display-form\' name=\\\"form1\\\">\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'dname_title\']}</div>\n<p>{$form[\'_lang_string\']}</p>\n\" . (($okmessage != \"\") ? (\"\n<div class=\'input-ok-content\' id=\'dname-okbox\'><strong>{$okmessage}</strong></div>\n\") : (\"\")) . \"\n<div class=\'input-warn-content\' id=\'dname-warnbox\' style=\'display:none;\'><strong>{$this->ipsclass->lang[\'dname_error_title\']}</strong><div id=\'dname-warnbox-content\'>{$error}</div></div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"40%\\\"><strong>{$this->ipsclass->lang[\'dname_choose\']}</strong><div class=\'desc\'>{$this->ipsclass->lang[\'dname_choose2\']}<br />\n		\" . (($this->ipsclass->vars[\'username_characters\']) ? (\"{$this->ipsclass->vars[\'username_errormsg\']}<br />\") : (\"\")) . \"\n		{$this->ipsclass->lang[\'max_dname_length\']} {$this->ipsclass->vars[\'max_user_name_length\']}</div></td>\n		<td><input type=\\\"text\\\" name=\\\"display_name\\\" id=\'display-name\' maxlength=\'{$this->ipsclass->vars[\'max_user_name_length\']}\' value=\\\"{$this->ipsclass->input[\'display_name\']}\\\" /> <img id=\'display-name-img\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' /></td>\n	</tr>\n	<tr>\n		<td width=\\\"40%\\\"><strong>{$this->ipsclass->lang[\'dname_password\']}</strong><div class=\'desc\'>{$this->ipsclass->lang[\'dname_password2\']}</div></td>\n		<td><input type=\\\"password\\\" name=\\\"display_password\\\" id=\'display-password\' value=\\\"\\\" /> <img id=\'display-password-img\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' /></td>\n	</tr>\n</table>\n<div class=\\\"formsubtitle\\\" style=\\\"text-align: center;\\\"><input type=\\\"submit\\\" class=\'button\' name=\\\"change_email\\\" value=\\\"{$this->ipsclass->lang[\'dname_submit\']}\\\" /></div>\n</form>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\ndname_max_length    = parseInt(\\\"{$this->ipsclass->vars[\'max_user_name_length\']}\\\");\ndname_error_no_name = lang_build_string( \\\"{$this->ipsclass->lang[\'dname_error_no_name\']}\\\", dname_max_length );\ndname_error_no_pass = \\\"{$this->ipsclass->lang[\'dname_error_no_pass\']}\\\";\ndname_error_chars   = \\\"{$this->ipsclass->lang[\'dname_error_chars\']}\\\";\ndname_error_taken   = \\\"{$this->ipsclass->lang[\'dname_error_taken\']}\\\";\nvar allowed_chars 	= \\\"{$this->ipsclass->vars[\'username_characters\']}\\\";\nvar allowed_error 	= \\\"{$this->ipsclass->vars[\'username_errormsg\']}\\\";\nucp_dname_init( \'display-name\', \'display-password\', \'display-form\', \'dname-warnbox\' );\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ucp_message:desc::trigger:>\n//===========================================================================\nfunction ucp_message($title=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$title}</div>\n	<p>$msg</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('27c64e14a7a21170765a61275629071e','skin_topic','class skin_topic_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:announcement_show:desc::trigger:>\n//===========================================================================\nfunction announcement_show($announce=\"\",$author=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'announce_title\']}: {$announce[\'announce_title\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td valign=\\\"middle\\\" class=\\\"row2\\\" width=\\\"1%\\\">\n				<a name=\\\"entry{$post[\'pid\']}\\\"></a>\n				\" . (($author[\'id\']) ? (\"\n					<div id=\\\"post-member-{$announce[\'announce_member_id\']}\\\" class=\'popmenubutton-new-out\'>\n						<span class=\\\"normalname\\\">{$author[\'_pp_online_image\']}<a href=\\\"{$this->ipsclass->base_url}showuser={$author[\'id\']}\\\">{$author[\'_members_display_name\']}</a></span>\n					</div>\n					<!-- member menu -->\n					<div class=\'popupmenu-new\' id=\'post-member-{$announce[\'announce_member_id\']}_menu\' style=\'display:none;width:230px\'>\n						<div class=\'popupmenu-item-last\'>\n							\" . (($author[\'members_display_name_short\'] != $author[\'members_display_name\']) ? (\"\n								<div class=\'popupmenu-item\'><strong>{$author[\'members_display_name\']}</strong></div>\n							\") : (\"\")) . \"\n							<div style=\'float:right\'>\n								<div class=\'pp-image-thumb-wrap\'>\n									<img src=\'{$author[\'pp_thumb_photo\']}\' width=\'{$author[\'pp_thumb_width\']}\' height=\'{$author[\'pp_thumb_height\']}\' alt=\'\' />\n								</div>\n								\" . (($this->ipsclass->vars[\'pp_allow_member_rate\']) ? (\"\n									<div style=\'margin-top:5px;margin-left:6px;\'>\n										<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/rating_{$author[\'_pp_rating_real\']}_mini.gif\\\" alt=\'{$this->ipsclass->lang[\'rating_prefix\']}: {$author[\'_pp_rating_real\']}\' style=\'vertical-align:middle\' border=\'0\' />\n									</div>\n								\") : (\"\")) . \"\n							</div>\n							<div class=\'popupmenu-item\'>\n								{$author[\'_pp_gender_image\']} <a href=\\\"{$this->ipsclass->base_url}showuser={$author[\'id\']}\\\">{$this->ipsclass->lang[\'dd_view_profile\']}</a>\n							</div>\n							\" . (($this->ipsclass->member[\'id\']) ? (\"\n								<div class=\'popupmenu-item\'>\n									\" . ((in_array( $author[\'id\'], array_keys( $this->ipsclass->member[\'_cache\'][\'friends\'] ) )) ? (\"\n										<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"#\\\" onclick=\'friends_pop(\\\"&amp;do=remove&amp;member_id={$author[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\"); return false\'>{$this->ipsclass->lang[\'dd_remove_friend\']}</a>\n									\") : (\"\n										<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_add_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"#\\\" onclick=\'friends_pop(\\\"&amp;do=add&amp;member_id={$author[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\"); return false\'>{$this->ipsclass->lang[\'dd_add_friend\']}</a>\n									\")) . \"\n								</div>\n								<div class=\'popupmenu-item\'>\n									<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/send_pm_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$author[\'id\']}\\\">{$this->ipsclass->lang[\'dd_send_pm\']}</a>\n								</div>\n								<div class=\'popupmenu-item\'>\n									<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/find_posts.png\' alt=\'\' border=\'0\' /> <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$author[\'id\']}\'>{$this->ipsclass->lang[\'dd_find_topics\']}</a>\n								</div>								\n							\") : (\"\")) . \"\n							<div class=\'popupmenu-item-last\'>\n								<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/find_posts.png\' alt=\'\' border=\'0\' /> <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$author[\'id\']}\'>{$this->ipsclass->lang[\'dd_find_posts\']}</a>\n							</div>\n						</div>\n					</div>\n					<!-- member menu -->\n					<script type=\\\"text/javascript\\\">\n						ipsmenu.register( \\\"post-member-{$announce[\'announce_member_id\']}\\\", \'\', \'popmenubutton-new\', \'popmenubutton-new-out\' );\n					</script>\n				\") : (\"\n					<span class=\\\"normalname\\\">{$author[\'_members_display_name\']}</span>\n				\")) . \"\n				\n			</td>\n			<td class=\\\"row2\\\" valign=\\\"middle\\\" width=\\\"99%\\\">\n				<!-- POSTED DATE DIV -->\n				<div align=\'left\'>\n					<span class=\\\"postdetails\\\"><b>{$announce[\'announce_title\']}</b>&nbsp; {$announce[\'running_date\']}</span>\n				</div>\n			</td>\n		</tr>\n		<tr>\n			<td valign=\\\"top\\\" class=\\\"post1\\\">\n	        	<span class=\\\"postdetails\\\">\n					\" . (($author[\'id\'] AND $author[\'avatar\']) ? (\"\n						<a href=\\\"{$this->ipsclass->base_url}showuser={$author[\'id\']}\\\" title=\\\"{$this->ipsclass->lang[\'dd_view_profile\']}\\\">{$author[\'avatar\']}</a><br /><br />\n					\") : (\"\n	        			{$author[\'avatar\']}<br /><br />\n					\")) . \"\n	        		{$author[\'title\']}<br />\n	        		{$author[\'member_rank_img\']}<br /><br />\n	        		{$author[\'member_group\']}<br />\n	        		{$author[\'member_posts\']}<br />\n	        		{$author[\'member_joined\']}<br />\n	        		{$author[\'member_location\']}\n	        		{$author[\'member_number\']}<br />\n					\" . (($author[\'custom_fields\'] != \"\") ? (\"\n						{$author[\'custom_fields\']}\n					\") : (\"\")) . \"\n					<br />\n	        		{$author[\'warn_text\']} {$author[\'warn_minus\']}{$author[\'warn_img\']}{$author[\'warn_add\']}\n	        	</span><br />\n	        	<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\\\"160\\\" height=\\\"1\\\" /><br /> \n	       </td>\n	       <td width=\\\"100%\\\" valign=\\\"top\\\" class=\\\"post1\\\">\n				<div class=\\\"postcolor\\\">\n					{$announce[\'announce_post\']}\n				</div>\n			</td>\n		</tr>\n		<tr>\n			<td class=\\\"formbuttonrow\\\" nowrap=\\\"nowrap\\\">\n				<div style=\'text-align:left\'><a href=\\\"javascript:scroll(0,0);\\\"><{P_UP}></a>{$post[\'report_link\']}</div>\n			</td>\n			<td class=\\\"formbuttonrow\\\" nowrap=\\\"nowrap\\\">\n	         	<div align=\\\"right\\\">\n	         		&nbsp;\n	         	</div>\n	         </td>\n		</tr><tr>\n		<td class=\\\"catend\\\" colspan=\\\"2\\\">\n		<!-- no content -->\n		</td>\n	</tr>\n	</table>\n\n</div>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:button_delete:desc::trigger:>\n//===========================================================================\nfunction button_delete($fid=\"\",$tid=\"\",$pid=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:delete_post(\'{$this->ipsclass->base_url}act=Mod&amp;CODE=04&amp;f={$fid}&amp;t={$tid}&amp;p={$pid}&amp;st={$this->ipsclass->input[\'st\']}&amp;auth_key=$key\')\\\"><{P_DELETE}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:button_edit:desc::trigger:>\n//===========================================================================\nfunction button_edit($fid=\"\",$tid=\"\",$pid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a id=\'edit-but-{$pid}\' href=\\\"{$this->ipsclass->base_url}act=post&amp;do=edit_post&amp;f={$fid}&amp;t={$tid}&amp;p={$pid}&amp;st={$this->ipsclass->input[\'st\']}\\\"><{P_EDIT}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:button_posting:desc::trigger:>\n//===========================================================================\nfunction button_posting($url=\"\",$macro=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"$url\\\">$macro</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:edited_by:desc::trigger:>\n//===========================================================================\nfunction edited_by($text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br /><br /><span class=\'edit\'>{$text}</span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:golastpost_link:desc::trigger:>\n//===========================================================================\nfunction golastpost_link($fid=\"\",$tid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--\n	( <a href=\\\"{$this->ipsclass->base_url}act=ST&amp;f=$fid&amp;t=$tid&amp;view=getnewpost\\\">{$this->ipsclass->lang[\'go_new_post\']}</a> )\n-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ip_admin_hide:desc::trigger:>\n//===========================================================================\nfunction ip_admin_hide() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<i>{$this->ipsclass->lang[\'ip_private\']}</i>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ip_admin_show:desc::trigger:>\n//===========================================================================\nfunction ip_admin_show($ip=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=usercp&amp;CODE=iptool&amp;ip={$ip}\\\" target=\\\"_blank\\\">{$ip}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ip_show:desc::trigger:>\n//===========================================================================\nfunction ip_show($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'ip\']}: $data &#0124;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_group:desc::trigger:>\n//===========================================================================\nfunction member_group($title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'m_group\']} $title\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_icon_email:desc::trigger:>\n//===========================================================================\nfunction member_icon_email($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=Mail&amp;CODE=00&amp;MID={$id}\\\"><{P_EMAIL}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_icon_msg:desc::trigger:>\n//===========================================================================\nfunction member_icon_msg($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=04&amp;MID={$id}\\\"><{P_MSG}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_icon_profile:desc::trigger:>\n//===========================================================================\nfunction member_icon_profile($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}showuser={$id}\\\"><{P_PROFILE}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_icon_vcard:desc::trigger:>\n//===========================================================================\nfunction member_icon_vcard($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=Profile&amp;CODE=showcard&amp;MID={$id}\',\'AddressCard\',\'600\',\'300\',\'0\',\'1\',\'1\',\'1\')\\\" title=\\\"{$this->ipsclass->lang[\'ac_title\']}\\\"><{P_CARD}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_joined:desc::trigger:>\n//===========================================================================\nfunction member_joined($date=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'m_joined\']} $date\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_location:desc::trigger:>\n//===========================================================================\nfunction member_location($location=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'m_location\']} $location<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_number:desc::trigger:>\n//===========================================================================\nfunction member_number($number=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'member_no\']} $number\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_posts:desc::trigger:>\n//===========================================================================\nfunction member_posts($posts=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'m_posts\']} $posts\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_rank_img:desc::trigger:>\n//===========================================================================\nfunction member_rank_img($filename=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\\\"$filename\\\" alt=\\\"{$this->ipsclass->lang[\'group_icon\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mm_end:desc::trigger:>\n//===========================================================================\nfunction mm_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</select>&nbsp;\n		<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'mm_submit\']}\\\" class=\\\"button\\\" />\n	</form>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mm_entry:desc::trigger:>\n//===========================================================================\nfunction mm_entry($id=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\\\"$id\\\">$name</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mm_start:desc::trigger:>\n//===========================================================================\nfunction mm_start($tid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div style=\\\"float: left;\\\">\n	<form action=\\\"{$this->ipsclass->base_url}act=mmod&amp;t=$tid\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"check\\\" value=\\\"1\\\" />\n		<select name=\\\"mm_id\\\" class=\\\"dropdown\\\">\n			<option value=\\\"-1\\\">{$this->ipsclass->lang[\'mm_title\']}</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Mod_Panel:desc::trigger:>\n//===========================================================================\nfunction Mod_Panel($data=\"\",$fid=\"\",$tid=\"\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($this->ipsclass->member[\'is_mod\'] != 1) ? (\"\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"bar\\\" style=\\\"padding: 5px;\\\">\n\") : (\"\")) . \"\n		<div>\n			<form method=\\\"post\\\" name=\\\"modform2\\\" action=\\\"{$this->ipsclass->base_url}\\\">\n			<input type=\\\"hidden\\\" name=\\\"t\\\" value=\\\"$tid\\\" />\n			<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"$fid\\\" />\n			<input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n			<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"$key\\\" />\n			<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Mod\\\" />\n				<select name=\\\"CODE\\\" class=\\\"dropdown\\\">\n					<option value=\\\"-1\\\">{$this->ipsclass->lang[\'moderation_ops\']}</option>\n					$data\n				</select>&nbsp;\n				<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'jmp_go\']}\\\" class=\\\"button\\\" />\n			</form>\n		</div>\n\" . (($this->ipsclass->member[\'is_mod\'] != 1) ? (\"\n	 </div>\n</div>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_panel_wrapper:desc::trigger:>\n//===========================================================================\nfunction mod_panel_wrapper($data=array(),$auth_key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($this->ipsclass->member[\'is_mod\']) ? (\"\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"bar\\\" style=\\\"padding: 5px;\\\">\n		<div style=\\\"float: right; text-align: right;\\\">\n	 		<form name=\\\"modform\\\" method=\\\"post\\\" action=\\\"{$this->ipsclass->base_url}\\\" onsubmit=\\\"return checkdelete();\\\">\n	 			<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"mod\\\" />\n	 			<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"postchoice\\\" />\n	 			<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"{$data[\'TOPIC\'][\'forum_id\']}\\\" />\n	 			<input type=\\\"hidden\\\" name=\\\"t\\\" value=\\\"{$data[\'TOPIC\'][\'tid\']}\\\" />\n	 			<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"{$auth_key}\\\" />\n	 			<input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n	 			<input type=\\\"hidden\\\" value=\\\"{$this->ipsclass->input[\'selectedpids\']}\\\" name=\\\"selectedpids\\\" />\n	 			<select name=\\\"tact\\\">\n	 				<option value=\\\"merge\\\">{$this->ipsclass->lang[\'cpt_merge\']}</option>\n	 				<option value=\\\"move\\\">{$this->ipsclass->lang[\'cpt_move\']}</option>\n	 				<option value=\\\"delete\\\">{$this->ipsclass->lang[\'cpt_delete\']}</option>\n	 				<option value=\\\"split\\\">{$this->ipsclass->lang[\'cpt_split\']}</option>\n	 				<option value=\\\"approve\\\">{$this->ipsclass->lang[\'cpt_approve\']}</option>\n	 				<option value=\\\"unapprove\\\">{$this->ipsclass->lang[\'cpt_unapprove\']}</option>\n	 			</select>&nbsp;\n	 			<input type=\\\"submit\\\" name=\\\"gobutton\\\" value=\\\"{$this->ipsclass->lang[\'f_go\']} ({$this->ipsclass->input[\'selectedpidcount\']})\\\" class=\\\"button\\\" />\n	 		</form>\n	 	</div>\n		<!--IBF.MOD_PANEL-->\n	 </div>\n</div>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_wrapper:desc::trigger:>\n//===========================================================================\nfunction mod_wrapper($id=\"\",$text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\\\"$id\\\">-{$text}</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mq_image_add:desc::trigger:>\n//===========================================================================\nfunction mq_image_add($pid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/p_mq_add.gif\\\" name=\\\"mad_$pid\\\" alt=\\\"+\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mq_image_remove:desc::trigger:>\n//===========================================================================\nfunction mq_image_remove($pid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/p_mq_remove.gif\\\" name=\\\"mad_$pid\\\" alt=\\\"-\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_gender_image:desc::trigger:>\n//===========================================================================\nfunction personal_portal_gender_image($member=array(),$noid=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($member[\'pp_gender\']) ? (\"\n	\" . (($member[\'pp_gender\'] == \'male\') ? (\"\n		<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_male.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" style=\'vertical-align:top\' alt=\'\' border=\'0\' />\n	\") : (\"\n		\" . (($member[\'pp_gender\'] == \'female\') ? (\"\n			<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_female.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" alt=\'\' border=\'0\' />\n		\") : (\"\")) . \"\n	\")) . \"\n\") : (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_mystery.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" alt=\'\' border=\'0\' />\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_online_image:desc::trigger:>\n//===========================================================================\nfunction personal_portal_online_image($member=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($member[\'_online\']) ? (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/user-online.png\' alt=\'\' border=\'0\' />\") : (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/user-offline.png\' alt=\'\' border=\'0\' />\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pid_image_selected:desc::trigger:>\n//===========================================================================\nfunction pid_image_selected($pid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img name=\\\"img{$pid}\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_selected.gif\\\" alt=\'\' />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pid_image_unselected:desc::trigger:>\n//===========================================================================\nfunction pid_image_unselected($pid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img name=\\\"img{$pid}\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_unselected.gif\\\" alt=\'\' />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:post_icon:desc::trigger:>\n//===========================================================================\nfunction post_icon($icon=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon{$icon}.gif\\\" alt=\\\"\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:quick_reply_box_closed:desc::trigger:>\n//===========================================================================\nfunction quick_reply_box_closed() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:ShowHide(\'qr_open\',\'qr_closed\');\\\" title=\\\"{$this->ipsclass->lang[\'qr_open\']}\\\" accesskey=\\\"f\\\"><{T_QREPLY}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:quick_reply_box_open:desc::trigger:>\n//===========================================================================\nfunction quick_reply_box_open($fid=\"\",$tid=\"\",$show=\"hide\",$key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\\\"qr_open\\\" style=\\\"display: $show; position: relative;\\\">\n<br />\n<form name=\\\"REPLIER\\\" action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Post\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"03\\\" />\n<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"$fid\\\" />\n<input type=\\\"hidden\\\" name=\\\"t\\\" value=\\\"$tid\\\" />\n<input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"$key\\\" />\n<input type=\\\"hidden\\\" name=\\\"fast_reply_used\\\" value=\\\"1\\\" />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'qr_title\']}</div>\n	<div style=\'padding:6px;\' align=\\\"center\\\" class=\'row2\'>\n		<div id=\'fast-reply-controls\' align=\'center\' style=\'width:75%;padding:6px; margin:0 auto 0 auto\' class=\\\"rte-buttonbar\\\">\n		<table cellpadding=\\\"2\\\" cellspacing=\\\"0\\\" width=\'100%\'>\n		<tr>\n		 <td width=\'1%\' align=\'left\' nowrap=\'nowrap\'>\n		  <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n		   <tr>\n		     <td><div class=\\\"rte-normal\\\" id=\\\"fast-reply_cmd_bold\\\"><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-bold.png\\\"  alt=\\\"{$this->ipsclass->lang[\'js_tt_bold\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_bold\']}\\\" /></div></td>\n		     <td><div class=\\\"rte-normal\\\" id=\\\"fast-reply_cmd_italic\\\"><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-italic.png\\\"  alt=\\\"{$this->ipsclass->lang[\'js_tt_italic\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_italic\']}\\\" /></div></td>\n		     <td><div class=\\\"rte-normal\\\" id=\\\"fast-reply_cmd_underline\\\"><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-underlined.png\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_underline\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_underline\']}\\\" /></div></td>\n		   	 <td><div class=\\\"rte-normal\\\" id=\\\"fast-reply_cmd_createlink\\\"><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-link-button.png\\\"  alt=\\\"{$this->ipsclass->lang[\'js_rte_lite_link\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_rte_lite_link\']}\\\" /></div></td>\n			 <td><div class=\\\"rte-normal\\\" id=\\\"fast-reply_cmd_insertimage\\\"><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-image-button.png\\\"  alt=\\\"{$this->ipsclass->lang[\'js_rte_lite_img\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_rte_lite_img\']}\\\" /></div></td>\n			 <td><div class=\\\"rte-normal\\\" id=\\\"fast-reply_cmd_emoticon\\\"><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-emo-button.png\\\"  alt=\\\"{$this->ipsclass->lang[\'js_tt_emoticons\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_emoticons\']}\\\" /></div></td>\n		     <td><div class=\\\"rte-normal\\\" id=\\\"fast-reply_cmd_ipb_quote\\\"><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-quote-button.png\\\"  alt=\\\"{$this->ipsclass->lang[\'js_rte_lite_quote\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_rte_lite_quote\']}\\\" /></div></td>\n			 <td><div class=\\\"rte-normal\\\" id=\\\"fast-reply_cmd_ipb_code\\\"><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-code-button.png\\\"  alt=\\\"{$this->ipsclass->lang[\'js_rte_lite_code\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_rte_lite_code\']}\\\" /></div></td>\n		</tr>\n		  </table>\n		 </td>\n		 <td width=\'98%\'>&nbsp;</td>\n		 <td width=\'1%\' align=\'right\' nowrap=\'nowrap\'>\n			<table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n	           <tr>\n	               	<td>\n					   <div class=\\\"rte-normal\\\" id=\\\"fast-reply_resize_up\\\" style=\'padding:0px;margin:0px;\'><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-resize-up.gif\\\"  alt=\\\"\\\" /></div>\n					   <div class=\\\"rte-normal\\\" id=\\\"fast-reply_resize_down\\\" style=\'padding:0px;margin:0px;padding-top:1px\'><img src=\\\"style_images/<#IMG_DIR#>/folder_editor_images/rte-resize-down.gif\\\"  alt=\\\"\\\" title=\\\"\\\" /></div>\n				   </td>\n	           </tr>\n	          </table>\n		 </td>\n		</tr>\n		</table>\n	   <div style=\'padding-bottom:8px\'>\n	    	<textarea style=\'margin:0px;padding:4px;width:98%\' tabindex=\\\"1\\\" name=\'Post\' id=\'fast-reply_textarea\' class=\'rte-iframe\' cols=\'80\' rows=\'15\'></textarea>\n	   </div>\n	   <div>\n			<div>\n				\" . (($this->ipsclass->member[\'auto_track\'] == \"\" or $this->ipsclass->member[\'auto_track\'] == \'0\') ? (\"\n					<input type=\\\"checkbox\\\" name=\\\"enabletrack\\\" value=\\\"1\\\" class=\\\"checkbox\\\" />&nbsp;{$this->ipsclass->lang[\'qr_add_email\']} &#124;\n				\") : (\"\n					<input type=\\\"checkbox\\\" name=\\\"enabletrack\\\" value=\\\"1\\\" class=\\\"checkbox\\\" checked=\\\"checked\\\" />&nbsp;{$this->ipsclass->lang[\'qr_add_email\']} &#124;\n				\")) . \"\n				<input type=\\\"checkbox\\\" name=\\\"enableemo\\\" value=\\\"yes\\\" class=\\\"checkbox\\\" checked=\\\"checked\\\" />&nbsp;{$this->ipsclass->lang[\'qr_add_smilie\']} &#124;\n				<input type=\\\"checkbox\\\" name=\\\"enablesig\\\" value=\\\"yes\\\" class=\\\"checkbox\\\" checked=\\\"checked\\\" />&nbsp;{$this->ipsclass->lang[\'qr_add_sig\']}\n			</div>\n		    <div style=\'margin-top:3px\'>\n				<input type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'qr_submit\']}\\\" class=\\\"button\\\" tabindex=\\\"2\\\" accesskey=\\\"s\\\" /> &nbsp;\n				<input type=\\\"submit\\\" name=\\\"preview\\\" value=\\\"{$this->ipsclass->lang[\'qr_more_opts\']}\\\" class=\\\"button\\\" /> &nbsp;\n				<input type=\\\"button\\\" name=\\\"qrc\\\" onclick=\\\"ShowHide(\'qr_open\',\'qr_closed\');\\\" value=\\\"{$this->ipsclass->lang[\'qr_closeit\']}\\\" class=\\\"button\\\" />\n			</div>\n	   </div>\n	</div>\n	</div>\n</div>\n</form>\n</div>\n<script type=\'text/javascript\'>\n<!--\nIPS_Lite_Editor[ \'fast-reply\' ] = new ips_text_editor_lite( \'fast-reply\' );\nIPS_Lite_Editor[ \'fast-reply\' ].init();\nIPS_Lite_Editor[ \'fast-reply\' ].text_obj.style.height = \'150px\';\n-->\n</script>\n<!--<div id=\\\"qr_open\\\" style=\\\"display: $show; position: relative;\\\">\n<br />\n<form name=\\\"REPLIER\\\" action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Post\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"03\\\" />\n<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"$fid\\\" />\n<input type=\\\"hidden\\\" name=\\\"t\\\" value=\\\"$tid\\\" />\n<input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"$key\\\" />\n<input type=\\\"hidden\\\" name=\\\"fast_reply_used\\\" value=\\\"1\\\" />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'qr_title\']}</div>\n	<div style=\'padding:6px\' align=\\\"center\\\">\n		\n\" . (($this->ipsclass->member[\'auto_track\'] == \"\" or $this->ipsclass->member[\'auto_track\'] == \'0\') ? (\"\n	<input type=\\\"checkbox\\\" name=\\\"enabletrack\\\" value=\\\"1\\\" class=\\\"checkbox\\\" />&nbsp;{$this->ipsclass->lang[\'qr_add_email\']} &#124;\n\") : (\"\n	<input type=\\\"checkbox\\\" name=\\\"enabletrack\\\" value=\\\"1\\\" class=\\\"checkbox\\\" checked=\\\"checked\\\" />&nbsp;{$this->ipsclass->lang[\'qr_add_email\']} &#124;\n\")) . \"\n		<input type=\\\"checkbox\\\" name=\\\"enableemo\\\" value=\\\"yes\\\" class=\\\"checkbox\\\" checked=\\\"checked\\\" />&nbsp;<a href=\\\"javascript:emo_pop();\\\">{$this->ipsclass->lang[\'qr_add_smilie\']}</a> &#124;\n		<input type=\\\"checkbox\\\" name=\\\"enablesig\\\" value=\\\"yes\\\" class=\\\"checkbox\\\" checked=\\\"checked\\\" />&nbsp;{$this->ipsclass->lang[\'qr_add_sig\']}\n		<br />\n		<br />\n		<input type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'qr_submit\']}\\\" class=\\\"button\\\" tabindex=\\\"2\\\" accesskey=\\\"s\\\" /> &nbsp;\n		<input type=\\\"submit\\\" name=\\\"preview\\\" value=\\\"{$this->ipsclass->lang[\'qr_more_opts\']}\\\" class=\\\"button\\\" /> &nbsp;\n		<input type=\\\"button\\\" name=\\\"qrc\\\" onclick=\\\"ShowHide(\'qr_open\',\'qr_closed\');\\\" value=\\\"{$this->ipsclass->lang[\'qr_closeit\']}\\\" class=\\\"button\\\" />\n	</div>\n</div>\n</form>\n</div>-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_row_hidden:desc::trigger:>\n//===========================================================================\nfunction render_row_hidden($post=\"\",$author=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\'post-ignore-{$post[\'pid\']}\' style=\'display:none\'>\n <div class=\\\"postcolor\\\" id=\'post-{$post[\'pid\']}\'>\n   <strong>{$this->ipsclass->lang[\'ignore_first_line\']} {$post[\'members_display_name\']}.</strong>\n   <br />\n   <br />\n   &middot; <a href=\\\"#\\\" onclick=\\\"return topic_show_ignored_post(\'{$post[\'pid\']}\')\\\">{$this->ipsclass->lang[\'ignore_view_post\']}</a>\n   <br />\n   &middot; <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignoreremove&amp;id={$author[\'id\']}\\\">{$this->ipsclass->lang[\'ignore_unignore\']} {$post[\'members_display_name\']}</a>\n </div>\n</div>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\ntopic_init_ignored_post( \'{$post[\'pid\']}\' );\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:RenderRow:desc::trigger:>\n//===========================================================================\nfunction RenderRow($post=\"\",$author=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--Begin Msg Number {$post[\'pid\']}-->\n<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n	<tr>\n		<td valign=\\\"middle\\\" class=\\\"row2\\\" width=\\\"1%\\\">\n			<a name=\\\"entry{$post[\'pid\']}\\\"></a>\n			\" . (($author[\'id\']) ? (\"\n				<div id=\\\"post-member-{$post[\'pid\']}\\\" class=\'popmenubutton-new-out\'>\n					<span class=\\\"{$post[\'name_css\']}\\\">{$author[\'_pp_online_image\']}{$author[\'_members_display_name\']}</span>\n				</div>\n				<!-- member menu -->\n				<div class=\'popupmenu-new\' id=\'post-member-{$post[\'pid\']}_menu\' style=\'display:none;width:230px\'>\n					<div class=\'popupmenu-item-last\'>\n						\" . (($author[\'members_display_name_short\'] != $author[\'members_display_name\']) ? (\"\n							<div class=\'popupmenu-item\'><strong>{$author[\'members_display_name\']}</strong></div>\n						\") : (\"\")) . \"\n						<div style=\'float:right\'>\n							<div class=\'pp-image-thumb-wrap\'>\n								<img src=\'{$author[\'pp_thumb_photo\']}\' width=\'{$author[\'pp_thumb_width\']}\' height=\'{$author[\'pp_thumb_height\']}\' alt=\'\' />\n							</div>\n							\" . (($this->ipsclass->vars[\'pp_allow_member_rate\']) ? (\"\n								<div style=\'margin-top:5px;margin-left:6px;\'>\n									<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/rating_{$author[\'_pp_rating_real\']}_mini.gif\\\" alt=\'{$this->ipsclass->lang[\'rating_prefix\']}: {$author[\'_pp_rating_real\']}\' style=\'vertical-align:middle\' border=\'0\' />\n								</div>\n							\") : (\"\")) . \"\n						</div>\n						<div class=\'popupmenu-item\'>\n							{$author[\'_pp_gender_image\']} <a href=\\\"{$this->ipsclass->base_url}showuser={$author[\'id\']}\\\">{$this->ipsclass->lang[\'dd_view_profile\']}</a>\n						</div>\n						\" . (($this->ipsclass->member[\'id\']) ? (\"\n							<div class=\'popupmenu-item\'>\n								\" . ((in_array( $author[\'id\'], array_keys( $this->ipsclass->member[\'_cache\'][\'friends\'] ) )) ? (\"\n									<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"#\\\" onclick=\'friends_pop(\\\"&amp;do=remove&amp;member_id={$author[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\"); return false\'>{$this->ipsclass->lang[\'dd_remove_friend\']}</a>\n								\") : (\"\n									<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_add_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"#\\\" onclick=\'friends_pop(\\\"&amp;do=add&amp;member_id={$author[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\"); return false\'>{$this->ipsclass->lang[\'dd_add_friend\']}</a>\n								\")) . \"\n							</div>\n							<div class=\'popupmenu-item\'>\n								<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/send_pm_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$author[\'id\']}\\\">{$this->ipsclass->lang[\'dd_send_pm\']}</a>\n							</div>\n							<div class=\'popupmenu-item\'>\n								<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/find_posts.png\' alt=\'\' border=\'0\' /> <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$author[\'id\']}\'>{$this->ipsclass->lang[\'dd_find_topics\']}</a>\n							</div>\n							<div class=\'popupmenu-item-last\'>\n								<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/find_posts.png\' alt=\'\' border=\'0\' /> <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$author[\'id\']}\'>{$this->ipsclass->lang[\'dd_find_posts\']}</a>\n							</div>\n						\") : (\"\")) . \"\n					</div>\n				</div>\n				<!-- member menu -->\n				<script type=\\\"text/javascript\\\">\n					ipsmenu.register( \\\"post-member-{$post[\'pid\']}\\\", \'\', \'popmenubutton-new\', \'popmenubutton-new-out\' );\n				</script>\n			\") : (\"\n				<span class=\\\"{$post[\'name_css\']}\\\">{$author[\'_members_display_name\']}</span>\n			\")) . \"\n			\n		</td>\n		<td class=\\\"row2\\\" valign=\\\"middle\\\" width=\\\"99%\\\">\n			<!-- POSTED DATE DIV -->\n			<div style=\\\"float: left;\\\">\n				<span class=\\\"postdetails\\\">{$post[\'post_icon\']} <img src=\'{$this->ipsclass->vars[\'img_url\']}/to_post_off.gif\' alt=\'{$this->ipsclass->lang[\'to_post_alt\']}\' border=\'0\' style=\'padding-bottom:2px\' /> {$post[\'post_date\']}</span>\n			</div>\n			<!-- REPORT / DELETE / EDIT / QUOTE DIV -->\n			<div align=\\\"right\\\">\n				<span class=\\\"postdetails\\\">{$post[\'ip_address\']} {$this->ipsclass->lang[\'posted_on\']}\n					<a title=\\\"{$this->ipsclass->lang[\'tt_link\']}\\\" href=\\\"{$this->ipsclass->vars[\'board_url\']}/index.{$this->ipsclass->vars[\'php_ext\']}?showtopic={$post[\'topic_id\']}&amp;view=findpost&amp;p={$post[\'pid\']}\\\" onclick=\\\"link_to_post({$post[\'pid\']}); return false;\\\">#{$post[\'post_count\']}</a>\n					\" . (($this->ipsclass->member[\'is_mod\']) ? (\"\n						&#0124; <a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'click_for_mod\']}\\\" onclick=\\\"topic_toggle_pid(\'{$post[\'pid\']}\'); return false;\\\">{$post[\'pid_start_image\']}</a>\n					\") : (\"\")) . \"\n				</span>\n			</div>\n		</td>\n	</tr>\n	<tr>\n		<td valign=\\\"top\\\" class=\\\"{$post[\'post_css\']}\\\">\n        	<span class=\\\"postdetails\\\">\n				\" . (($author[\'id\'] AND $author[\'avatar\']) ? (\"\n					<a href=\\\"{$this->ipsclass->base_url}showuser={$author[\'id\']}\\\" title=\\\"{$this->ipsclass->lang[\'dd_view_profile\']}\\\">{$author[\'avatar\']}</a><br /><br />\n				\") : (\"\n        			{$author[\'avatar\']}<br /><br />\n				\")) . \"\n        		{$author[\'title\']}<br />\n        		{$author[\'member_rank_img\']}<br /><br />\n        		{$author[\'member_group\']}<br />\n        		{$author[\'member_posts\']}<br />\n        		{$author[\'member_joined\']}<br />\n        		{$author[\'member_location\']}\n        		{$author[\'member_number\']}<br />\n				\" . (($author[\'custom_fields\'] != \"\") ? (\"\n					{$author[\'custom_fields\']}\n				\") : (\"\")) . \"\n				<br />\n        		{$author[\'warn_text\']} {$author[\'warn_minus\']}{$author[\'warn_img\']}{$author[\'warn_add\']}\n        	</span><br />\n        	<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\\\"160\\\" height=\\\"1\\\" /><br /> \n       </td>\n       <td width=\\\"100%\\\" valign=\\\"top\\\" class=\\\"{$post[\'post_css\']}\\\" id=\'post-main-{$post[\'pid\']}\'>\n			<!-- THE POST {$post[\'pid\']} -->\n			<div class=\\\"postcolor\\\" id=\'post-{$post[\'pid\']}\'>\n				{$post[\'post\']}\n				{$post[\'edit_by\']}\n				\" . (($post[\'post_edit_reason\'] != \'\') ? (\"\n					<div class=\'post-edit-reason\'>\n						{$this->ipsclass->lang[\'reason_for_edit\']}: {$post[\'post_edit_reason\']}\n					</div>\n				\") : (\"\")) . \"\n				<!--IBF.ATTACHMENT_{$post[\'pid\']}-->\n			</div>\n			\n			{$post[\'signature\']}\n			<!-- THE POST -->		\n		</td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" nowrap=\\\"nowrap\\\">\n			<div style=\'text-align:left\'><a href=\\\"javascript:scroll(0,0);\\\"><{P_UP}></a>{$post[\'report_link\']}</div>\n		</td>\n		<td class=\\\"formbuttonrow\\\" nowrap=\\\"nowrap\\\">\n			<!-- PM / EMAIL / WWW / MSGR -->\n			<div style=\\\"float: left;\\\">\n				&nbsp;\n			</div>\n			<!-- REPORT / UP -->\n         	<div align=\\\"right\\\">\n         		{$post[\'delete_button\']}{$post[\'edit_button\']}<a href=\\\"#\\\" onclick=\\\"multiquote_add({$post[\'pid\']}); return false;\\\" title=\\\"{$this->ipsclass->lang[\'mq_title\']}\\\">{$post[\'mq_start_image\']}</a><a href=\\\"{$this->ipsclass->base_url}act=Post&amp;CODE=02&amp;f={$this->ipsclass->input[\'f\']}&amp;t={$this->ipsclass->input[\'t\']}&amp;qpid={$post[\'pid\']}\\\" title=\\\"{$this->ipsclass->lang[\'tt_reply_to_post\']}\\\"><{P_QUOTE}></a>\n         	</div>\n         </td>\n	</tr><tr>\n	<td class=\\\"catend\\\" colspan=\\\"2\\\">\n	<!-- no content -->\n	</td>\n</tr>\n</table>\n\" . (($post[\'edit_button\']!=\'\') ? (\"\n<script type=\'text/javascript\'>\n//<![CDATA[\nif ( ajax_loaded && use_enhanced_js )\n{\nmenu_build_menu( \'edit-but-{$post[\'pid\']}\',\n	new Array(  img_item + \\\" <a title=\'{$this->ipsclass->lang[\'edit_full_desc\']}\' href=\'{$this->ipsclass->base_url}act=post&amp;do=edit_post&amp;f={$post[\'forum_id\']}&amp;t={$post[\'topic_id\']}&amp;p={$post[\'pid\']}&amp;st={$this->ipsclass->input[\'st\']}\'>{$this->ipsclass->lang[\'edit_full_title\']}</a>\\\",\n				img_item + \\\" <a href=\'#\' title=\'{$this->ipsclass->lang[\'edit_quick_desc\']}\' onclick=\'return ajax_prep_for_edit({$post[\'pid\']}, event);\'>{$this->ipsclass->lang[\'edit_quick_title\']}</a>\\\" ) );\n}\n//]]>\n</script>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:report_link:desc::trigger:>\n//===========================================================================\nfunction report_link($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=report&amp;t={$data[\'topic_id\']}&amp;p={$data[\'pid\']}&amp;st={$this->ipsclass->input[\'st\']}\\\"><{P_REPORT}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_attachment_title:desc::trigger:>\n//===========================================================================\nfunction show_attachment_title($title=\"\",$data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div>\n	<strong><span class=\\\"edit\\\">$title</span></strong>\n	<div>\n		$data\n	</div>\n</div>\n<div>&nbsp;</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Show_attachments:desc::trigger:>\n//===========================================================================\nfunction Show_attachments($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=attach&amp;type={$data[\'type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$this->ipsclass->lang[\'attach_dl\']}\\\" target=\\\"_blank\\\"><img src=\\\"{$this->ipsclass->vars[\'mime_img\']}/{$data[\'mime_image\']}\\\" alt=\\\"{$this->ipsclass->lang[\'attached_file\']}\\\" /></a>\n&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=attach&amp;type={$data[\'type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$this->ipsclass->lang[\'attach_dl\']}\\\" target=\\\"_blank\\\">{$data[\'attach_file\']}</a> ( {$data[\'file_size\']} )\n<span class=\\\"desc\\\">{$this->ipsclass->lang[\'attach_hits\']}: {$data[\'attach_hits\']}</span><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Show_attachments_img:desc::trigger:>\n//===========================================================================\nfunction Show_attachments_img($file_name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\\\"{$this->ipsclass->vars[\'upload_url\']}/$file_name\\\" class=\'linked-image\' alt=\\\"{$this->ipsclass->lang[\'pic_attach\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Show_attachments_img_thumb:desc::trigger:>\n//===========================================================================\nfunction Show_attachments_img_thumb($data=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . ((!$data[\'notinline\']) ? (\"\n <br />\n\") : (\"\")) . \"\n<table style=\'width:auto;display:inline;\' id=\'ipb-attach-table-{$data[\'_attach_id\']}\' cellspacing=\'0\' cellpadding=\'0\'>\n<tr>\n <td>\n	<div id=\'ipb-attach-div-{$data[\'_attach_id\']}\'>\n		<div id=\'ipb-attach-ct-{$data[\'_attach_id\']}\'></div>\n		<a id=\'ipb-attach-url-{$data[\'_attach_id\']}\' href=\\\"{$this->ipsclass->base_url}act=attach&amp;type={$data[\'type\']}&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$data[\'location\']} - {$this->ipsclass->lang[\'attach_size\']} {$data[\'file_size\']}, {$this->ipsclass->lang[\'attach_ahits\']} {$data[\'attach_hits\']}\\\" target=\\\"_blank\\\"><img src=\\\"{$this->ipsclass->vars[\'upload_url\']}/{$data[\'t_location\']}\\\" id=\'ipb-attach-img-{$data[\'_attach_id\']}\' style=\'width:{$data[\'t_width\']};height:{$data[\'t_height\']}\' class=\'attach\' width=\\\"{$data[\'t_width\']}\\\" height=\\\"{$data[\'t_height\']}\\\" alt=\\\"{$this->ipsclass->lang[\'pic_attach\']}\\\" /></a>\n		<div id=\'ipb-attach-cb-{$data[\'_attach_id\']}\' style=\'margin:0px\'></div>\n	</div>\n </td>\n</tr>\n</table>\n<script type=\'text/javascript\'>\n//<![CDATA[\n	fix_linked_image_sizes_attach_thumb( \\\"{$data[\'_attach_id\']}\\\", parseInt(\\\"{$data[\'o_width\']}\\\"), parseInt(\\\"{$data[\'o_height\']}\\\"), \\\"{$data[\'file_size\']}\\\" );\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:start_poll_link:desc::trigger:>\n//===========================================================================\nfunction start_poll_link($fid=\"\",$tid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=post&amp;CODE=14&amp;f=$fid&amp;t=$tid\\\"><{A_APOLL}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:TableFooter:desc::trigger:>\n//===========================================================================\nfunction TableFooter($data=\"\",$is_outline=\"\",$auth_key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- END TABLE -->\n\" . (($is_outline == 1) ? (\"\n<br />\n<div class=\\\"borderwrap\\\">\n\") : (\"\")) . \"\n<!-- TABLE FOOTER -->\n<div class=\\\"barc\\\">\n	<div style=\\\"float: right; padding: 5px 5px 0 0;\\\"><a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'TOPIC\'][\'tid\']}&amp;view=old\\\" style=\'text-decoration:none\'>&laquo; {$this->ipsclass->lang[\'t_old\']}</a>\n	&middot; <a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'FORUM\'][\'id\']}\\\" style=\'font-weight: bold;text-decoration:none\'>{$data[\'FORUM\'][\'name\']}</a>\n	&middot; <a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'TOPIC\'][\'tid\']}&amp;view=new\\\" style=\'text-decoration:none\'>{$this->ipsclass->lang[\'t_new\']} &raquo;</a></div>\n	<div>\n		<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"search\\\">\n			<input type=\\\"hidden\\\" name=\\\"forums\\\" value=\\\"{$data[\'FORUM\'][\'id\']}\\\" />\n			<input type=\\\"hidden\\\" name=\\\"topic\\\" value=\\\"{$data[\'TOPIC\'][\'tid\']}\\\" />\n			<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Search\\\" />\n			<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"searchtopic\\\" />\n			<input type=\\\"text\\\" size=\\\"25\\\" name=\\\"keywords\\\" class=\\\"searchinput\\\" value=\\\"{$this->ipsclass->lang[\'enter_keywords\']}\\\" onfocus=\\\"this.value = \'\';\\\" />&nbsp;\n			<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'search_topic\']}\\\" class=\\\"button\\\" />\n		</form>\n	</div>\n</div>\n</div>\n<br />\n<!--IBF.MOD_FULL_WRAPPER-->\n<!--IBF.MOD_PANEL_NO_MOD-->\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td style=\'padding-left:0px\' width=\\\"30%\\\" nowrap=\\\"nowrap\\\" valign=\\\"middle\\\"><div>{$data[\'TOPIC\'][\'SHOW_PAGES\']}</div></td>\n		<td class=\'nopad\' style=\'padding:5px 0px 5px 0px\' align=\\\"right\\\" width=\\\"70%\\\"><!--IBF.QUICK_REPLY_CLOSED--><!--IBF.TOPIC_REPLY--><a href=\\\"{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data[\'FORUM\'][\'id\']}\\\" title=\\\"{$this->ipsclass->lang[\'start_new_topic\']}\\\"><{A_POST}></a></td>\n	</tr>\n</table>\n<!--IBF.TOPIC_ACTIVE-->\n<!--IBF.QUICK_REPLY_OPEN-->\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"row2\\\" style=\\\"padding: 5px;\\\">\n		<!--IBF.MULTIMOD-->\n		<div align=\\\"right\\\">{$data[\'FORUM\'][\'JUMP\']}</div>\n	</div>\n</div>\n<br />\n<!-- NON JS STUFF -->\n<div id=\'topicoptionsjs\'>\n <a name=\'topicdisplay\'></a>\n <div class=\'borderwrap\'>\n  <div class=\\\"bar\\\" style=\\\"padding: 5px;text-align:center\\\">\n  <strong>{$this->ipsclass->lang[\'topic_display\']}:</strong> {$data[\'TOPIC\'][\'to_button_standard\']} &middot;\n  {$data[\'TOPIC\'][\'to_button_linearpl\']} &middot;\n  {$data[\'TOPIC\'][\'to_button_threaded\']}\n  </div>\n </div>\n <br />\n <a name=\'topicoptions\'></a>\n <div class=\'borderwrap\'>\n  <div class=\\\"bar\\\" style=\\\"padding: 5px;text-align:center\\\">\n  <a href=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=topic&amp;tid={$data[\'TOPIC\'][\'tid\']}\'>{$this->ipsclass->lang[\'track_topic\']}</a> &middot;\n  <a href=\'{$this->ipsclass->base_url}act=Forward&amp;f={$data[\'FORUM\'][\'id\']}&amp;t={$data[\'TOPIC\'][\'tid\']}\'>{$this->ipsclass->lang[\'forward\']}</a> &middot;\n  <a href=\'{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f={$data[\'FORUM\'][\'id\']}&amp;t={$data[\'TOPIC\'][\'tid\']}\'>{$this->ipsclass->lang[\'print\']}</a> &middot;\n  <a href=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=forum&amp;fid={$data[\'FORUM\'][\'id\']}\'>{$this->ipsclass->lang[\'ft_title\']}</a>\n  </div>\n </div>\n <br />\n\" . (($data[\'TOPIC\'][\'_allow_rate\'] != 0) ? (\"\n<a name=\'topicrating\'></a>\n <div class=\'borderwrap\'>\n  <div class=\\\"bar\\\" style=\\\"padding: 5px;text-align:center\\\">\n  <form action=\'{$this->ipsclass->base_url}&amp;showtopic={$data[\'TOPIC\'][\'tid\']}&amp;addrating=1&amp;st={$this->ipsclass->input[\'st\']}\' method=\'POST\'>\n  <strong>{$this->ipsclass->lang[\'topic_rating\']}</strong> &nbsp;<select name=\'rating\'>\n   <option value=\'5\'>* * * * *</option>\n   <option value=\'4\'>* * * *</option>\n   <option value=\'3\'>* * *</option>\n   <option value=\'2\'>* *</option>\n   <option value=\'1\'>*</option>\n  </select> <input class=\'button\' type=\'submit\' value=\' {$this->ipsclass->lang[\'dd_rate_button\']} \' />\n  </form>\n  </div>\n </div>\n\") : (\"\")) . \"\n</div>\n<script type=\'text/javascript\'>\n//<![CDATA[\ndocument.getElementById(\'topicoptionsjs\').style.display = \'none\';\n \n// Scroll to PID?\ntopic_scroll_to_post( parseInt(\\\"{$this->ipsclass->input[\'gopid\']}\\\") );\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_active_users:desc::trigger:>\n//===========================================================================\nfunction topic_active_users($active=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\" style=\'padding-bottom:1px;\'>\n	<div class=\\\"formsubtitle\\\" style=\\\"padding: 4px;\\\">{$this->ipsclass->lang[\'active_users_title\']} ({$this->ipsclass->lang[\'active_users_detail\']})</div>\n	<div class=\\\"row1\\\" style=\\\"padding: 4px;\\\">{$this->ipsclass->lang[\'active_users_members\']} {$active[\'names\']}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_end_first_post:desc::trigger:>\n//===========================================================================\nfunction topic_end_first_post($data=\"\",$noreplieshow=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td style=\'padding-left:0px\' width=\\\"40%\\\" valign=\\\"middle\\\" nowrap=\\\"nowrap\\\"><div>{$data[\'TOPIC\'][\'SHOW_PAGES\']}&nbsp;{$data[\'TOPIC\'][\'go_new\']}</div></td>\n		<td class=\'nopad\' style=\'padding:5px 0px 5px 0px\' align=\\\"right\\\" width=\\\"60%\\\" valign=\\\"middle\\\">{$data[\'TOPIC\'][\'REPLY_BUTTON\']}<a href=\\\"{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data[\'FORUM\'][\'id\']}\\\" title=\\\"{$this->ipsclass->lang[\'start_new_topic\']}\\\"><{A_POST}></a></td>\n	</tr>\n</table>\n<a name=\\\"firstpost\\\"></a>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'tom_replies\']}\n\" . (($noreplieshow != 1) ? (\"\n({$data[\'TOPIC\'][\'new_mode_start\']} - {$data[\'TOPIC\'][\'new_mode_end\']})\n\") : (\"\")) . \"\n	</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_end_outline:desc::trigger:>\n//===========================================================================\nfunction topic_end_outline($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_opts_closed:desc::trigger:>\n//===========================================================================\nfunction topic_opts_closed() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:ShowHide(\'topic_open\',\'topic_closed\')\\\" title=\\\"{$this->ipsclass->lang[\'to_open\']}\\\"><{T_OPTS}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_page_top:desc::trigger:>\n//===========================================================================\nfunction topic_page_top($data=\"\",$threaded=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nvar ipb_lang_tt_prompt = \\\"{$this->ipsclass->lang[\'tt_prompt\']}\\\";\nvar ipb_lang_js_del_1  = \\\"{$this->ipsclass->lang[\'js_del_1\']}\\\";\nvar ipb_lang_js_del_2  = \\\"{$this->ipsclass->lang[\'js_del_2\']}\\\";\nvar addquotebutton     = \\\"{$this->ipsclass->vars[\'img_url\']}/p_mq_add.gif\\\";\nvar removequotebutton  = \\\"{$this->ipsclass->vars[\'img_url\']}/p_mq_remove.gif\\\";\nvar unselectedbutton = \\\"{$this->ipsclass->vars[\'img_url\']}/topic_unselected.gif\\\";\nvar selectedbutton   = \\\"{$this->ipsclass->vars[\'img_url\']}/topic_selected.gif\\\";\nvar lang_gobutton    = \\\"{$this->ipsclass->lang[\'f_go\']}\\\";\nvar lang_suredelete  = \\\"{$this->ipsclass->lang[\'cp_js_delete\']}\\\";\nvar js_error_no_permission = \\\"{$this->ipsclass->lang[\'js_error_no_permission\']}\\\";\nvar js_no_empty_post = \\\"{$this->ipsclass->lang[\'js_no_empty_post\']}\\\";\n//-->\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ips_text_editor_lite.js\\\"></script>\n<script type=\'text/javascript\'>\n//<![CDATA[\ntopic_rate = new topic_rate();\n//]]>\n</script>\n<a name=\\\"top\\\"></a>\n<!--IBF.FORUM_RULES-->\n\" . (($threaded == 0) ? (\"\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td style=\'padding-left:0px\' width=\\\"40%\\\" valign=\\\"middle\\\" nowrap=\\\"nowrap\\\"><div>{$data[\'TOPIC\'][\'SHOW_PAGES\']}&nbsp;{$data[\'TOPIC\'][\'go_new\']}</div></td>\n		<td class=\'nopad\' style=\'padding:0px 0px 5px 0px\' align=\\\"right\\\" width=\\\"60%\\\" valign=\\\"middle\\\"><!--IBF.TOPIC_REPLY--><a href=\\\"{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data[\'FORUM\'][\'id\']}\\\" title=\\\"{$this->ipsclass->lang[\'start_new_topic\']}\\\"><{A_POST}></a></td>\n	</tr>\n</table>\n\") : (\"\")) . \"\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\" style=\'padding:4px\'>\n	<!-- TABLE FIX FOR MOZILLA WRAPPING-->\n	<table width=\'100%\' style=\'padding:0px\' cellspacing=\'0\' cellpadding=\'0\'>\n	<tr>\n	 <td width=\'99%\' style=\'word-wrap:break-word;\'><div><{CAT_IMG}>&nbsp;<b>{$data[\'TOPIC\'][\'title\']}</b>{$data[\'TOPIC\'][\'description\']}</div></td>\n	 \n	 <td width=\'1%\' align=\'right\' nowrap=\'nowrap\'>\n		\n		\" . (($data[\'TOPIC\'][\'_allow_rate\'] != 0) ? (\"\n			<div class=\'popmenubutton\' id=\'topic-rating\'>\n				<a href=\'#topicrating\'>{$this->ipsclass->lang[\'topic_rating\']}</a>\n				{$data[\'TOPIC\'][\'_rate_img\']} <img src=\'{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\' alt=\'V\' title=\'{$this->ipsclass->lang[\'global_open_menu\']}\' border=\'0\' />\n			</div>\n		\") : (\"\n			\" . (($data[\'TOPIC\'][\'_rate_show\'] == 1 AND $data[\'TOPIC\'][\'_rate_img\'] != \'\') ? (\"\n				<div class=\'popmenubutton\' id=\'topic-rating\'>\n					{$this->ipsclass->lang[\'topic_rating\']} {$data[\'TOPIC\'][\'_rate_img\']} <img src=\'{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\' alt=\'V\' title=\'{$this->ipsclass->lang[\'global_open_menu\']}\' border=\'0\' />\n				</div>\n			\") : (\"\")) . \"\n		\")) . \"\n		\" . (($data[\'TOPIC\'][\'_allow_rate\'] != 0) ? (\"\n			<div id=\'topic-rating_menu\' class=\'popupmenu-new\' style=\'display:none;width:140px\'>\n				<div class=\'popupmenu-item\'>\n					<div id=\'topic-rating-wrapper\'></div>\n				</div>\n				<div class=\'popupmenu-item\'>\n					{$this->ipsclass->lang[\'you_have_rated_x\']} <span id=\'topic-rating-my-rating\'>{$data[\'TOPIC\'][\'_rating_value\']}</span>\n				</div>\n				<div class=\'popupmenu-item-last\'>\n					{$this->ipsclass->lang[\'total_ratings\']} <span id=\'topic-rating-hits\'>{$data[\'TOPIC\'][\'topic_rating_hits\']}</span>\n				</div>\n			</div>\n			<script type=\'text/javascript\'>\n				ipsmenu.register( \\\"topic-rating\\\" );\n			</script>\n		\") : (\"\")) . \"\n     </td>\n	 <td width=\'1%\' align=\'right\' nowrap=\'nowrap\'>\n	    <div class=\'popmenubutton\' id=\'topicmenu-options\'><a href=\'#topicoptions\'>{$this->ipsclass->lang[\'topic_options\']}</a> <img src=\'{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\' alt=\'V\' title=\'{$this->ipsclass->lang[\'global_open_menu\']}\' border=\'0\' /></div>\n	 </td>\n	</tr>\n  </table>\n	 \n </div>\n <!--{IBF.POLL}-->\n<script type=\\\"text/javascript\\\">\n<!--\nmenu_build_menu(\n\\\"topicmenu-options\\\",\nnew Array(   img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=topic&amp;tid={$data[\'TOPIC\'][\'tid\']}\'>{$this->ipsclass->lang[\'track_topic\']}</a>\\\",\n 			 img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=Forward&amp;f={$data[\'FORUM\'][\'id\']}&amp;t={$data[\'TOPIC\'][\'tid\']}\'>{$this->ipsclass->lang[\'forward\']}</a>\\\",\n 			 img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f={$data[\'FORUM\'][\'id\']}&amp;t={$data[\'TOPIC\'][\'tid\']}\'>{$this->ipsclass->lang[\'print\']}</a>\\\",\n             img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=Print&amp;client=choose&amp;f={$data[\'FORUM\'][\'id\']}&amp;t={$data[\'TOPIC\'][\'tid\']}\'>{$this->ipsclass->lang[\'av_title\']}</a>\\\",\n 			 img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=forum&amp;fid={$data[\'FORUM\'][\'id\']}\'>{$this->ipsclass->lang[\'ft_title\']}</a>\\\",\n 			 \\\"~~NODIV~~<div class=\'popupmenu-category\' align=\'center\'>{$this->ipsclass->lang[\'dd_display_modes\']}</div>\\\",\n 			 img_item + \\\" {$data[\'TOPIC\'][\'to_button_threaded\']}\\\",\n 			 img_item + \\\" {$data[\'TOPIC\'][\'to_button_standard\']}\\\",\n 			 img_item + \\\" {$data[\'TOPIC\'][\'to_button_linearpl\']}\\\"\n	    ) );\ntopic_rate.settings[\'allow_rating\']       = parseInt(\\\"{$data[\'TOPIC\'][\'_allow_rate\']}\\\");\ntopic_rate.settings[\'default_rating\']     = parseInt(\\\"{$data[\'TOPIC\'][\'_rate_int\']}\\\");\ntopic_rate.settings[\'img_base_url\']       = ipb_var_image_url + \'/folder_topic_view\';\ntopic_rate.settings[\'div_rating_wrapper\'] = \'topic-rating-wrapper\';\ntopic_rate.settings[\'text_rating_image\']  = \'topic-rating-img-\';\ntopic_rate.languages[\'img_alt_rate\']      = \\\"{$this->ipsclass->lang[\'js_img_alt_rate\']}\\\";\ntopic_rate.languages[\'rate_me\']           = \\\"{$this->ipsclass->lang[\'js_rate_me\']}\\\";\ntopic_rate.init_rating_images();\n-->\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_rating_image:desc::trigger:>\n//===========================================================================\nfunction topic_rating_image($rating_id=0,$title=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($rating_id > 0) ? (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_topic_view/rating_{$rating_id}.gif\' id=\'topic-rating-img-main\' border=\'0\' alt=\'{$rating_id}\' />\n\") : (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/blank.gif\' id=\'topic-rating-img-main\' border=\'0\' alt=\'\' />\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:toutline_end_list:desc::trigger:>\n//===========================================================================\nfunction toutline_end_list($pages=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\n	<div class=\\\"row1\\\">$pages</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:toutline_end_new_parent:desc::trigger:>\n//===========================================================================\nfunction toutline_end_new_parent() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:toutline_mode_choice_off:desc::trigger:>\n//===========================================================================\nfunction toutline_mode_choice_off($url=\"\",$macro=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\'$url\'>{$this->ipsclass->lang[\'topic_display_switch\']} $macro</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:toutline_mode_choice_on:desc::trigger:>\n//===========================================================================\nfunction toutline_mode_choice_on($url=\"\",$macro=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<strong><em><a href=\'$url\'>$macro</a></em></strong>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:toutline_show_row:desc::trigger:>\n//===========================================================================\nfunction toutline_show_row($data=\"\",$show=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$data[\'depthguide\']} {$data[\'new_post\']} <b>{$data[\'linked_name\']}</b> &nbsp; <i><a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'topic_id\']}&amp;pid={$data[\'pid\']}&amp;mode=threaded&amp;start={$show}#entry{$data[\'pid\']}\\\">{$data[\'post_title\']}</a></i> &nbsp; <span class=\\\"desc\\\">{$data[\'formatted_date\']}</span><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:toutline_show_row_highlight:desc::trigger:>\n//===========================================================================\nfunction toutline_show_row_highlight($data=\"\",$show=0,$st=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div style=\'background:#FFF9BA;\'>{$data[\'depthguide\']} {$data[\'new_post\']} <b>{$data[\'linked_name\']}</b> &nbsp; <i><a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'topic_id\']}&amp;pid={$data[\'pid\']}&amp;mode=threaded&amp;show={$show}&amp;st={$st}#entry{$data[\'pid\']}\\\">{$data[\'post_title\']}</a></i> &nbsp; <span class=\\\"desc\\\">{$data[\'formatted_date\']}</span></div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:toutline_start_list:desc::trigger:>\n//===========================================================================\nfunction toutline_start_list() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'outline_posts_topic\']}</div>\n	<div class=\\\"tablepad\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:toutline_start_new_parent:desc::trigger:>\n//===========================================================================\nfunction toutline_start_new_parent() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_level_rating:desc::trigger:>\n//===========================================================================\nfunction warn_level_rating($id=\"\",$level=\"\",$min=0,$max=10) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&lt;&nbsp;$min ( <a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=warn&amp;mid={$id}&amp;CODE=view\',\'Pager\',\'500\',\'450\',\'0\',\'1\',\'1\',\'1\')\\\">{$level}</a> ) $max&nbsp;&gt;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_level_warn:desc::trigger:>\n//===========================================================================\nfunction warn_level_warn($id=\"\",$percent=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'tt_warn\']} (<a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=warn&amp;mid={$id}&amp;CODE=view\',\'Pager\',\'500\',\'450\',\'0\',\'1\',\'1\',\'1\')\\\">{$percent}</a>%)\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('5da2983bc167b6b9203833f88cba236c','skin_subscriptions','class skin_subscriptions_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:CP_end:desc::trigger:>\n//===========================================================================\nfunction CP_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\n		</td>\n	</tr>\n</table>\n	<!-- end main CP area -->\n	<br style=\\\"clear: both;\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:do_generic_payscreen_with_button:desc::trigger:>\n//===========================================================================\nfunction do_generic_payscreen_with_button($data=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$data[\'lang_title\']}</div>\n<p>\n	{$data[\'lang_explain\']}\n	<br /><br />\n	{$data[\'lang_desc\']}\n	<br /><br />\n	<b>{$data[\'lang_extra\']}</b>\n</p>\n<form action=\\\"{$data[\'formaction\']}\\\" method=\\\"post\\\">\n{$data[\'formfields\']}\n<br />\n<br />\n<div align=\'center\'>{$data[\'button\']}</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:do_manual_normal_screen:desc::trigger:>\n//===========================================================================\nfunction do_manual_normal_screen($new_sub_id=\"\",$desc_string=\"\",$ccode=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\n	function pop_ticket(){\n		window.open(\'{$this->ipsclass->js_base_url}act=paysubs&type=manual&CODE=custom&mode=ticket&tickid=0&upgrade=0&sid=$new_sub_id&currency=$ccode\',\'TICKET\',\'width=250,height=350,resizable=yes,scrollbars=yes,toolbar=yes\');\n	}\n-->\n</script>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'sc_complete\']}</div>\n	<p>\n		$desc_string<br /><br />\n		{$this->ipsclass->lang[\'post_manual\']}<br /><br />\n		{$this->ipsclass->lang[\'post_manual_more\']}\n	</p>\n	<br /><br />\n	<div>\n		<input class=\'button\' type=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'gw_manual\']}\\\" onclick=\\\"pop_ticket()\\\" />\n	</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:do_manual_upgrade_screen:desc::trigger:>\n//===========================================================================\nfunction do_manual_upgrade_screen($new_sub_id=\"\",$cur_id=\"\",$desc_string=\"\",$ccode=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nfunction pop_ticket(){\n	window.open(\'{$this->ipsclass->js_base_url}act=paysubs&type=manual&CODE=custom&mode=ticket&tickid={$cur_id}&upgrade=1&sid=$new_sub_id&currency=$ccode\',\'TICKET\',\'width=250,height=350,resizable=yes,scrollbars=yes,toolbar=yes\');\n}\n-->\n</script>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'sc_upgrade_title\']}</div>\n	<p>\n		$desc_string<br /><br />\n		{$this->ipsclass->lang[\'post_manual\']}<br /><br />\n		{$this->ipsclass->lang[\'post_manual_more\']}\n	</p>\n	<br /><br />\n	<div>\n		<input class=\'button\' type=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'gw_manual\']}\\\" onclick=\\\"pop_ticket()\\\" />\n	</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_jump:desc::trigger:>\n//===========================================================================\nfunction forum_jump($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n<div align=\\\"right\\\" class=\\\"row1\\\" style=\\\"padding: 5px;\\\">{$data}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_ticket:desc::trigger:>\n//===========================================================================\nfunction show_ticket($sub=\"\",$id=\"\",$paid=\"\",$extra=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<h2>{$this->ipsclass->lang[\'man_title\']}</h2>\n<table cellspacing=\\\"1\\\" class=\\\"ticket\\\">\n	<tr>\n		<td>\n			<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n				<tr>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$this->ipsclass->lang[\'man_mem\']}</td>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$this->ipsclass->member[\'members_display_name\']}</td>\n				</tr>\n				<tr>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$this->ipsclass->lang[\'man_mem_id\']}</td>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$this->ipsclass->member[\'id\']}</td>\n				</tr>\n				<tr>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$this->ipsclass->lang[\'man_email\']}</td>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$this->ipsclass->member[\'email\']}</td>\n				</tr>\n				<tr>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$this->ipsclass->lang[\'man_trans_id\']}</td>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$id}</td>\n				</tr>\n				<tr>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$this->ipsclass->lang[\'man_sub\']}</td>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$sub[\'sub_title\']} $extra</td>\n				</tr>\n				<tr>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFFF\\\">{$this->ipsclass->lang[\'man_pay\']}</td>\n					<td width=\\\"50%\\\" bgcolor=\\\"#FFFFFF\\\">{$paid}</td>\n				</tr>\n			</table>\n		</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_current_bottom:desc::trigger:>\n//===========================================================================\nfunction sub_choose_current_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_current_row:desc::trigger:>\n//===========================================================================\nfunction sub_choose_current_row($id=\"\",$name=\"\",$start=\"\",$end=\"\",$paid=\"\",$state=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$id</td>\n			<td class=\\\"row1\\\"><b>$name</b></td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$start</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$end</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">{$paid}</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$state</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_current_top:desc::trigger:>\n//===========================================================================\nfunction sub_choose_current_top() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'s_current_subs\']}</div>\n<p>{$this->ipsclass->lang[\'s_current_explain\']}</p>             \n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"5%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_transid\']}</th>\n			<th width=\\\"35%\\\">{$this->ipsclass->lang[\'s_detail\']}</th>\n			<th width=\\\"20%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_started\']}</th>\n			<th width=\\\"20%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_end\']}</th>\n			<th width=\\\"10%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_paid\']}</th>\n			<th width=\\\"10%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_status\']}</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_dead_bottom:desc::trigger:>\n//===========================================================================\nfunction sub_choose_dead_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_dead_row:desc::trigger:>\n//===========================================================================\nfunction sub_choose_dead_row($id=\"\",$name=\"\",$start=\"\",$end=\"\",$paid=\"\",$state=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$id</td>\n			<td class=\\\"row1\\\"><b>$name</b></td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$start</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$end</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">{$paid}</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$state</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_dead_top:desc::trigger:>\n//===========================================================================\nfunction sub_choose_dead_top() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'s_dead_subs\']}</div>\n<p>{$this->ipsclass->lang[\'s_dead_explain\']}</p>             \n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"5%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_transid\']}</th>\n			<th width=\\\"35%\\\">{$this->ipsclass->lang[\'s_detail\']}</th>\n			<th width=\\\"20%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_started\']}</th>\n			<th width=\\\"20%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_end\']}</th>\n			<th width=\\\"10%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_paid\']}</th>\n			<th width=\\\"10%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_status\']}</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_new_bottom:desc::trigger:>\n//===========================================================================\nfunction sub_choose_new_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n</div>\n<div class=\\\"borderwrapm\\\">\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'s_continue_button\']}\\\" /></div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_new_row:desc::trigger:>\n//===========================================================================\nfunction sub_choose_new_row($id=\"\",$name=\"\",$desc=\"\",$cost=\"\",$duration=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"sub\\\" value=\\\"$id\\\" /></td>\n			<td class=\\\"row1\\\"><b>$name</b><br />$desc</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">$duration</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">{$cost}</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_new_top:desc::trigger:>\n//===========================================================================\nfunction sub_choose_new_top($currency=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'s_available_subs\']}</div>\n<p>{$this->ipsclass->lang[\'s_explain\']}</p>\n<br />\n<form action=\\\"{$this->ipsclass->base_url}act=paysubs&amp;nocp={$this->ipsclass->input[\'nocp\']}&amp;CODE=paymentmethod&amp;currency=$currency\\\" method=\\\"post\\\">             \n	<div class=\\\"borderwrapm\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<th width=\\\"5%\\\">&nbsp;</th>\n				<th width=\\\"55%\\\">{$this->ipsclass->lang[\'s_detail\']}</th>\n				<th width=\\\"20%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_duration\']}</th>\n				<th width=\\\"20%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_cost\']}</th>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_upgrade_bottom:desc::trigger:>\n//===========================================================================\nfunction sub_choose_upgrade_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n</div>\n<div class=\\\"borderwrapm\\\">\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'s_continue_button\']}\\\" /></div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_upgrade_row:desc::trigger:>\n//===========================================================================\nfunction sub_choose_upgrade_row($id=\"\",$name=\"\",$desc=\"\",$cost=\"\",$duration=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n				<td class=\\\"row1\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"sub\\\" value=\\\"$id\\\" /></td>\n				<td class=\\\"row1\\\"><b>$name</b><br />$desc</td>\n				<td class=\\\"row1\\\" align=\\\"center\\\">$duration</td>\n				<td class=\\\"row1\\\" align=\\\"center\\\">{$cost}</td>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_choose_upgrade_top:desc::trigger:>\n//===========================================================================\nfunction sub_choose_upgrade_top($cur_id=\"\",$currency=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'s_upgrade_subs\']}</div>\n<p>{$this->ipsclass->lang[\'s_upgrade_explain\']}</p>\n<br /> \n<form action=\\\"{$this->ipsclass->base_url}act=paysubs&amp;nocp={$this->ipsclass->input[\'nocp\']}&amp;upgrade=1&amp;CODE=paymentmethod&amp;curid=$cur_id&amp;currency=$currency\\\" method=\\\"post\\\">             \n	<div class=\\\"borderwrapm\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<th width=\\\"5%\\\">&nbsp;</th>\n				<th width=\\\"55%\\\">{$this->ipsclass->lang[\'s_detail\']}</th>\n				<th width=\\\"20%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_end\']}</th>\n				<th width=\\\"20%\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'s_balance_cost\']}</th>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_currency_change_bottom:desc::trigger:>\n//===========================================================================\nfunction sub_currency_change_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_currency_change_form:desc::trigger:>\n//===========================================================================\nfunction sub_currency_change_form($select=\"\",$url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div align=\\\"right\\\">\n	<form action=\\\"$url\\\" method=\\\"post\\\">\n		{$this->ipsclass->lang[\'cc_currency_in\']} $select \n		<input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'cc_change\']}\\\" />\n	</form>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_currency_change_row:desc::trigger:>\n//===========================================================================\nfunction sub_currency_change_row($id=\"\",$name=\"\",$default=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\\\"$id\\\" $default>$id $name</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_currency_change_top:desc::trigger:>\n//===========================================================================\nfunction sub_currency_change_top() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<select name=\\\"currency\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_msg_force:desc::trigger:>\n//===========================================================================\nfunction sub_msg_force() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"errorwrap\\\">\n	<h4>{$this->ipsclass->lang[\'msg_force_title\']}</h4>\n	<p>\n		{$this->ipsclass->lang[\'msg_force_text\']}\n\" . (($this->ipsclass->input[\'CODE\'] == \"paymentmethod\") ? (\"\n<br /><br />\n		<div>\n			<div class=\'row2\'><input type=\\\"button\\\" class=\\\"button\\\" value=\\\"&lt; &lt; {$this->ipsclass->lang[\'choose_another_pkg\']}\\\" onclick=\\\"locationjump(\'act=paysubs&amp;nocp=1&amp;msgtype=general\');\\\" /></div>\n		</div>\n\") : (\"\")) . \"\n		</p>\n	</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_msg_fromreg:desc::trigger:>\n//===========================================================================\nfunction sub_msg_fromreg() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'borderwrap\'>\n <div class=\'maintitle\'>{$this->ipsclass->lang[\'msg_reg_title\']}</div>\n	<div class=\\\"row1\\\" style=\'padding:10px;\'>\n		{$this->ipsclass->lang[\'msg_reg_text\']}\n			<br /><br />\n		<div align=\'center\'>\n			<input type=\\\"button\\\" class=\\\"button\\\" value=\\\"&lt; &lt; {$this->ipsclass->lang[\'choose_another_pkg\']}\\\" onclick=\\\"locationjump(\'act=paysubs&amp;nocp=1&amp;msgtype=general\');\\\" />\n\" . (($this->ipsclass->vars[\'subsm_enforce\'] != 1) ? (\"\n&nbsp; &nbsp;<input type=\\\"button\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'cancel_purchase\']} &gt; &gt;\\\" onclick=\\\"locationjump(\'act=paysubs&amp;nocp=1&amp;CODE=cancelfromreg\');\\\" />\n\") : (\"\")) . \"\n		</div>\n	</div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_msg_general:desc::trigger:>\n//===========================================================================\nfunction sub_msg_general() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrapm\\\">\n	<div class=\\\"row1\\\">\n		<b>{$this->ipsclass->lang[\'msg_gen_title\']}</b><br /><br />\n		{$this->ipsclass->lang[\'msg_gen_text\']}<br /><br />\n		<div>\n\" . (($this->ipsclass->vars[\'subsm_enforce\'] != 1) ? (\"\n&nbsp; &nbsp;<input type=\\\"button\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'cancel_purchase\']} &gt; &gt;\\\" onclick=\\\"locationjump(\'act=paysubs&amp;nocp=1&amp;CODE=cancelfromreg\');\\\" />\n\") : (\"\")) . \"\n		</div>\n	</div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_no_cp_end:desc::trigger:>\n//===========================================================================\nfunction sub_no_cp_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\n</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_no_cp_start:desc::trigger:>\n//===========================================================================\nfunction sub_no_cp_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--{MSG}-->\n<div style=\'padding:4px;\'>\n<div id=\'ucpcontent\'>\n	<div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_page_bottom:desc::trigger:>\n//===========================================================================\nfunction sub_page_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<p>{$this->ipsclass->lang[\'s_current_bottom\']}</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_two_methods_bottom:desc::trigger:>\n//===========================================================================\nfunction sub_two_methods_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_two_methods_continue_button:desc::trigger:>\n//===========================================================================\nfunction sub_two_methods_continue_button() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"borderwrapm\\\">\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'s_continue_button2\']}\\\" /></div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_two_methods_row:desc::trigger:>\n//===========================================================================\nfunction sub_two_methods_row($mid=\"\",$name=\"\",$desc=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" align=\\\"center\\\"><input class=\'radiobutton\' type=\\\"radio\\\" name=\\\"methodid\\\" value=\\\"$mid\\\" /></td>\n			<td class=\\\"row1\\\"><b>$name</b><br />$desc</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_two_methods_top:desc::trigger:>\n//===========================================================================\nfunction sub_two_methods_top($sub_chosen=\"\",$upgrade=\"\",$curid=\"\",$currency=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'sc_available_methods\']}</div>\n<form action=\\\"{$this->ipsclass->base_url}act=paysubs&amp;nocp={$this->ipsclass->input[\'nocp\']}&amp;upgrade=$upgrade&amp;CODE=paymentscreen&amp;curid=$curid&amp;sub=$sub_chosen&amp;currency=$currency\\\" method=\\\"post\\\">             \n	<div class=\\\"borderwrapm\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<th width=\\\"5%\\\" align=\\\"center\\\">&nbsp;</th>\n				<th width=\\\"95%\\\">{$this->ipsclass->lang[\'sc_method\']}</th>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_two_normal_summary:desc::trigger:>\n//===========================================================================\nfunction sub_two_normal_summary() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'sc_normal_title\']}</div>\n	<p>{$this->ipsclass->lang[\'sc_upgrade_explain\']}<br /><br />\n		{$this->ipsclass->lang[\'sc_normal_string\']}\n	</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sub_two_upgrade_summary:desc::trigger:>\n//===========================================================================\nfunction sub_two_upgrade_summary() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'sc_upgrade_title\']}</div>\n	<p>{$this->ipsclass->lang[\'sc_upgrade_explain\']}<br /><br />\n		{$this->ipsclass->lang[\'sc_upgrade_string\']}\n	</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('51c256a2e9336682a7e5671285ba2635','skin_search','class skin_search_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:boolean_explain_link:desc::trigger:>\n//===========================================================================\nfunction boolean_explain_link() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&#091; <a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'be_ttip\']}\\\" onclick=\\\"win_pop()\\\">{$this->ipsclass->lang[\'be_link\']}</a> &#093;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:boolean_explain_page:desc::trigger:>\n//===========================================================================\nfunction boolean_explain_page() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'be_link\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"30%\\\" class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'be_use\']}</th>\n			<th width=\\\"70%\\\" class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'be_means\']}</th>\n		</tr>\n		<tr>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_u1\']}</td>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_m1\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_u2\']}</td>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_m2\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_u3\']}</td>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_m3\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_u4\']}</td>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_m4\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_u5\']}</td>\n			<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'be_m5\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"catend\\\" colspan=\\\"2\\\"><!-- no content --></td>\n		</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_results_table:desc::trigger:>\n//===========================================================================\nfunction end_results_table($data=\"\",$as_post=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- END RESULTS TABLE -->\n\" . (($as_post != 1) ? (\"\n<tr>\n	<td class=\\\"formbuttonrow\\\" colspan=\\\"8\\\" style=\\\"text-align: right;\\\">\n	<form action=\\\"{$this->ipsclass->base_url}act=search&amp;CODE=getnew&amp;active=1\\\" method=\\\"post\\\">\n		{$this->ipsclass->lang[\'active_start\']}&nbsp;\n		<select class=\\\"dropdown\\\" name=\\\"lastdate\\\">\n			<option value=\\\"86400\\\">{$this->ipsclass->lang[\'active_today\']}</option>\n			<option value=\\\"604800\\\">{$this->ipsclass->lang[\'active_week\']}</option>\n			<option value=\\\"1209600\\\">{$this->ipsclass->lang[\'active_week2\']}</option>\n			<option value=\\\"2419200\\\">{$this->ipsclass->lang[\'active_month\']}</option>\n			<option value=\\\"7257600\\\">{$this->ipsclass->lang[\'active_month3\']}</option>\n			<option value=\\\"31449600\\\">{$this->ipsclass->lang[\'active_year\']}</option>\n		</select>\n		<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'active_go\']}\\\" class=\\\"button\\\" /></form></td>\n</tr><tr>\n	<td class=\\\"catend\\\" colspan=\\\"8\\\"><!-- no content --></td>\n</tr>\n</table>\n</div>\n\") : (\"\")) . \"\n<br />\n<div>{$data[\'SHOW_PAGES\']}</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td width=\\\"5%\\\" class=\\\"row2\\\" nowrap=\\\"nowrap\\\"><{B_NEW}>&nbsp;&nbsp;{$this->ipsclass->lang[\'pm_open_new\']}<br /><{B_NORM}>&nbsp;&nbsp;{$this->ipsclass->lang[\'pm_open_no\']}<br /><{B_HOT}>&nbsp;&nbsp;{$this->ipsclass->lang[\'pm_hot_new\']}<br /><{B_HOT_NN}>&nbsp;&nbsp;{$this->ipsclass->lang[\'pm_hot_no\']}</td>\n			<td width=\\\"5%\\\" class=\\\"row2\\\" nowrap=\\\"nowrap\\\"><{B_POLL}>&nbsp;&nbsp;{$this->ipsclass->lang[\'pm_poll\']}<br /><{B_POLL_NN}>&nbsp;&nbsp;{$this->ipsclass->lang[\'pm_poll_no\']}<br /><{B_LOCKED}>&nbsp;&nbsp;{$this->ipsclass->lang[\'pm_locked\']}<br /><{B_MOVED}>&nbsp;&nbsp;{$this->ipsclass->lang[\'pm_moved\']}</td>\n			<td align=\\\"right\\\" width=\\\"90%\\\" class=\\\"row2\\\">{$this->ipsclass->forum_jump}</td>\n		</tr>\n	</table>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Form:desc::trigger:>\n//===========================================================================\nfunction Form($forums=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_xhr_findnames.js\'></script>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n<!-- // Hide js from html validator\n	function go_gadget_simple(){\n		window.location = \\\"{$this->ipsclass->js_base_url}act=Search&mode=simple&f={$this->ipsclass->input[\'f\']}\\\";\n	}\n	\n	function win_pop(){\n		window.open(\\\"{$this->ipsclass->js_base_url}act=Search&CODE=explain\\\",\\\"WIN\\\",\\\"width=400,height=300,resizable=yes,scrollbars=yes\\\"); \n	}\n//-->\n//]]>\n</script>\n<form action=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=01\\\" id=\'postingform\' method=\\\"post\\\" name=\\\"sForm\\\">\n<div id=\'ipb-get-members\' style=\'border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:210px;display:none;z-index:1\'></div>\n<div class=\\\"borderwrap\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td colspan=\\\"2\\\" class=\\\"maintitle\\\"  align=\\\"center\\\">{$this->ipsclass->lang[\'keywords_title\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"formsubtitle\\\" width=\\\"50%\\\">{$this->ipsclass->lang[\'key_search\']}</td>\n			<td class=\\\"formsubtitle\\\" width=\\\"50%\\\">{$this->ipsclass->lang[\'mem_search\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" valign=\\\"top\\\">\n				<input type=\\\"text\\\" maxlength=\\\"100\\\" size=\\\"40\\\" name=\\\"keywords\\\" id=\\\"keywords\\\" />\n				<br /><br />\n				<label for=\\\"keywords\\\">{$this->ipsclass->lang[\'keysearch_text\']}</label> <!--IBF.BOOLEAN_EXPLAIN-->\n			</td>\n			<td class=\\\"row1\\\" valign=\\\"top\\\">\n				<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					<tr>\n						<td><input type=\\\"text\\\" maxlength=\\\"100\\\" size=\\\"50\\\" id=\\\"entered_name\\\" style=\'width:210px\' name=\\\"namesearch\\\" /></td>\n					</tr>\n					<tr>\n						<td width=\\\"40%\\\"><input type=\\\"checkbox\\\" name=\\\"exactname\\\" id=\\\"matchexact\\\" value=\\\"1\\\" class=\\\"checkbox\\\" /><label for=\\\"matchexact\\\">{$this->ipsclass->lang[\'match_name_ex\']}</label></td>\n					</tr>\n				</table>\n			</td>\n		</tr>\n	</table>\n</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">         \n		<tr>\n			<td colspan=\\\"2\\\" class=\\\"maintitle\\\"  align=\\\"center\\\">{$this->ipsclass->lang[\'search_options\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"formsubtitle\\\" width=\\\"50%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'search_where\']}</td>\n			<td class=\\\"formsubtitle\\\" width=\\\"50%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'search_refine\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" valign=\\\"middle\\\">\n				$forums\n				<br />\n				<input type=\\\"checkbox\\\" name=\\\"searchsubs\\\" value=\\\"1\\\" id=\\\"searchsubs\\\" checked=\\\"checked\\\" class=\'checkbox\' />&nbsp;<label for=\\\"searchsubs\\\">{$this->ipsclass->lang[\'search_in_subs\']}</label>\n			</td>\n			<td class=\\\"row1\\\" valign=\\\"top\\\">\n				<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n					<tr>\n						<td valign=\\\"top\\\">\n							<fieldset class=\\\"search\\\">\n							<legend><b>{$this->ipsclass->lang[\'search_from\']}</b></legend>\n								<select name=\\\"prune\\\">\n									<option value=\\\"1\\\">{$this->ipsclass->lang[\'today\']}</option>\n									<option value=\\\"7\\\">{$this->ipsclass->lang[\'this_week\']}</option>\n									<option value=\\\"30\\\">{$this->ipsclass->lang[\'this_month\']}</option>\n									<option value=\\\"60\\\">{$this->ipsclass->lang[\'this_60\']}</option>\n									<option value=\\\"90\\\">{$this->ipsclass->lang[\'this_90\']}</option>\n									<option value=\\\"180\\\">{$this->ipsclass->lang[\'this_180\']}</option>\n									<option value=\\\"365\\\">{$this->ipsclass->lang[\'this_year\']}</option>\n									<option value=\\\"0\\\" selected=\\\"selected\\\">{$this->ipsclass->lang[\'ever\']}</option>\n								</select><br />\n								<input type=\\\"radio\\\" name=\\\"prune_type\\\" id=\\\"prune_older\\\" value=\\\"older\\\" class=\\\"radiobutton\\\" />&nbsp;<label for=\\\"prune_older\\\">{$this->ipsclass->lang[\'older\']}</label><br />\n								<input type=\\\"radio\\\" name=\\\"prune_type\\\" id=\\\"prune_newer\\\" value=\\\"newer\\\" class=\\\"radiobutton\\\" checked=\\\"checked\\\" />&nbsp;<label for=\\\"prune_newer\\\">{$this->ipsclass->lang[\'newer\']}</label>\n							</fieldset>\n						</td>\n						<td valign=\\\"top\\\">\n							<fieldset class=\\\"search\\\">\n								<legend><b>{$this->ipsclass->lang[\'sort_results\']}</b></legend>\n									<select name=\\\"sort_key\\\">\n										<option value=\\\"last_post\\\">{$this->ipsclass->lang[\'last_date\']}</option>\n										<option value=\\\"posts\\\">{$this->ipsclass->lang[\'number_topics\']}</option>\n										<option value=\\\"starter_name\\\">{$this->ipsclass->lang[\'poster_name\']}</option>\n										<option value=\\\"forum_id\\\">{$this->ipsclass->lang[\'forum_name\']}</option>\n									</select><br />\n									<input type=\\\"radio\\\" name=\\\"sort_order\\\" id=\\\"sort_desc\\\" class=\\\"radiobutton\\\" value=\\\"desc\\\" checked=\\\"checked\\\" /><label for=\\\"sort_desc\\\">{$this->ipsclass->lang[\'descending\']}</label><br />\n									<input type=\\\"radio\\\" name=\\\"sort_order\\\" id=\\\"sort_asc\\\" class=\\\"radiobutton\\\" value=\\\"asc\\\" /><label for=\\\"sort_asc\\\">{$this->ipsclass->lang[\'ascending\']}</label>\n								</fieldset>\n							</td>\n						</tr>\n						<tr>\n							<td nowrap=\\\"nowrap\\\">\n								<fieldset class=\\\"search\\\">\n								<legend><b>{$this->ipsclass->lang[\'search_where\']}</b></legend>\n									<input type=\\\"radio\\\" name=\\\"search_in\\\" class=\\\"radiobutton\\\" id=\\\"search_in_posts\\\" value=\\\"posts\\\" checked=\\\"checked\\\" /><label for=\\\"search_in_posts\\\">{$this->ipsclass->lang[\'in_posts\']}</label><br />\n									<input type=\\\"radio\\\" name=\\\"search_in\\\" class=\\\"radiobutton\\\" id=\\\"search_in_titles\\\" value=\\\"titles\\\" /><label for=\\\"search_in_titles\\\">{$this->ipsclass->lang[\'in_topics\']}</label>\n								</fieldset>\n							</td>\n							<td>\n								<fieldset class=\\\"search\\\">\n								<legend><b>{$this->ipsclass->lang[\'result_type\']}</b></legend>\n									<input type=\\\"radio\\\" name=\\\"result_type\\\" class=\\\"radiobutton\\\" value=\\\"topics\\\" id=\\\"result_topics\\\" checked=\\\"checked\\\" /><label for=\\\"result_topics\\\">{$this->ipsclass->lang[\'results_topics\']}</label><br />\n									<input type=\\\"radio\\\" name=\\\"result_type\\\" class=\\\"radiobutton\\\" value=\\\"posts\\\" id=\\\"result_posts\\\" /><label for=\\\"result_posts\\\">{$this->ipsclass->lang[\'results_post\']}</label>\n								</fieldset>\n							</td>\n						</tr>\n					</table>\n				</td>\n			</tr>\n			<tr>\n				<td class=\\\"formsubtitle\\\" colspan=\\\"2\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'do_search\']}\\\" /><!--IBF.SIMPLE_BUTTON--></td>\n			</tr>\n		</table>\n	</div>\n</form>\n<script type=\\\"text/javascript\\\">\n	// INIT find names\n	formobj = document.getElementById(\'postingform\');\n	formobj.entered_name.autocomplete = \'off\';\n	init_js( \'postingform\', \'entered_name\', \'get-member-names\');\n	// Run main loop\n	setTimeout( \'main_loop()\', 10 );\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:form_simple_button:desc::trigger:>\n//===========================================================================\nfunction form_simple_button() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<input class=\'button\' type=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'so_less_opts\']}\\\" onclick=\\\"go_gadget_simple()\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_group:desc::trigger:>\n//===========================================================================\nfunction member_group($title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'m_group\']} $title\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_icon_email:desc::trigger:>\n//===========================================================================\nfunction member_icon_email($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=Mail&amp;CODE=00&amp;MID={$id}\\\"><{P_EMAIL}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_icon_msg:desc::trigger:>\n//===========================================================================\nfunction member_icon_msg($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=04&amp;MID={$id}\\\"><{P_MSG}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_icon_profile:desc::trigger:>\n//===========================================================================\nfunction member_icon_profile($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}showuser={$id}\\\"><{P_PROFILE}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_icon_vcard:desc::trigger:>\n//===========================================================================\nfunction member_icon_vcard($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=Profile&amp;CODE=showcard&amp;MID={$id}\',\'AddressCard\',\'600\',\'300\',\'0\',\'1\',\'1\',\'1\')\\\" title=\\\"{$this->ipsclass->lang[\'ac_title\']}\\\"><{P_CARD}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_joined:desc::trigger:>\n//===========================================================================\nfunction member_joined($date=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'m_joined\']} $date\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_location:desc::trigger:>\n//===========================================================================\nfunction member_location($location=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'m_location\']} $location<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_number:desc::trigger:>\n//===========================================================================\nfunction member_number($number=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'member_no\']} $number\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_posts:desc::trigger:>\n//===========================================================================\nfunction member_posts($posts=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'m_posts\']} $posts\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_rank_img:desc::trigger:>\n//===========================================================================\nfunction member_rank_img($filename=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\\\"$filename\\\" alt=\\\"{$this->ipsclass->lang[\'group_icon\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:no_results_row:desc::trigger:>\n//===========================================================================\nfunction no_results_row() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Begin Topic Entry {$data[\'tid\']} -->\n	<tr>\n		<td align=\\\"center\\\" colspan=\\\"8\\\" class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'no_search_topics\']}</b></td>\n	</tr>\n    <!-- End Topic Entry {$data[\'tid\']} -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_row_hidden:desc::trigger:>\n//===========================================================================\nfunction render_row_hidden($post=\"\",$author=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\'post-ignore-{$post[\'pid\']}\' style=\'display:none\'>\n <div class=\\\"postcolor\\\" id=\'post-{$post[\'pid\']}\'>\n   <strong>{$this->ipsclass->lang[\'ignore_first_line\']} {$post[\'members_display_name\']}.</strong>\n   <br />\n   <br />\n   &middot; <a href=\\\"#\\\" onclick=\\\"return topic_show_ignored_post(\'{$post[\'pid\']}\')\\\">{$this->ipsclass->lang[\'ignore_view_post\']}</a>\n   <br />\n   &middot; <a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignoreremove&amp;id={$author[\'id\']}\\\">{$this->ipsclass->lang[\'ignore_unignore\']} {$post[\'members_display_name\']}</a>\n </div>\n</div>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\ntopic_init_ignored_post( \'{$post[\'pid\']}\' );\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:RenderPostRow:desc::trigger:>\n//===========================================================================\nfunction RenderPostRow($data=\"\",$author=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$data[\'prefix\']} <a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;hl={$data[\'keywords\']}\\\">{$data[\'topic_title\']}</a></div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td width=\\\"150\\\" class=\\\"{$data[\'class1\']}\\\">\n				\" . (($author[\'id\']) ? (\"\n					<div id=\\\"post-member-{$data[\'pid\']}\\\" class=\'popmenubutton-new-out\'>\n						<span class=\\\"normalname\\\">{$author[\'_pp_online_image\']}{$author[\'_members_display_name\']}</span>\n					</div>\n					<!-- member menu -->\n					<div class=\'popupmenu-new\' id=\'post-member-{$data[\'pid\']}_menu\' style=\'display:none;width:230px\'>\n						<div class=\'popupmenu-item-last\'>\n							\" . (($author[\'members_display_name_short\'] != $author[\'members_display_name\']) ? (\"\n								<div class=\'popupmenu-item\'><strong>{$author[\'members_display_name\']}</strong></div>\n							\") : (\"\")) . \"\n							<div style=\'float:right\'>\n								<div class=\'pp-image-thumb-wrap\'>\n									<img src=\'{$author[\'pp_thumb_photo\']}\' width=\'{$author[\'pp_thumb_width\']}\' height=\'{$author[\'pp_thumb_height\']}\' alt=\'\' />\n								</div>\n								\" . (($this->ipsclass->vars[\'pp_allow_member_rate\']) ? (\"\n									<div style=\'margin-top:5px;margin-left:6px;\'>\n										<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/rating_{$author[\'_pp_rating_real\']}_mini.gif\\\" alt=\'{$this->ipsclass->lang[\'rating_prefix\']}: {$author[\'_pp_rating_real\']}\' style=\'vertical-align:middle\' border=\'0\' />\n									</div>\n								\") : (\"\")) . \"\n							</div>\n							<div class=\'popupmenu-item\'>\n								{$author[\'_pp_gender_image\']} <a href=\\\"{$this->ipsclass->base_url}showuser={$author[\'id\']}\\\">{$this->ipsclass->lang[\'dd_view_profile\']}</a>\n							</div>\n							\" . (($this->ipsclass->member[\'id\']) ? (\"\n								<div class=\'popupmenu-item\'>\n									\" . ((in_array( $author[\'id\'], array_keys( $this->ipsclass->member[\'_cache\'][\'friends\'] ) )) ? (\"\n										<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"#\\\" onclick=\'friends_pop(\\\"&amp;do=remove&amp;member_id={$author[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\"); return false\'>{$this->ipsclass->lang[\'dd_remove_friend\']}</a>\n									\") : (\"\n										<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_add_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"#\\\" onclick=\'friends_pop(\\\"&amp;do=add&amp;member_id={$author[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\"); return false\'>{$this->ipsclass->lang[\'dd_add_friend\']}</a>\n									\")) . \"\n								</div>\n								<div class=\'popupmenu-item\'>\n									<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/send_pm_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$author[\'id\']}\\\">{$this->ipsclass->lang[\'dd_send_pm\']}</a>\n								</div>\n							\") : (\"\")) . \"\n							<div class=\'popupmenu-item-last\'>\n								<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/find_posts.png\' alt=\'\' border=\'0\' /> <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$author[\'id\']}\'>{$this->ipsclass->lang[\'dd_find_posts\']}</a>\n							</div>\n						</div>\n					</div>\n					<!-- member menu -->\n					<script type=\\\"text/javascript\\\">\n						ipsmenu.register( \\\"post-member-{$data[\'pid\']}\\\", \'\', \'popmenubutton-new\', \'popmenubutton-new-out\' );\n					</script>\n				\") : (\"\n					<span class=\\\"normalname\\\">{$author[\'_members_display_name\']}</span>\n				\")) . \"			\n			<!--<span class=\\\"normalname\\\">{$data[\'author_name\']}</span>-->\n			</td>\n			<td class=\\\"{$data[\'class1\']}\\\" width=\\\"100%\\\"><b>{$this->ipsclass->lang[\'rp_postedon\']} {$data[\'post_date\']}</b></td>\n		</tr>\n		<tr>\n			<td class=\\\"{$data[\'class2\']}\\\" valign=\'top\'>\n				<span class=\\\"postdetails\\\">\n					\" . (($author[\'id\'] AND $author[\'avatar\']) ? (\"\n						<a href=\\\"{$this->ipsclass->base_url}showuser={$author[\'id\']}\\\" title=\\\"{$this->ipsclass->lang[\'dd_view_profile\']}\\\">{$author[\'avatar\']}</a><br /><br />\n					\") : (\"\n	        			{$author[\'avatar\']}<br /><br />\n					\")) . \"\n					{$author[\'title\']}<br />\n					{$author[\'member_rank_img\']}<br /><br />\n					{$author[\'member_group\']}<br />\n					{$author[\'member_posts\']}<br />\n					{$author[\'member_joined\']}<br />\n					{$author[\'member_location\']}\n					{$author[\'member_number\']}<br /><br />\n				\n					{$author[\'warn_text\']} {$author[\'warn_minus\']}{$author[\'warn_img\']}{$author[\'warn_add\']}\n				</span><br />\n        		<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\\\"160\\\" height=\\\"1\\\" />\n        	</td>\n        	<td class=\\\"{$data[\'classposts\']}\\\" width=\\\"100%\\\" id=\'post-main-{$data[\'pid\']}\' valign=\'top\'><div class=\\\"postcolor\\\" id=\'post-{$data[\'pid\']}\' style=\'height:200px;overflow-x:auto;\'>{$data[\'post\']} <!--IBF.ATTACHMENT_{$data[\'pid\']}--></div></td>\n        </tr>\n        <tr>\n        	<td class=\\\"{$data[\'class1\']}\\\">&nbsp;</td>\n        	<td class=\\\"{$data[\'class1\']}\\\">\n        		{$this->ipsclass->lang[\'rp_forum\']} <a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'forum_id\']}\\\">{$data[\'forum_name\']}</a>\n        		&middot; {$this->ipsclass->lang[\'rp_post\']} <a href=\\\"{$this->ipsclass->base_url}act=findpost&amp;hl={$data[\'keywords\']}&amp;pid={$data[\'pid\']}\\\" class=\\\"linkthru\\\">#{$data[\'pid\']}</a>\n        		&middot; {$this->ipsclass->lang[\'rp_replies\']} <b>{$data[\'topic_posts\']}</b>\n        		&middot; {$this->ipsclass->lang[\'rp_hits\']} <b>{$data[\'views\']}</b>\n        	</td>\n  		</tr>\n  	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:RenderRow:desc::trigger:>\n//===========================================================================\nfunction RenderRow($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Begin Topic Entry {$data[\'tid\']} -->\n	<tr>\n		<td align=\\\"center\\\" class=\\\"{$data[\'class1\']}\\\">{$data[\'folder_img\']}</td>\n		<td align=\\\"center\\\" width=\\\"3%\\\" class=\\\"{$data[\'class2\']}\\\">{$data[\'topic_icon\']}</td>\n		<td class=\\\"{$data[\'class1\']}\\\">\n			<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n				<tr>\n\" . (($data[\'go_new_post\'] != \'\') ? (\"\n<td valign=\\\"middle\\\">{$data[\'go_new_post\']}</td>\n\") : (\"\")) . \"\n					<td width=\\\"100%\\\">\n					<div style=\'float:right\'>{$data[\'_rate_img\']}</div>\n					<div>{$data[\'prefix\']} {$data[\'attach_img\']}<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;hl={$data[\'keywords\']}\\\">{$data[\'title\']}</a>  {$data[\'PAGES\']}</div>\n					</td>\n				</tr>\n			</table>\n			<span class=\\\"desc\\\">{$data[\'description\']}</span>\n		</td>\n		<td class=\\\"{$data[\'class1\']}\\\" width=\\\"15%\\\"><span class=\\\"forumdesc\\\"><a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'forum_id\']}\\\" title=\\\"{$data[\'forum_full_name\']}\\\">{$data[\'forum_name\']}</a></span></td>\n		<td align=\\\"center\\\" class=\\\"{$data[\'class2\']}\\\" width=\'10%\'>{$data[\'starter\']}</td>\n		<td align=\\\"center\\\" class=\\\"{$data[\'classposts\']}\\\">{$data[\'posts\']}</td>\n		<td align=\\\"center\\\" class=\\\"{$data[\'class2\']}\\\">{$data[\'views\']}</td>\n		<td class=\\\"{$data[\'class2\']}\\\"><span class=\\\"desc\\\">{$data[\'last_post\']}<br /><a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;view=getlastpost\\\">{$data[\'last_text\']}</a> <b>{$data[\'last_poster\']}</b></span></td>\n	</tr>\n<!-- End Topic Entry {$data[\'tid\']} -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:result_simple_header:desc::trigger:>\n//===========================================================================\nfunction result_simple_header($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\'text/javascript\' src=\'jscripts/ipb_topic.js\'></script>\n<div class=\\\"plainborder\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'search_results\']}</div>\n	<div class=\\\"formsubtitle\\\">\n		<div class=\\\"pagelinks\\\">{$this->ipsclass->lang[\'g_searched_for\']} <b>{$data[\'keyword\']}</b></div>\n		<div align=\\\"right\\\">\n			{$this->ipsclass->lang[\'g_results\']} <b>{$data[\'start\']} - {$data[\'end\']}</b> {$this->ipsclass->lang[\'g_of_about\']} <b>{$data[\'matches\']}</b>.\n			{$this->ipsclass->lang[\'g_search_took\']} <b>{$data[\'ex_time\']}</b> {$this->ipsclass->lang[\'g_seconds\']}\n		</div>\n	</div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:search_error_page:desc::trigger:>\n//===========================================================================\nfunction search_error_page($keywords=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'search_results\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th><b>{$this->ipsclass->lang[\'you_search_for\']}</b> {$keywords}</th>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\">{$this->ipsclass->lang[\'no_results_so_there_ha_ha\']}<br /><br /><b><a href=\\\"{$this->ipsclass->base_url}act=search\\\">{$this->ipsclass->lang[\'search_again\']}</a></b></td>\n		</tr>\n		<tr>\n			<td class=\\\"catend\\\"><!-- no content --></td>\n		</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:simple_form:desc::trigger:>\n//===========================================================================\nfunction simple_form($forums=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nfunction go_gadget_advanced(){\n	window.location = \\\"{$this->ipsclass->js_base_url}act=Search&mode=adv&f={$this->ipsclass->input[\'f\']}\\\";\n}\nfunction win_pop(){\n	window.open(\\\"{$this->ipsclass->js_base_url}act=Search&CODE=explain\\\",\\\"WIN\\\",\\\"width=400,height=300,resizable=yes,scrollbars=yes\\\"); \n}\n-->\n</script>\n<form action=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=simpleresults&amp;mode=simple\\\" method=\\\"post\\\" name=\\\"sForm\\\">\n$hidden_fields\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\"  align=\\\"center\\\">{$this->ipsclass->lang[\'search_options\']}</div>\n		<div class=\\\"formsubtitle\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'key_search\']}</div>\n		<div class=\\\"tablepad\\\" align=\\\"center\\\">\n			<input type=\\\"text\\\" maxlength=\\\"100\\\" size=\\\"40\\\" id=\\\"keywords\\\" name=\\\"keywords\\\" /><br />\n			<label for=\\\"keywords\\\">{$this->ipsclass->lang[\'keysearch_text\']}</label> <!--IBF.BOOLEAN_EXPLAIN-->\n		</div>\n		<div class=\\\"formsubtitle\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'search_where\']}</div>\n		<div class=\\\"tablepad\\\" align=\\\"center\\\">\n			{$forums}<br /><br />\n			<b>{$this->ipsclass->lang[\'sf_show_me\']}</b>\n			<input type=\\\"radio\\\" name=\\\"sortby\\\" value=\\\"relevant\\\" id=\\\"sortby_one\\\" class=\\\"radiobutton\\\" />\n			<label for=\\\"sortby_one\\\">{$this->ipsclass->lang[\'sf_most_r_f\']}</label>&nbsp;\n			<input type=\\\"radio\\\" name=\\\"sortby\\\" value=\\\"date\\\" id=\\\"sortby_two\\\" checked=\\\"checked\\\" class=\\\"radiobutton\\\" />\n			<label for=\\\"sortby_two\\\">{$this->ipsclass->lang[\'sf_most_date\']}</label>\n		</div>\n		<div class=\\\"formsubtitle\\\" align=\\\"center\\\">\n			<input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'do_search\']}\\\" />&nbsp;\n			<input class=\'button\' type=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'so_more_opts\']}\\\" onclick=\\\"go_gadget_advanced()\\\" />\n		</div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:start:desc::trigger:>\n//===========================================================================\nfunction start($data=\"\",$extra=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_forum.js\\\"></script>\n<div>{$data[\'SHOW_PAGES\']} $extra</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">\n		<div style=\\\"float: left;\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'your_results\']}</div>\n		<div align=\\\"right\\\"><a href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=05\\\">{$this->ipsclass->lang[\'mark_search_as_read\']}</a></div>\n	</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th colspan=\\\"2\\\">&nbsp;</th>\n			<th>{$this->ipsclass->lang[\'h_topic_title\']}</th>\n			<th align=\\\"center\\\">{$this->ipsclass->lang[\'h_forum_name\']}</th>\n			<th align=\\\"center\\\">{$this->ipsclass->lang[\'h_topic_starter\']}</th>\n			<th align=\\\"center\\\">{$this->ipsclass->lang[\'h_replies\']}</th>\n			<th align=\\\"center\\\">{$this->ipsclass->lang[\'h_hits\']}</th>\n			<th>{$this->ipsclass->lang[\'h_last_action\']}</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:start_as_post:desc::trigger:>\n//===========================================================================\nfunction start_as_post($data=\"\",$extra=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>{$data[\'SHOW_PAGES\']} $extra</div>\n<script type=\'text/javascript\' src=\'jscripts/ipb_topic.js\'></script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_rating_image:desc::trigger:>\n//===========================================================================\nfunction topic_rating_image($rating_id=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\'{$this->ipsclass->vars[\'img_url\']}/rating_{$rating_id}_mini.gif\' border=\'0\' alt=\'{$rating_id}\' />&nbsp;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_level_rating:desc::trigger:>\n//===========================================================================\nfunction warn_level_rating($id=\"\",$level=\"\",$min=0,$max=10) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&lt;&nbsp;$min ( <a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=warn&amp;mid={$id}&amp;CODE=view\',\'Pager\',\'500\',\'450\',\'0\',\'1\',\'1\',\'1\')\\\">{$level}</a> ) $max&nbsp;&gt;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_level_warn:desc::trigger:>\n//===========================================================================\nfunction warn_level_warn($id=\"\",$percent=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'tt_warn\']} (<a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=warn&amp;mid={$id}&amp;CODE=view\',\'Pager\',\'500\',\'450\',\'0\',\'1\',\'1\',\'1\')\\\">{$percent}</a>%)\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xmlout_gnp_row:desc::trigger:>\n//===========================================================================\nfunction xmlout_gnp_row($tid=\"\",$mini_title=\"\",$real_title=\"\",$date=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'popupmenu-item\'>\n <table width=\'100%\'>\n 	<tr>\n 		<td style=\'padding:2px;\'><a style=\'font-size:10px\' href=\'{$this->ipsclass->base_url}showtopic={$tid}\' onclick=\'locationjump(\\\"showtopic={$tid}\\\");\' title=\'$real_title\'>{$mini_title}</a></td>\n 		<td style=\'padding:2px;\' align=\'right\'>\n 		  <span style=\'font-size:10px\' class=\'desc\'><em>({$date})</em></span>\n  			<a href=\'{$this->ipsclass->base_url}showtopic={$tid}&amp;view=getnewpost\' onclick=\'locationjump(\\\"showtopic={$tid}&amp;view=getnewpost\\\");\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/lastpost.gif\' alt=\'\' border=\'0\' /></a>\n  		</td>\n  	</tr>\n  </table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xmlout_gnp_wrapper:desc::trigger:>\n//===========================================================================\nfunction xmlout_gnp_wrapper($html=\"\",$previous=\"\",$next=\"\",$st=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'pp-contentbox-back\'>\n	<div class=\'pp-contentbox-entry-noheight\' style=\'padding:0px\'>\n	  <div style=\'padding:1px;padding-bottom:2px;\'>\n	   $html\n	  </div>\n	  \" . (($st OR $next) ? (\"\n	   <div class=\'darkrow3\' style=\'padding:6px\' align=\'center\'>\n		\" . (($st > 0) ? (\"\n		&laquo; <a style=\'font-size:10px\' href=\'#\' onclick=\'return xml_show_new_posts(\\\"{$previous}\\\");\'>{$this->ipsclass->lang[\'tpl_next\']}</a>\n		\") : (\"\")) . \"\n		  &nbsp; &nbsp;  &nbsp; &nbsp;\n		\" . (($next > 0) ? (\"\n		<a style=\'font-size:10px\' href=\'#\' onclick=\'return xml_show_new_posts(\\\"{$next}\\\");\'>{$this->ipsclass->lang[\'tpl_prev\']}</a> &raquo;\n		\") : (\"\")) . \"\n	  </div>\n	 \") : (\"\")) . \"\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('021d9c9f6ef25b2501275939ec61ebef','skin_stats','class skin_stats_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:close_strip:desc::trigger:>\n//===========================================================================\nfunction close_strip() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"catend\\\" colspan=\\\"4\\\"><!-- no content --></td>\n	</tr>\n</table>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:group_strip:desc::trigger:>\n//===========================================================================\nfunction group_strip($group=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;$group</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<th width=\\\"30%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'leader_name\']}</th>\n				<th width=\\\"40%\\\" align=\\\"center\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'leader_forums\']}</th>\n				<th align=\\\"center\\\" width=\\\"25%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'leader_location\']}</th>\n				<th align=\\\"center\\\" width=\\\"5%\\\"  valign=\\\"middle\\\">&nbsp;</th>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:leader_row:desc::trigger:>\n//===========================================================================\nfunction leader_row($info=\"\",$forums=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n				<td class=\\\"row1\\\">\n				\" . (($info[\'id\'] > 0) ? (\"\n					<a href=\\\"{$this->ipsclass->base_url}showuser={$info[\'id\']}\\\">{$info[\'members_display_name\']}</a>\n				\") : (\"\n					{$info[\'members_display_name\']}\n				\")) . \"\n				</td>\n				<td align=\\\"center\\\" class=\\\"row1\\\">$forums</td>\n				<td align=\\\"center\\\" class=\\\"row1\\\">{$info[\'location\']}</td>\n				<td align=\\\"center\\\" class=\\\"row1\\\">{$info[\'msg_icon\']}</td>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:leader_row_forum_end:desc::trigger:>\n//===========================================================================\nfunction leader_row_forum_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</select>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:leader_row_forum_entry:desc::trigger:>\n//===========================================================================\nfunction leader_row_forum_entry($id=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\\\"$id\\\">$name</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:leader_row_forum_start:desc::trigger:>\n//===========================================================================\nfunction leader_row_forum_start($id=\"\",$count_string=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form method=\\\"post\\\" onsubmit=\\\"if(document.jmenu$id.f.value == -1){return false;}\\\" action=\\\"{$this->ipsclass->base_url}\\\" name=\\\"jmenu$id\\\">\n	<select name=\\\"showforum\\\" onchange=\\\"if(this.options[this.selectedIndex].value != -1){ document.jmenu$id.submit() }\\\">\n		<option value=\\\"-1\\\">$count_string</option>\n		<option value=\\\"-1\\\">--------------------------------------------------------</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:page_title:desc::trigger:>\n//===========================================================================\nfunction page_title($title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td><span class=\\\"pagetitle\\\">{$title}</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:top_poster_footer:desc::trigger:>\n//===========================================================================\nfunction top_poster_footer() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"catend\\\" colspan=\\\"5\\\"><!-- no content --></td>\n	</tr>\n</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:top_poster_header:desc::trigger:>\n//===========================================================================\nfunction top_poster_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'todays_posters\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"30%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'member\']}</th>\n			<th width=\\\"20%\\\" align=\\\"center\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'member_joined\']}</th>\n			<th align=\\\"center\\\" width=\\\"15%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'member_posts\']}</th>\n			<th align=\\\"center\\\" width=\\\"15%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'member_today\']}</th>\n			<th align=\\\"center\\\" width=\\\"20%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'member_percent\']}</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:top_poster_no_info:desc::trigger:>\n//===========================================================================\nfunction top_poster_no_info() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td colspan=\\\"5\\\" align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'no_info\']}</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:top_poster_row:desc::trigger:>\n//===========================================================================\nfunction top_poster_row($info=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" valign=\\\"middle\\\">\n				\" . (($info[\'id\'] > 0) ? (\"\n					<a href=\\\"{$this->ipsclass->base_url}showuser={$info[\'id\']}\\\">{$info[\'members_display_name\']}</a>\n				\") : (\"\n					{$info[\'members_display_name\']}\n				\")) . \"\n			</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$info[\'joined\']}</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$info[\'posts\']}</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$info[\'tpost\']}</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$info[\'today_pct\']}%</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:who_end:desc::trigger:>\n//===========================================================================\nfunction who_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><a href=\\\"javascript:bog_off();\\\">{$this->ipsclass->lang[\'who_go\']}</a></td>\n		</tr>\n			<tr>\n		<td class=\\\"catend\\\" colspan=\\\"2\\\"><!-- no content --></td>\n	</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:who_header:desc::trigger:>\n//===========================================================================\nfunction who_header($fid=\"\",$tid=\"\",$title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\\\"javascript\\\">\n<!--\n	function bog_off(){\n		var tid = \\\"$tid\\\";\n		var fid = \\\"$fid\\\";\n		\n		opener.location= \\\"{$this->ipsclass->base_url}\\\" + \\\"showtopic=\\\" + tid;\n		self.close();\n	}\n-->\n</script>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'who_farted\']} $title</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"70%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'who_poster\']}</th>\n			<th width=\\\"30%\\\" align=\\\"center\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'who_posts\']}</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:who_name_link:desc::trigger:>\n//===========================================================================\nfunction who_name_link($id=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"#\\\" onclick=\\\"opener.ipsclass.location_jump( \'{$this->ipsclass->base_url}showuser=$id\', 1);\\\">$name</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:who_row:desc::trigger:>\n//===========================================================================\nfunction who_row($row=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" valign=\\\"middle\\\">{$row[\'author_name\']}</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$row[\'pcount\']}</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('4529d13277bcb9cb26b9da583e48a57d','skin_register','class skin_register_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:bot_antispam:desc::trigger:>\n//===========================================================================\nfunction bot_antispam($regid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input type=\\\"hidden\\\" name=\\\"regid\\\" value=\\\"$regid\\\" />\n	<fieldset>\n	<legend><b>{$this->ipsclass->lang[\'las_title\']}</b></legend>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\\\"1%\\\">\n					{$this->ipsclass->lang[\'las_input\']}<div class=\\\"desc\\\">{$this->ipsclass->lang[\'las_input_text\']}</div>\n					<input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"32\\\" name=\\\"reg_code\\\" />\n				</td>\n				<td align=\\\"center\\\">\n					<img src=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=1\\\" alt=\\\"Code Bit\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=2\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=3\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=4\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=5\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=6\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n				</td>\n			</tr>\n		</table>\n	</fieldset>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bot_antispam_gd:desc::trigger:>\n//===========================================================================\nfunction bot_antispam_gd($regid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input type=\\\"hidden\\\" name=\\\"regid\\\" id=\'regid\' value=\\\"$regid\\\" />\n	<fieldset>\n	<legend><b>{$this->ipsclass->lang[\'las_title\']}</b></legend>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\\\"1%\\\">\n					{$this->ipsclass->lang[\'las_input\']}<div class=\\\"desc\\\">{$this->ipsclass->lang[\'las_input_text\']}</div>\n					<input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"32\\\" name=\\\"reg_code\\\" />\n				</td>\n				<td align=\\\"center\\\" ><img id=\'gd-antispam\' src=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}\\\" title=\'{$this->ipsclass->lang[\'gbl_gd_reload\']}\' alt=\\\"{$this->ipsclass->lang[\'alt_loadingimg\']}\\\" />\n									<script type=\'text/javascript\'>\n										init_gd_image();\n									</script>\n				</td>\n			</tr>\n		</table>\n	</fieldset>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:coppa_form:desc::trigger:>\n//===========================================================================\nfunction coppa_form() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<html>\n	<head>\n		<meta http-equiv=\\\"content-type\\\" content=\\\"text/html; charset=<% CHARSET %>\\\" />\n		<title>{$this->ipsclass->lang[\'cpf_title\']}</title>\n	</head>\n	\n	<body>\n	<h2>{$this->ipsclass->vars[\'board_name\']}: {$this->ipsclass->lang[\'cpf_title\']}</h2>\n	\" . (($this->ipsclass->vars[\'coppa_consent_extra\']) ? (\"\n		<div>\n			<b>{$this->ipsclass->lang[\'coppa_additional_info\']}</b>\n			<div>{$this->ipsclass->vars[\'coppa_consent_extra\']}</div>\n		</div>\n	\") : (\"\")) . \"\n	<hr />\n	<div>\n		<b>{$this->ipsclass->lang[\'cpf_perm_parent\']}</b>\n		<div style=\'padding:8px;\'>{$this->ipsclass->lang[\'cpf_fax\']} <u>{$this->ipsclass->vars[\'coppa_fax\']}</u></div>\n		<div style=\'padding:8px;\'>{$this->ipsclass->lang[\'cpf_address\']}<br />\n			<address>{$this->ipsclass->vars[\'coppa_address\']}</address>\n		</div>\n	</div>\n	<hr />\n	<div>	\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\" cellpadding=\'8\'>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'user_name\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'password\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'email_address\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n		</table>\n	</div>\n	<hr />\n	<div>\n		<b>{$this->ipsclass->lang[\'cpf_sign\']}</b>\n	</div>\n	<br />\n	<div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\" cellpadding=\'8\'>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'cpf_name\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'cpf_relation\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'cpf_signature\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'cpf_email\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'cpf_phone\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\">{$this->ipsclass->lang[\'cpf_date\']}</td>\n				<td style=\'text-decoration:underline;\'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n			</tr>\n		</table>\n	</div>\n	<hr />\n	<div><b>{$this->ipsclass->lang[\'coppa_admin_reminder\']}</b>\n		<div>{$this->ipsclass->lang[\'coppa_admin_remtext\']}</div>\n	</div>\n	</body>\n</html>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:coppa_start:desc::trigger:>\n//===========================================================================\nfunction coppa_start($coppadate=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_register.js\\\"></script>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\nvar coppa_bounce = \'{$this->ipsclass->lang[\'coppa_bounce\']}\';\ncoppa_check();\n//]]>\n</script>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'registration_form\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'coppa_info\']}</div>\n	<div class=\\\"tablepad\\\"  align=\\\"center\\\">\n		<span class=\\\"postcolor\\\">\n			<b>{$this->ipsclass->lang[\'coppa_link\']}</b><br /><br /> \n			<form action=\'{$this->ipsclass->base_url}act=Reg&amp;CODE=coppa_two\' method=\'post\'>\n			<select name=\'m\'>\n			 <option value=\'0\'>{$this->ipsclass->lang[\'select_month\']}</option>\n			 \".$this->__foreach_loop__id_490309517ee6c169698569($coppadate).\"\n			</select>\n			\n			<select name=\'d\'>\n			 <option value=\'0\'>{$this->ipsclass->lang[\'select_day\']}</option>\n			 \".$this->__foreach_loop__id_490309517eee5871125314($coppadate).\"\n			</select>\n			\n			<select name=\'y\'>\n			 <option value=\'0\'>{$this->ipsclass->lang[\'select_year\']}</option>\n			 \".$this->__foreach_loop__id_490309517ef74481263957($coppadate).\"\n			</select>\n			 <input type=\'submit\' value=\'{$this->ipsclass->lang[\'coppa_continue_button\']}\' />\n			</form>\n		</span>\n	</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'coppa_form\']}</div>\n	<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'coppa_form_text\']} <a href=\\\"mailto:{$this->ipsclass->vars[\'email_in\']}\\\">{$this->ipsclass->vars[\'email_in\']}</a></div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309517ee6c169698569($coppadate=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( array(1,2,3,4,5,6,7,8,9,10,11,12) as $month )\n	{\n		\n		$_ips___x_retval .= \"\n			 	<option value=\'{$month}\'>{$this->ipsclass->lang[\'M_\' . $month ]}</option>\n			 \";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309517eee5871125314($coppadate=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( range(1,31) as $day )\n	{\n		\n		$_ips___x_retval .= \"\n			 	<option value=\'{$day}\'>{$day}</option>\n			 \";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309517ef74481263957($coppadate=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( array_reverse(range( date(\'Y\') - 130, date(\'Y\') )) as $year )\n	{\n		\n		$_ips___x_retval .= \"\n			 	<option value=\'{$year}\'>{$year}</option>\n			 \";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// <ips:coppa_two:desc::trigger:>\n//===========================================================================\nfunction coppa_two() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_register.js\\\"></script>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\nvar bday_m = \'{$this->ipsclass->input[\'m\']}\';\nvar bday_d = \'{$this->ipsclass->input[\'d\']}\';\nvar bday_y = \'{$this->ipsclass->input[\'y\']}\';\ncoppa_save();\n//]]>\n</script>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'cp2_title\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"row1\\\">\n				{$this->ipsclass->lang[\'cp2_text\']}<br /><br />\n				<div align=\'center\'><h2><a href=\'{$this->ipsclass->base_url}act=Reg&amp;CODE=12\'>{$this->ipsclass->lang[\'coppa_clickhere\']}</a></h2</div>\n				<div>\n					<span>\n						&lt;&lt; <a href=\\\"#\\\" onclick=\\\"coppa_cancel()\\\">{$this->ipsclass->lang[\'cp2_cancel\']}</a> \n					</span>\n				</div>\n			</td>\n		</tr>\n		<tr>\n			<td class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'coppa_form\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\">{$this->ipsclass->lang[\'coppa_form_text\']} <a href=\\\"mailto:{$this->ipsclass->vars[\'email_in\']}\\\">{$this->ipsclass->vars[\'email_in\']}</a></td>\n		</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:errors:desc::trigger:>\n//===========================================================================\nfunction errors($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'errors_found\']}</div>\n	<div class=\\\"tablepad\\\"><span class=\\\"postcolor\\\">$data</span></div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_dropdown:desc::trigger:>\n//===========================================================================\nfunction field_dropdown($name=\"\",$options=\"\",$error=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($error!=\'\') ? (\"\n<select name=\\\"$name\\\" class=\'input-warn\'>$options</select> <img src=\'{$this->ipsclass->vars[\'img_url\']}/aff_cross.gif\' />\n\") : (\"\n<select name=\\\"$name\\\">$options</select>\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_entry:desc::trigger:>\n//===========================================================================\nfunction field_entry($title=\"\",$desc=\"\",$content=\"\",$id=\"\",$errors=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\'0\'>\n	<tr>\n		<td class=\'nopad\'>\n			<fieldset>\n				<legend><strong>$title</strong></legend>\n			\" . (($errors != \'\') ? (\"\n			<div class=\'input-warn-content\' id=\'box-field_{$id}\'><div id=\'msg-field_{$id}\'>{$errors}</div></div>\n			\") : (\"\")) . \"\n				<div class=\\\"desc\\\">$desc</div><br />\n				$content\n			</fieldset>\n			<br />\n		</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_textarea:desc::trigger:>\n//===========================================================================\nfunction field_textarea($name=\"\",$value=\"\",$error=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($error!=\'\') ? (\"\n<textarea cols=\\\"60\\\" rows=\\\"5\\\" name=\\\"$name\\\" class=\'input-warn\'>$value</textarea> <img src=\'{$this->ipsclass->vars[\'img_url\']}/aff_cross.gif\' />\n\") : (\"\n<textarea cols=\\\"60\\\" rows=\\\"5\\\" name=\\\"$name\\\">$value</textarea>\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:field_textinput:desc::trigger:>\n//===========================================================================\nfunction field_textinput($name=\"\",$value=\"\",$error=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($error!=\'\') ? (\"\n<input type=\\\"text\\\" size=\\\"30\\\" name=\\\"$name\\\" value=\\\"$value\\\" class=\'input-warn\' /> <img src=\'{$this->ipsclass->vars[\'img_url\']}/aff_cross.gif\' />\n\") : (\"\n<input type=\\\"text\\\" size=\\\"30\\\" name=\\\"$name\\\" value=\\\"$value\\\" />\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:lost_pass_form:desc::trigger:>\n//===========================================================================\nfunction lost_pass_form($lasid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Reg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"11\\\" />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'lost_pass_form\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'lp_header\']}</div>\n	<div class=\\\"tablepad\\\"><span>\n\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n{$this->ipsclass->lang[\'lp_text\']}\n\") : (\"\n{$this->ipsclass->lang[\'lp_text_email\']}\n\")) . \"\n	</span></div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'complete_form\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"row2\\\" width=\'30%\'>\n			\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n				<strong>{$this->ipsclass->lang[\'lp_user_name\']}</strong>\n			\") : (\"\n				<strong>{$this->ipsclass->lang[\'lp_email_address\']}</strong>\n			\")) . \"\n			</td>\n			<td class=\\\"row2\\\"><input type=\\\"text\\\" size=\\\"32\\\" name=\\\"member_name\\\" /></td>\n		</tr>\n\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n		<tr>\n			<td class=\\\"row2\\\">\n				<strong>{$this->ipsclass->lang[\'lp_email_or\']}</strong>\n			</td>\n			<td class=\\\"row2\\\"><input type=\\\"text\\\" size=\\\"32\\\" name=\\\"email_addy\\\" /></td>\n		</tr>\n\") : (\"\")) . \"\n	</table>\n	<div class=\'row2\'>\n	<!--{REG.ANTISPAM}-->\n	</div>\n</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'lp_send\']}\\\" /></div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:optional_title:desc::trigger:>\n//===========================================================================\nfunction optional_title() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--\n	<tr>\n  		<td colspan=\\\"2\\\" class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cf_optional\']}</td>\n	</tr>\n-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:reg_complete_login:desc::trigger:>\n//===========================================================================\nfunction reg_complete_login($mid=\"\",$key=\"\",$required_fields=\"\",$errors=\"\",$reg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_register.js\\\"></script>\n<form action=\\\"{$this->ipsclass->base_url}act=reg&amp;CODE=complete_login_do&amp;key=$key&amp;mid=$mid\\\" method=\\\"POST\\\" onsubmit=\\\"return validate_complete_login_form(event)\\\">\n<input type=\\\"hidden\\\" name=\\\"termsread\\\" value=\\\"1\\\" />\n<input type=\\\"hidden\\\" name=\\\"agree_to_terms\\\" value=\\\"1\\\" />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'clogin_title\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'clogin_text\']}</div>\n	<div class=\\\"tablepad\\\">\n\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1) ? (\"\n<fieldset class=\\\"row3\\\">\n	  <legend><b>{$this->ipsclass->lang[\'user_name_title\']}</b></legend>\n		  <div class=\'input-warn-content\' id=\'box-dname\'><div id=\'msg-dname\'>{$errors[\'dname\']}</div></div>\n		  <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td>{$this->ipsclass->lang[\'dname_name\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'dname_text\']}\\\">?</a>)</span></td>\n			</tr>\n			<tr>\n				<td>\n					<input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"64\\\" value=\\\"{$this->ipsclass->input[\'members_display_name\']}\\\" id=\'reg-members-display-name\' name=\\\"members_display_name\\\" />\n					<img id=\'img-members-display-name\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' />\n				</td>\n			</tr>\n		 </table>\n	  </fieldset>\n\") : (\"\")) . \"\n\" . ((! $reg[\'partial_email_ok\']) ? (\"\n	  <fieldset class=\\\"row3\\\">\n	  <div class=\'input-warn-content\' id=\'box-emailaddress\'><div id=\'msg-emailaddress\'>{$errors[\'email\']}</div></div>\n	  <legend><b>{$this->ipsclass->lang[\'email_address_title\']}</b></legend>\n		  <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			  <tr>\n				  <td width=\\\"1%\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'email_address\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'email_address_text\']}\\\">?</a>)</span></td>\n				  <td width=\\\"100%\\\">{$this->ipsclass->lang[\'email_address_confirm\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'email_address_confirm_text\']}\\\">?</a>)</span></td>\n			  </tr>\n			  <tr>\n				  <td><input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"50\\\" value=\\\"{$this->ipsclass->input[\'EmailAddress\']}\\\"  id=\'reg-emailaddress\' name=\\\"EmailAddress\\\" /></td>\n				  <td><input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"50\\\"  value=\\\"{$this->ipsclass->input[\'EmailAddress_two\']}\\\" id=\'reg-emailaddress-two\' name=\\\"EmailAddress_two\\\" /></td>\n				  <td width=\'12\'>\n					<img id=\'img-emailaddress\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' />\n				  </td>\n			  </tr>\n		  </table>\n	  </fieldset>\n\") : (\"\")) . \"\n\" . (($required_fields != \'\') ? (\"\n$required_fields\n\") : (\"\")) . \"\n	</div>\n	<div align=\'center\' style=\'padding:4px\' class=\'darkrow3\'><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'clogin_submit\']} &gt; &gt;\\\" /></div>\n</div>\n</form>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\nvar allowed_chars 		 = \\\"{$this->ipsclass->vars[\'username_characters\']}\\\";\nvar allowed_error 		 = \\\"{$this->ipsclass->vars[\'username_errormsg\']}\\\";\nreg_error_no_name        = \\\"{$this->ipsclass->lang[\'reg_error_no_name\']}\\\";\nreg_error_chars          = \\\"{$this->ipsclass->lang[\'reg_error_chars\']}\\\";\nreg_error_taken          = \\\"{$this->ipsclass->lang[\'reg_error_taken\']}\\\";\nreg_error_email_missing  = \\\"{$this->ipsclass->lang[\'reg_error_email_missing\']}\\\";\nreg_error_email_nm       = \\\"{$this->ipsclass->lang[\'reg_error_email_nm\']}\\\";\nreg_error_email_taken    = \\\"{$this->ipsclass->lang[\'reg_error_email_taken\']}\\\";\nvar got_dname = 0;\n\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1) ? (\"\ngot_dname = 1;\n\") : (\"\")) . \"\nreg_email_ok             = parseInt(\\\"{$reg[\'partial_email_ok\']}\\\");\nemail_ok             	 = parseInt(\\\"{$reg[\'partial_email_ok\']}\\\");\nvar member_id            = parseInt(\\\"{$mid}\\\");\ninit_complete_login_form();\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_authorise:desc::trigger:>\n//===========================================================================\nfunction show_authorise($member=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'registration_process\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'registration_process\']}</div>\n	<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'thank_you\']} {$member[\'members_display_name\']}. {$this->ipsclass->lang[\'auth_text\']} {$member[\'email\']}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_dumb_form:desc::trigger:>\n//===========================================================================\nfunction show_dumb_form($type=\"reg\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\n	function Validate(){\n		// Check for Empty fields\n		if (document.REG.uid.value == \\\"\\\" || document.REG.aid.value == \\\"\\\"){\n			alert (\\\"{$this->ipsclass->lang[\'js_blanks\']}\\\");\n			return false;\n		}\n	}\n-->\n</script>\n<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REG\\\" onsubmit=\\\"return Validate()\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Reg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"03\\\" />\n<input type=\\\"hidden\\\" name=\\\"type\\\" value=\\\"$type\\\" />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'dumb_header\']}</div>\n	<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'dumb_text\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'complete_form\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'user_id\']}</td>\n				<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"32\\\" name=\\\"uid\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"pformleft\\\">{$this->ipsclass->lang[\'val_key\']}</td>\n				<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"50\\\" name=\\\"aid\\\" /></td>\n			</tr>\n		</table>\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'dumb_submit\']}\\\" /></div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_lostpass_form:desc::trigger:>\n//===========================================================================\nfunction show_lostpass_form() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\\\"javascript\\\" type=\\\"text/javascript\\\">\n<!--\n	function Validate(){\n		// Check for Empty fields\n		if (document.REG.uid.value == \\\"\\\" || document.REG.aid.value == \\\"\\\"){\n			alert (\\\"{$this->ipsclass->lang[\'js_blanks\']}\\\");\n			return false;\n		}\n	}\n-->\n</script>\n<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REG\\\" onsubmit=\\\"return Validate()\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Reg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"03\\\" />\n<input type=\\\"hidden\\\" name=\\\"type\\\" value=\\\"lostpass\\\" />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'dumb_header\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'lpf_title\']}</div>\n	\n	<!--IBF.INPUT_TYPE-->\n	\n	\" . (($this->ipsclass->vars[\'lp_method\'] == \'choose\') ? (\"\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'lpf_pass1\']}</b><br /><i>{$this->ipsclass->lang[\'lpf_pass11\']}</i></td>\n			<td class=\\\"pformright\\\"><input type=\\\"password\\\" size=\\\"32\\\" maxlength=\\\"32\\\" name=\\\"pass1\\\" /></td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'lpf_pass2\']}</b><br /><i>{$this->ipsclass->lang[\'lpf_pass22\']}</i></td>\n			<td class=\\\"pformright\\\"><input type=\\\"password\\\" size=\\\"32\\\" maxlength=\\\"32\\\" name=\\\"pass2\\\" /></td>\n		</tr>\n		</table>\n	\") : (\"\n		<div class=\'tablepad\'>\n	 		{$this->ipsclass->lang[\'lp_random_pass\']}\n		</div>\n	\")) . \"\n	\n<div class=\'row2\'>\n<!--{REG.ANTISPAM}-->\n</div>\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'dumb_submit\']}\\\" /></div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_lostpass_form_auto:desc::trigger:>\n//===========================================================================\nfunction show_lostpass_form_auto($aid=\"\",$uid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input type=\\\"hidden\\\" name=\\\"uid\\\" value=\\\"$uid\\\" />\n<input type=\\\"hidden\\\" name=\\\"aid\\\" value=\\\"$aid\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_lostpass_form_manual:desc::trigger:>\n//===========================================================================\nfunction show_lostpass_form_manual() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'dumb_text\']}</div>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'complete_form\']}</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'user_id\']}</b></td>\n		<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"32\\\" name=\\\"uid\\\" /></td>\n	</tr>\n	<tr>\n		<td class=\\\"pformleft\\\"><b>{$this->ipsclass->lang[\'val_key\']}</b></td>\n		<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"50\\\" name=\\\"aid\\\" /></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_lostpasswait:desc::trigger:>\n//===========================================================================\nfunction show_lostpasswait($member=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'lpf_title\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'registration_process\']}</div>\n	<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'lpass_text\']}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_lostpasswait_random:desc::trigger:>\n//===========================================================================\nfunction show_lostpasswait_random($member=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'lpf_title\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'lpf_title\']}</div>\n	<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'lpass_text_random\']}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_preview:desc::trigger:>\n//===========================================================================\nfunction show_preview($member=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'registration_process\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'registration_process\']}</div>\n	<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'thank_you\']} {$member[\'members_display_name\']}. {$this->ipsclass->lang[\'preview_reg_text\']}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_revalidate_form:desc::trigger:>\n//===========================================================================\nfunction show_revalidate_form($name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REG\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Reg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"reval2\\\" />\n<div>{$this->ipsclass->lang[\'rv_ins\']}</div><br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'rv_title\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td class=\\\"pformleft\\\"><b>\n\" . (($this->ipsclass->vars[\'ipbli_usertype\']==\'username\') ? (\"\n{$this->ipsclass->lang[\'rv_name\']}\n\") : (\"\n{$this->ipsclass->lang[\'rv_email\']}\n\")) . \"\n</b></td>\n			<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"32\\\" maxlength=\\\"64\\\" name=\\\"username\\\" value=\\\"$name\\\" /></td>\n		</tr>\n	</table>\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'rv_go\']}\\\" /></div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_revalidated:desc::trigger:>\n//===========================================================================\nfunction show_revalidated() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'rv_title\']}</div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'rv_process\']}</div>\n	<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'rv_done\']}</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_terms:desc::trigger:>\n//===========================================================================\nfunction show_terms($text=\"\",$coppa_user=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}act=Reg&amp;coppa_user={$coppa_user}&amp;termsread=1&amp;coppa_pass=1\\\" method=\\\"post\\\">\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'tc_title\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<th>{$this->ipsclass->lang[\'tc_text\']}</th>\n			</tr>\n			<tr>\n				<td class=\\\"row1\\\">{$text}</td>\n			</tr>\n			<tr>\n				<td class=\\\"row2\\\"><label for=\\\"agree_cbox\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" id=\\\"agree_cbox\\\" name=\\\"agree_to_terms\\\" value=\\\"1\\\" /> <b>{$this->ipsclass->lang[\'agree_submit\']}</b></label></td>\n			</tr>\n			<tr>\n				<td class=\\\"formbuttonrow\\\"><input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'tc_regbut\']}\\\" class=\\\"button\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"catend\\\" colspan=\\\"2\\\"><!-- no content --></td>\n			</tr>\n		</table>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ShowForm:desc::trigger:>\n//===========================================================================\nfunction ShowForm($data=\"\",$errors=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\nvar ipb_lang_js_blanks   = \\\"{$this->ipsclass->lang[\'js_blanks\']}\\\";\nvar ipb_lang_js_no_check = \\\"{$this->ipsclass->lang[\'js_no_check\']}\\\";\nvar subsdesc_0 = \\\"{$this->ipsclass->lang[\'subsm_no_desc\']}\\\";\nvar subdesc   = new Array(); <!--{SUBS.JSCRIPT}-->\nvar register_method = \\\"{$this->ipsclass->vars[\'ipbli_usertype\']}\\\";\nvar allowed_chars = \\\"{$this->ipsclass->vars[\'username_characters\']}\\\";\nvar allowed_error = \\\"{$this->ipsclass->vars[\'username_errormsg\']}\\\";\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_register.js\\\"></script>\n<form action=\\\"{$this->ipsclass->vars[\'board_url\']}/index.{$this->ipsclass->vars[\'php_ext\']}\\\" method=\\\"post\\\" name=\\\"REG\\\" onsubmit=\\\"return validate_reg_form(event)\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Reg\\\" />\n<input type=\\\"hidden\\\" name=\\\"termsread\\\" value=\\\"1\\\" />\n<input type=\\\"hidden\\\" name=\\\"agree_to_terms\\\" value=\\\"1\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"02\\\" />\n<input type=\\\"hidden\\\" name=\\\"coppa_user\\\" value=\\\"{$data[\'coppa_user\']}\\\" />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'registration_form\']}</div>\n	<div class=\'row2\' style=\'padding:4px\'>\n		<div class=\\\"errorwrap\\\" style=\'margin:0px;padding-bottom:0px\'><h4>{$this->ipsclass->lang[\'form_title_attention\']}</h4><p>{$data[\'TEXT\']}</p></div>\n	</div>\n	<div class=\\\"row2\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\\\"50%\\\" valign=\'top\'>\n					<fieldset class=\\\"row3\\\">\n					<legend><b>{$this->ipsclass->lang[\'user_name_title\']}</b></legend>\n\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n<div class=\'input-warn-content\' id=\'box-name\'><div id=\'msg-name\'>{$errors[\'username\']}</div></div>\n						<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td>{$this->ipsclass->lang[\'user_name\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'user_name_text\']}\\\">?</a>)</span></td>\n							</tr>\n							<tr>\n								<td>\n								  <input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"{$this->ipsclass->vars[\'max_user_name_length\']}\\\" value=\\\"{$this->ipsclass->input[\'UserName\']}\\\" id=\'reg-name\' name=\\\"UserName\\\" />\n								  <img id=\'img-name\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' />\n								</td>\n							</tr>\n						  </table>\n\") : (\"\")) . \"\n\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1 OR $this->ipsclass->vars[\'ipbli_usertype\'] == \'email\') ? (\"\n<div class=\'input-warn-content\' id=\'box-dname\'><div id=\'msg-dname\'>{$errors[\'dname\']}</div></div>\n						  <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td>{$this->ipsclass->lang[\'dname_name\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'dname_text\']}\\\">?</a>)</span></td>\n							</tr>\n							<tr>\n								<td>\n									<input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"{$this->ipsclass->vars[\'max_user_name_length\']}\\\" value=\\\"{$this->ipsclass->input[\'members_display_name\']}\\\" id=\'reg-members-display-name\' name=\\\"members_display_name\\\" />\n									<img id=\'img-members-display-name\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' />\n								</td>\n							</tr>\n						 </table>\n\") : (\"\")) . \"\n						\n					</fieldset><br />\n					\n					<fieldset class=\\\"row3\\\">\n					<div class=\'input-warn-content\' id=\'box-password\'><div id=\'msg-password\'>{$errors[\'password\']}</div></div>\n					<legend><b>{$this->ipsclass->lang[\'password_title\']}</b></legend>\n						<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td width=\\\"1%\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'password\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'password_text\']}\\\">?</a>)</span></td>\n								<td width=\\\"100%\\\">{$this->ipsclass->lang[\'password_confirm\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'password_confirm_text\']}\\\">?</a>)</span></td>\n							</tr>\n							<tr>\n								<td><input type=\\\"password\\\" size=\\\"25\\\" maxlength=\\\"32\\\" value=\\\"{$this->ipsclass->input[\'PassWord\']}\\\" id=\'reg-password\' name=\\\"PassWord\\\" /></td>\n								<td><input type=\\\"password\\\" size=\\\"25\\\" maxlength=\\\"32\\\" value=\\\"{$this->ipsclass->input[\'PassWord_Check\']}\\\"  id=\'reg-password-check\' name=\\\"PassWord_Check\\\" /></td>\n							    <td width=\'12\'>\n							     <img id=\'img-password\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' />\n							    </td>\n							</tr>\n						</table>\n					</fieldset><br />\n				\n					<fieldset class=\\\"row3\\\">\n					<div class=\'input-warn-content\' id=\'box-emailaddress\'><div id=\'msg-emailaddress\'>{$errors[\'email\']}</div></div>\n					<legend><b>{$this->ipsclass->lang[\'email_address_title\']}</b></legend>\n						<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td width=\\\"1%\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'email_address\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'email_address_text\']}\\\">?</a>)</span></td>\n								<td width=\\\"100%\\\">{$this->ipsclass->lang[\'email_address_confirm\']} &nbsp;<span>(<a href=\\\"#\\\" style=\\\"cursor: help;\\\" title=\\\"{$this->ipsclass->lang[\'email_address_confirm_text\']}\\\">?</a>)</span></td>\n							</tr>\n							<tr>\n								<td><input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"150\\\" value=\\\"{$this->ipsclass->input[\'EmailAddress\']}\\\"  id=\'reg-emailaddress\' name=\\\"EmailAddress\\\" /></td>\n								<td><input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"150\\\"  value=\\\"{$this->ipsclass->input[\'EmailAddress_two\']}\\\" id=\'reg-emailaddress-two\' name=\\\"EmailAddress_two\\\" /></td>\n							    <td width=\'12\'>\n							      <img id=\'img-emailaddress\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/spacer.gif\\\" alt=\\\"\\\" width=\'12\' height=\'12\' />\n							    </td>\n							</tr>\n						</table>\n					</fieldset><br />\n					<!--{REQUIRED.FIELDS}-->\n					<!--{SUBS.MANAGER}-->\n					<!--IBF.MODULES.EXTRA-->\n					<!--{REG.ANTISPAM}-->\n				</td>\n				<td width=\\\"50%\\\" valign=\\\"top\\\">\n					<div>\n						<b>{$this->ipsclass->lang[\'cf_optional\']}</b><br /><br />\n						<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td>\n									<fieldset>\n									<legend>{$this->ipsclass->lang[\'op_email_title\']}</legend>\n										<div class=\\\"desc\\\">{$this->ipsclass->lang[\'op_email_text\']}</div><br />\n										<input type=\\\"checkbox\\\" name=\\\"allow_admin_mail\\\" value=\\\"1\\\" class=\\\"checkbox\\\" <!--[admin.checked]--> /> {$this->ipsclass->lang[\'op_email_ad\']}<br />\n										<input type=\\\"checkbox\\\" name=\\\"allow_member_mail\\\" value=\\\"1\\\" class=\\\"checkbox\\\" <!--[member.checked]--> /> {$this->ipsclass->lang[\'op_email_mem\']}\n									</fieldset><br />\n							\n									<fieldset>\n									<legend>{$this->ipsclass->lang[\'op_tz_title\']}</legend>\n										<div class=\\\"desc\\\">{$this->ipsclass->lang[\'op_tz_text\']}</div><br />\n										<!--{TIME_ZONE}--><br /><br />\n										<!--<input type=\\\"checkbox\\\" name=\\\"dst\\\" value=\\\"1\\\" class=\\\"checkbox\\\" <!--[dst.checked]--> /> {$this->ipsclass->lang[\'op_tz_dst\']}<br />-->\n									</fieldset><br />\n									<!--{OPTIONAL.FIELDS}-->\n								</td>\n							</tr>\n						</table>\n					</div>\n				</td>\n			</tr>\n			<tr>\n				<td>&nbsp;</td>\n				<td valign=\\\"middle\\\" align=\\\"center\\\">\n					<div class=\\\"desc\\\">{$this->ipsclass->lang[\'submit_text\']}</div><br />\n						<input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'submit_form\']} &gt; &gt;\\\" />\n				</td>\n			</tr>\n		</table>\n	</div>\n</div>\n</form>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\nreg_error_no_name        = \\\"{$this->ipsclass->lang[\'reg_error_no_name\']}\\\";\nreg_error_no_pass        = \\\"{$this->ipsclass->lang[\'reg_error_no_pass\']}\\\";\nreg_error_pass_nm        = \\\"{$this->ipsclass->lang[\'reg_error_pass_nm\']}\\\";\nreg_error_chars          = \\\"{$this->ipsclass->lang[\'reg_error_chars\']}\\\";\nreg_error_taken          = \\\"{$this->ipsclass->lang[\'reg_error_taken\']}\\\";\nreg_error_username_taken = \\\"{$this->ipsclass->lang[\'reg_error_username_taken\']}\\\";\nreg_error_username_none  = \\\"{$this->ipsclass->lang[\'reg_error_username_none\']}\\\";\nreg_error_email_missing  = \\\"{$this->ipsclass->lang[\'reg_error_email_missing\']}\\\";\nreg_error_email_nm       = \\\"{$this->ipsclass->lang[\'reg_error_email_nm\']}\\\";\nreg_error_email_taken    = \\\"{$this->ipsclass->lang[\'reg_error_email_taken\']}\\\";\nreg_error_email_ban      = \\\"{$this->ipsclass->lang[\'reg_error_email_ban\']}\\\";\nreg_error_email_invalid      = \\\"{$this->ipsclass->lang[\'reg_error_email_invalid\']}\\\";\nreg_error_dchars_only = \\\"{$this->ipsclass->lang[\'reg_error_dname_only\']} {$this->ipsclass->vars[\'username_characters\']}\\\";\nreg_error_uchars_only = \\\"{$this->ipsclass->lang[\'reg_error_uname_only\']} {$this->ipsclass->vars[\'username_characters\']}\\\";\nuser_display_name_max_length = parseInt( \\\"{$this->ipsclass->vars[\'max_user_name_length\']}\\\" );\nvar got_dname = 0;\n\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1 OR $this->ipsclass->vars[\'ipbli_usertype\'] == \'email\') ? (\"\ngot_dname = 1;\n\") : (\"\")) . \"\ninit_reg_form(got_dname, register_method);\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subsm_end:desc::trigger:>\n//===========================================================================\nfunction subsm_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</select>\n			<div style=\\\"display: none; position: absolute; border: 3px outset #000;width:300px;background-color:#FFF\\\" class=\\\"tableborder\\\" id=\\\"subspkdiv\\\">\n				<div class=\'row1\' style=\'padding:4px\' id=\\\"pkdesc\\\"></div>\n				<div class=\'row2\' style=\'padding:4px\' align=\\\"right\\\"><a href=\\\"#\\\" onclick=\'toggleview(\\\"subspkdiv\\\"); return false;\'>{$this->ipsclass->lang[\'subsm_close\']}</a></div>\n			</div>\n		</td>\n		<td align=\\\"center\\\">\n			<input type=\\\"button\\\" class=\\\"button\\\" onclick=\\\"get_more_info()\\\" style=\'display:none\' id=\'reg-get-more-info\' value=\\\"{$this->ipsclass->lang[\'subsm_more\']}\\\" />\n		</td>\n	</tr>\n</table>\n</fieldset><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subsm_row:desc::trigger:>\n//===========================================================================\nfunction subsm_row($id=\"\",$title=\"\",$cost=\"\",$duration=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\\\"{$id}\\\">$title ($duration) - $cost</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subsm_start:desc::trigger:>\n//===========================================================================\nfunction subsm_start($cur=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<fieldset class=\\\"row3\\\">\n<legend><b>{$this->ipsclass->lang[\'subsm_title\']}</b></legend>\n	<div class=\\\"desc\\\"> &nbsp;{$this->ipsclass->lang[\'cc_currency_in\']} $cur</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td width=\\\"1%\\\">\n				<select class=\\\"dropdown\\\" onchange=\'reg_get_more_check()\' style=\'width:300px\' name=\'subspackage\' id=\\\"subspackage\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_form:desc::trigger:>\n//===========================================================================\nfunction tmpl_form($action=\"\",$hidden=\"\",$title=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form method=\\\"post\\\" action=\\\"$action\\\">\n$hidden\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">$title</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		$content\n	</table>\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input type=\\\"submit\\\" /></div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('b0a4dc1e03797c78fe65917e67d97667','skin_profile','class skin_profile_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:custom_field:desc::trigger:>\n//===========================================================================\nfunction custom_field($title=\"\",$value=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"row2\\\" valign=\\\"top\\\"><b>$title</b></td>\n	<td class=\\\"row1\\\">$value</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:dname_content_row:desc::trigger:>\n//===========================================================================\nfunction dname_content_row($previous_name=\"\",$current_name=\"\",$date=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td class=\'row1\'>{$previous_name}</td>\n <td class=\'row1\'><strong>{$current_name}</strong></td>\n <td class=\'row2\'>{$date}</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:dname_wrapper:desc::trigger:>\n//===========================================================================\nfunction dname_wrapper($member_name=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n    <div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'dname_window_title\']} {$member_name}</div>\n    <table class=\'ipbtable\' cellspacing=\'1\'>\n    <tr>\n     <th class=\'formsubtitle\'>{$this->ipsclass->lang[\'dname_name_from\']}</th>\n     <th class=\'formsubtitle\'>{$this->ipsclass->lang[\'dname_name_to\']}</th>\n     <th class=\'formsubtitle\'>{$this->ipsclass->lang[\'dname_date\']}</th>\n    </tr>\n    {$content}\n    </table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:friends_list_list:desc::trigger:>\n//===========================================================================\nfunction friends_list_list($friends=\"\",$pages=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'pp-tabwrap\'>\n	\" . (($this->ipsclass->input[\'tab\'] == \'list\' OR ! $this->ipsclass->input[\'tab\']) ? (\"\n		<div class=\'pp-tabon\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=list\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_list\']}</div>\n		<div class=\'pp-taboff\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=pending\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_pending\']}</div>\n		<div class=\'pp-taboff\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=mutual\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_mutual\']}</div>\n	\") : (\"\n		\" . (($this->ipsclass->input[\'tab\'] == \'pending\') ? (\"\n			<div class=\'pp-taboff\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=list\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_list\']}</div>\n			<div class=\'pp-tabon\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=pending\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_pending\']}</div>\n			<div class=\'pp-taboff\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=mutual\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_mutual\']}</div>\n		\") : (\"\n			<div class=\'pp-taboff\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=list\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_list\']}</div>\n			<div class=\'pp-taboff\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=pending\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_pending\']}</div>\n			<div class=\'pp-tabon\' style=\'cursor:pointer\' onclick=\'ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=mutual\\\", 1); return false;\'>{$this->ipsclass->lang[\'m_friends_mutual\']}</div>\n		\")) . \"\n	\")) . \"\n</div>\n<div class=\\\"pp-tabclear\\\">{$this->ipsclass->lang[\'m_friends_list\']}</div>\n<div class=\\\"borderwrap\\\">\n	<div class=\'pp-header\'>\n		<div style=\'float:left;font-weight:normal;padding-top:3px\'>$pages</div>\n		<div align=\'right\' style=\'font-weight:normal\'>\n			\" . (($this->ipsclass->input[\'tab\'] == \'list\' OR ! $this->ipsclass->input[\'tab\']) ? (\"\n				<select name=\'friends_filter\' id=\'friends_filter\' onchange=\'pp_filter_change()\'>\n					\" . (($this->ipsclass->input[\'friends_filter\'] == \'all\' OR ! $this->ipsclass->input[\'friends_filter\']) ? (\"\n						<option value=\'all\' selected=\'selected\'>{$this->ipsclass->lang[\'m_showall_friends\']}</option>\n					\") : (\"\n						<option value=\'all\'>{$this->ipsclass->lang[\'m_showall_friends\']}</option>\n					\")) . \"\n					\" . (($this->ipsclass->input[\'friends_filter\'] == \'online\') ? (\"\n						<option value=\'online\' selected=\'selected\'>{$this->ipsclass->lang[\'m_showonline_friends\']}</option>\n					\") : (\"\n						<option value=\'online\'>{$this->ipsclass->lang[\'m_showonline_friends\']}</option>\n					\")) . \"\n					\" . (($this->ipsclass->input[\'friends_filter\'] == \'offline\') ? (\"\n						<option value=\'offline\' selected=\'selected\'>{$this->ipsclass->lang[\'m_showoffline_friends\']}</option>\n					\") : (\"\n						<option value=\'offline\'>{$this->ipsclass->lang[\'m_showoffline_friends\']}</option>\n					\")) . \"\n				</select>\n			\") : (\"\n				\" . (($this->ipsclass->input[\'tab\'] == \'mutual\') ? (\"\n					<select name=\'friends_filter\' id=\'friends_filter\' onchange=\'pp_filter_change()\'>\n						\" . (($this->ipsclass->input[\'friends_filter\'] == \'mutual\' OR ! $this->ipsclass->input[\'friends_filter\']) ? (\"\n							<option value=\'mutual\' selected=\'selected\'>{$this->ipsclass->lang[\'fl_show_mutual\']}</option>\n						\") : (\"\n							<option value=\'mutual\'>{$this->ipsclass->lang[\'fl_show_mutual\']}</option>\n						\")) . \"\n						\" . (($this->ipsclass->input[\'friends_filter\'] == \'added\') ? (\"\n							<option value=\'added\' selected=\'selected\'>{$this->ipsclass->lang[\'fl_show_who_added_me\']}</option>\n						\") : (\"\n							<option value=\'added\'>{$this->ipsclass->lang[\'fl_show_who_added_me\']}</option>\n						\")) . \"\n					</select>\n				\") : (\"\n					&nbsp;\n				\")) . \"\n			\")) . \"\n		</div>\n	</div>\n	\" . (($this->ipsclass->input[\'tab\'] == \'pending\') ? (\"\n		<form onsubmit=\'return pp_check_form()\' action=\'{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;do=friends_list_moderation&amp;md5check={$this->ipsclass->md5_check}&amp;tab={$this->ipsclass->input[\'tab\']}\' method=\'POST\'>\n	\") : (\"\")) . \"\n	\" . ((is_array($friends) and count($friends)) ? (\"\n		\".$this->__foreach_loop__id_49030950494a9014020595($friends,$pages).\"\n		<!-- BOTTOM MOD OPTIONS -->\n		\" . (($this->ipsclass->input[\'tab\'] == \'pending\') ? (\"\n			<div class=\'pp-header\' style=\'text-align:right\'>\n				{$this->ipsclass->lang[\'m_dd_with_selected\']}: <select name=\'pp_option\' id=\'pp-moderation\'>\n					<option value=\'add_reciprocal\'>{$this->ipsclass->lang[\'m_dd_approve_add\']}</option>\n					<option value=\'add\'>{$this->ipsclass->lang[\'m_dd_approve\']}</option>\n					<option value=\'delete\'>{$this->ipsclass->lang[\'m_dd_refuse\']}</option>\n				</select> <input class=\'button\' type=\'submit\' style=\'margin:0px\' value=\'{$this->ipsclass->lang[\'m_go\']}\' />\n			</div>\n		</form>\n		\") : (\"\")) . \"\n		<!-- BOTTOM MOD OPTIONS -->\n		\n	\") : (\"\n		<div class=\'post1\' style=\'padding:6px\'>\n			<em>{$this->ipsclass->lang[\'m_nofriends\']}</em>\n		</div>\n	\")) . \"\n</div>\n<script type=\'text/javascript\'>\n//<![CDATA[\nfunction pp_filter_change()\n{\n	var selectbox = document.getElementById(\'friends_filter\');\n	var chosen    = selectbox.options[ selectbox.selectedIndex ].value;\n	\n	if ( chosen )\n	{\n		ipsclass.location_jump( ipb_var_base_url + \'act=profile&CODE=friends_list_popup&tab={$this->ipsclass->input[\'tab\']}&friends_filter=\' + chosen );\n	}\n}\n// Check form\nfunction pp_check_form()\n{\n	var selectbox = document.getElementById(\'pp-moderation\');\n	var chosen    = selectbox.options[ selectbox.selectedIndex ].value;\n	\n	if ( chosen == \'delete\' )\n	{\n		if ( confirm(\\\"{$this->ipsclass->lang[\'m_confirm\']}\\\") )\n		{\n			return true;\n		}\n		else\n		{\n			return false;\n		}\n	}\n	else\n	{\n		return true;\n	}\n}\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_49030950494a9014020595($friends=\"\",$pages=\"\")\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $friends as $friend )\n	{\n		\n		$_ips___x_retval .= \"\n			\" . (($this->ipsclass->input[\'tab\'] == \'pending\') ? (\"\n				<!-- Approval list -->\n				<div class=\'pp-mini-entry-noheight-shaded\' id=\'pp-friend-entry-{$friend[\'friend_id\']}\'>\n					<div class=\'pp-tiny-text\'>\n					<div style=\'float:left; border-right:1px dotted black; margin-right: 3px\'>\n						<a href=\'#\' title=\'{$this->ipsclass->lang[\'m_remove_friend\']}\' onclick=\'ipsclass.confirm_action(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;do=remove&amp;member_id={$friend[\'id\']}&amp;md5check={$this->ipsclass->md5_check}&amp;tab=pending\\\")\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\' alt=\'\' border=\'0\' /></a>\n						<br />\n						<a href=\\\"#\\\" title=\'{$this->ipsclass->lang[\'m_sendpm_friend\']}\' onclick=\'opener.ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$friend[\'id\']}\\\", 1); return false;\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/send_pm_small.png\' alt=\'\' border=\'0\' /></a>\n					</div>\n					<div class=\'pp-image-mini-wrap-floatright\'><img src=\'{$friend[\'pp_mini_photo\']}\' width=\'{$friend[\'pp_mini_width\']}\' height=\'{$friend[\'pp_mini_height\']}\' alt=\'\' /></div>\n					<div style=\'float:right;padding-top:5px;padding-right:6px\'><input type=\'checkbox\' name=\'pp_friend_id[{$friend[\'id\']}]\' value=\'{$friend[\'id\']}\' /></div>\n						{$friend[\'_pp_gender_image\']} <strong><a href=\'#\' onclick=\'opener.ipsclass.location_jump(\\\"{$this->ipsclass->base_url}showuser={$friend[\'id\']}\\\", 1); return false;\'>{$friend[\'members_display_name\']}</a></strong>\n						<br />\n						{$friend[\'_pp_online_image\']}\n						<strong>{$this->ipsclass->lang[\'m_requested\']}: {$friend[\'_friends_added\']}</strong>\n					</div>\n				</div>\n				<!-- / Approval list -->\n			\") : (\"\n				\" . (($this->ipsclass->input[\'tab\'] == \'mutual\') ? (\"\n					<!-- Mutual list -->\n					<div class=\'pp-mini-content-entry-noheight\' id=\'pp-friend-entry-{$friend[\'friend_id\']}\'>\n						<div class=\'pp-tiny-text\'>\n							<div class=\'pp-image-mini-wrap-floatright\'><img src=\'{$friend[\'pp_mini_photo\']}\' width=\'{$friend[\'pp_mini_width\']}\' height=\'{$friend[\'pp_mini_height\']}\' alt=\'\' /></div>\n							{$friend[\'_pp_gender_image\']} <strong><a href=\'#\' onclick=\'opener.ipsclass.location_jump(\\\"{$this->ipsclass->base_url}showuser={$friend[\'id\']}\\\", 1); return false;\'>{$friend[\'members_display_name\']}</a></strong>\n							<br />\n							{$friend[\'_pp_online_image\']}\n							<strong>{$this->ipsclass->lang[\'m_lastactive\']}: {$friend[\'_last_active\']}</strong>\n						</div>\n					</div>\n					<!-- / Mututal list -->\n				\") : (\"\n					\" . (($friend[\'friends_approved\']) ? (\"\n						<!-- Normal friend list -->\n						<div class=\'pp-mini-content-entry-noheight\' id=\'pp-friend-entry-{$friend[\'friend_id\']}\'>\n							<div class=\'pp-tiny-text\'>\n							<div style=\'float:left; border-right:1px dotted black; margin-right: 3px\'>\n								<a href=\'#\' title=\'{$this->ipsclass->lang[\'m_remove_friend\']}\' onclick=\'ipsclass.confirm_action(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;do=remove&amp;member_id={$friend[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\")\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\' alt=\'\' border=\'0\' /></a>\n								<br />\n								<a href=\\\"#\\\" title=\'{$this->ipsclass->lang[\'m_sendpm_friend\']}\' onclick=\'opener.ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$friend[\'id\']}\\\", 1); return false;\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/send_pm_small.png\' alt=\'\' border=\'0\' /></a>\n							</div>\n							<div class=\'pp-image-mini-wrap-floatright\'><img src=\'{$friend[\'pp_mini_photo\']}\' width=\'{$friend[\'pp_mini_width\']}\' height=\'{$friend[\'pp_mini_height\']}\' alt=\'\' /></div>\n								{$friend[\'_pp_gender_image\']} <strong><a href=\'#\' onclick=\'opener.ipsclass.location_jump(\\\"{$this->ipsclass->base_url}showuser={$friend[\'id\']}\\\", 1); return false;\'>{$friend[\'members_display_name\']}</a></strong>\n								<br />\n								{$friend[\'_pp_online_image\']}\n								<strong>{$this->ipsclass->lang[\'m_lastactive\']}: {$friend[\'_last_active\']}</strong>\n							</div>\n							<!-- / Normal friend list -->\n						</div>\n					\") : (\"\n						<!-- UNAPPROVED friend list -->\n						<div class=\'pp-mini-entry-noheight-shaded\' id=\'pp-friend-entry-{$friend[\'friend_id\']}\'>\n							<div class=\'pp-tiny-text\'>\n							<div style=\'float:left; border-right:1px dotted black; margin-right: 3px\'>\n								<a href=\'#\' title=\'{$this->ipsclass->lang[\'m_remove_friend\']}\' onclick=\'ipsclass.confirm_action(\\\"{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;do=remove&amp;member_id={$friend[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\")\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\' alt=\'\' border=\'0\' /></a>\n								<br />\n								<a href=\\\"#\\\" title=\'{$this->ipsclass->lang[\'m_sendpm_friend\']}\' onclick=\'opener.ipsclass.location_jump(\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$friend[\'id\']}\\\", 1); return false;\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/send_pm_small.png\' alt=\'\' border=\'0\' /></a>\n							</div>\n							<div class=\'pp-image-mini-wrap-floatright\'><img src=\'{$friend[\'pp_mini_photo\']}\' width=\'{$friend[\'pp_mini_width\']}\' height=\'{$friend[\'pp_mini_height\']}\' alt=\'\' /></div>\n								{$friend[\'_pp_gender_image\']} <strong><a href=\'#\' onclick=\'opener.ipsclass.location_jump(\\\"{$this->ipsclass->base_url}showuser={$friend[\'id\']}\\\", 1); return false;\'>{$friend[\'members_display_name\']}</a></strong>\n								[ {$this->ipsclass->lang[\'m_pending\']} ]\n								<br />\n								{$friend[\'_pp_online_image\']}\n								<strong>{$this->ipsclass->lang[\'m_lastactive\']}: {$friend[\'_last_active\']}</strong>\n							</div>\n							<!-- / UNAPPROVED friend list -->\n						</div>\n					\")) . \"\n				\")) . \"\n			\")) . \"\n		\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// <ips:get_photo:desc::trigger:>\n//===========================================================================\nfunction get_photo($show_photo=\"\",$show_width=\"\",$show_height=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\\\"$show_photo\\\" alt=\\\"{$this->ipsclass->lang[\'get_photo\']}\\\" $show_width $show_height />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_rank_img:desc::trigger:>\n//===========================================================================\nfunction member_rank_img($filename=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\\\"$filename\\\" alt=\\\"{$this->ipsclass->lang[\'group_icon\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:no_custom_information:desc::trigger:>\n//===========================================================================\nfunction no_custom_information() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td colspan=\\\"2\\\" align=\\\"center\\\" class=\\\"row2\\\">{$this->ipsclass->lang[\'no_info\']}</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_aboutme:desc::trigger:>\n//===========================================================================\nfunction personal_portal_aboutme($member=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<div class=\'pp-contentbox-entry-noheight\'>\n		{$member[\'pp_about_me\']}\n		{$member[\'signature\']}\n	</div>\n	\" . (($this->ipsclass->member[\'id\'] == $member[\'id\']) ? (\"\n		<div class=\'pp-contentbox-entry-noheight\'>\n			<div style=\'float:right\'>\n				<a href=\'{$this->ipsclass->base_url}act=UserCP&amp;CODE=22\' target=\'_parent\'>{$this->ipsclass->lang[\'cp_edit_signature\']}</a> &middot; \n				<a href=\'{$this->ipsclass->base_url}act=UserCP&amp;CODE=about_me_form\' target=\'_parent\'>{$this->ipsclass->lang[\'cp_edit_aboutme\']}</a>\n			</div>\n		</div>\n	\") : (\"\")) . \"\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_iframe_comments:desc::trigger:>\n//===========================================================================\nfunction personal_portal_iframe_comments($member=\"\",$comments=\"\",$pages=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\'pp-iframe-wrap\' class=\'pp-contentbox-back\' style=\'overflow:auto\'>\n<form onsubmit=\'check_form()\' action=\'{$this->ipsclass->base_url}act=profile&amp;CODE=personal_iframe_comments_save&amp;member_id={$member[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\' method=\'POST\'>\n	\" . ((is_array($comments) and count($comments)) ? (\"\n		\".$this->__foreach_loop__id_4903095049fcf400648690($member,$comments,$pages).\"\n		<div class=\'pp-contentbox-entry-noheight\'>\n			<div style=\'float:right\'>\n				\" . ((( $member[\'id\'] == $this->ipsclass->member[\'id\'] ) OR ( $this->ipsclass->member[\'g_is_supmod\'] )) ? (\"\n					<select name=\'pp-moderation\' id=\'pp-moderation\'>\n						<option value=\'approve\'>{$this->ipsclass->lang[\'m_comment_app\']}</option>\n						<option value=\'unapprove\'>{$this->ipsclass->lang[\'m_comment_unapp\']}</option>\n						<option value=\'delete\'>{$this->ipsclass->lang[\'m_comment_delete\']}</option>\n					</select>\n					<input type=\'submit\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_go_button\']}\' />\n				\") : (\"\")) . \"\n			</div>\n			<div style=\'margin-top:7px\'>{$pages}&nbsp;</div>\n	\") : (\"\n		<div class=\'post1\' style=\'padding:6px\'>\n			<em>{$this->ipsclass->lang[\'m_no_comments\']} {$member[\'members_display_name\']}.</em>\n		</div>\n	\")) . \"\n</form>\n</div>\n<br /><br /><br /> <!-- Gotta give room for page jump... -->\n<script type=\'text/javascript\'>\n//<![CDATA\nvar _saved = parseInt( \\\"{$this->ipsclass->input[\'_saved\']}\\\" );\nif ( _saved )\n{\n	parent.ips_personal_portal.reload_comments();\n}\n// Check form\nfunction check_form()\n{\n	var selectbox = document.getElementById(\'pp-moderation\');\n	var chosen    = selectbox.options[ selectbox.selectedIndex ].value;\n	\n	if ( chosen == \'delete\' )\n	{\n		if ( confirm(\\\"{$this->ipsclass->lang[\'m_confirm\']}\\\") )\n		{\n			return true;\n		}\n		else\n		{\n			return false;\n		}\n	}\n	else\n	{\n		return true;\n	}\n}\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_4903095049fcf400648690($member=\"\",$comments=\"\",$pages=\"\")\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $comments as $comment )\n	{\n		\n		$_ips___x_retval .= \"\n			\" . (($comment[\'comment_approved\']) ? (\"\n				<div class=\'pp-contentbox-entry-noheight\' id=\'pp-comment-entry-main-{$comment[\'comment_id\']}\'>\n			\") : (\"\n				<div class=\'pp-contentbox-entry-noheight-mod\' id=\'pp-comment-entry-main-{$comment[\'comment_id\']}\'>\n			\")) . \"\n				<div class=\'pp-tiny-text\'>\n				<div class=\'pp-image-thumb-wrap-floatright\'><img src=\'{$comment[\'pp_thumb_photo\']}\' width=\'{$comment[\'pp_thumb_width\']}\' height=\'{$comment[\'pp_thumb_height\']}\' alt=\'\' /></div>\n					\" . ((( $member[\'id\'] == $this->ipsclass->member[\'id\'] ) OR ( $this->ipsclass->member[\'g_is_supmod\'] )) ? (\"\n						<!-- MOD CHECKBOX -->\n						<input type=\'checkbox\' class=\'input-checkbox\' id=\\\"pp-checked-{$comment[\'comment_id\']}\\\" name=\\\"pp-checked[{$comment[\'comment_id\']}]\\\" value=\'1\' onclick=\\\"parent.ips_personal_portal.toggle_comment_box(\'{$comment[\'comment_id\']}\', 1)\\\" />\n						<!-- / MOD CHECKBOX -->\n					\") : (\"\")) . \"\n					{$comment[\'_pp_gender_image\']} <strong><a href=\'{$this->ipsclass->base_url}showuser={$comment[\'id\']}\' target=\'_parent\'>{$comment[\'members_display_name\']}</a></strong>\n					<br />\n					{$comment[\'comment_content\']}\n					<br />\n					<strong>{$comment[\'_comment_date\']}</strong>\n				</div>\n			</div>\n		\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// <ips:personal_portal_iframe_friends:desc::trigger:>\n//===========================================================================\nfunction personal_portal_iframe_friends($member=\"\",$friends=\"\",$pages=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\'pp-iframe-wrap\' class=\'pp-contentbox-back\' style=\'overflow:auto\'>\n	\" . ((is_array($friends) and count($friends)) ? (\"\n		\".$this->__foreach_loop__id_490309504a2f7207709880($member,$friends,$pages).\"\n		\" . (($pages OR ( $member[\'id\'] == $this->ipsclass->member[\'id\'] )) ? (\"\n			<div class=\'pp-contentbox-entry-noheight\'>\n				<div style=\'float:right\'>\n					\" . (($member[\'id\'] == $this->ipsclass->member[\'id\']) ? (\"\n						<a href=\'#\' onclick=\'parent.friends_pop()\'>{$this->ipsclass->lang[\'m_manage_friends\']}</a>\n					\") : (\"\")) . \"\n				</div>\n				<div>{$pages}&nbsp;</div>\n			</div>\n		\") : (\"\")) . \"\n	\") : (\"\n		<div class=\'post1\' style=\'padding:6px\'>\n			<em>{$this->ipsclass->lang[\'m_nofriends\']}</em>\n		</div>\n	\")) . \"\n</div>\n<br /><br /><br /> <!-- Gotta give room for page jump... -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309504a2f7207709880($member=\"\",$friends=\"\",$pages=\"\")\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $friends as $friend )\n	{\n		\n		$_ips___x_retval .= \"\n			<div class=\'pp-contentbox-entry-noheight\' id=\'pp-comment-entry-main-{$friend[\'comment_id\']}\'>\n				<div class=\'pp-tiny-text\'>\n				<div class=\'pp-image-thumb-wrap-floatright\'><img src=\'{$friend[\'pp_thumb_photo\']}\' width=\'{$friend[\'pp_thumb_width\']}\' height=\'{$friend[\'pp_thumb_height\']}\' alt=\'\' /></div>\n					{$friend[\'_pp_gender_image\']} <strong><a href=\'{$this->ipsclass->base_url}showuser={$friend[\'id\']}\' target=\'_parent\'>{$friend[\'members_display_name\']}</a></strong>\n					<div class=\'pp-tiny-text\'>\n						{$friend[\'g_title\']}\n						<br />{$friend[\'posts\']} {$this->ipsclass->lang[\'fav_posts\']}\n						<br />{$this->ipsclass->lang[\'m_active\']}: {$friend[\'_last_active\']}\n					</div>\n				</div>\n			</div>\n		\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// <ips:personal_portal_iframe_settings:desc::trigger:>\n//===========================================================================\nfunction personal_portal_iframe_settings($member=array(),$friends=0,$error=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\'pp-iframe-wrap\' class=\'pp-contentbox-back\'>\n	<div class=\'pp-contentbox-entry-noheight\'>\n		\" . (($error) ? (\"\n			<div class=\'input-warn-content\'>$error</div>\n		\") : (\"\")) . \"\n		\" . (($friends) ? (\"\n			<fieldset>\n				<legend><strong>{$this->ipsclass->lang[\'m_friends_pending\']}</strong></legend>\n				<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n				<tr>\n					<td class=\\\"row1\\\" style=\'padding:6px;\'>\n						{$this->ipsclass->lang[\'m_friend_str_1\']} <strong>$friends</strong> {$this->ipsclass->lang[\'m_friend_str_2\']}\n						<br /><a href=\'#\' onclick=\'parent.friends_pop( \\\"&amp;tab=pending\\\"); return false\'>{$this->ipsclass->lang[\'m_manage_friends_list\']}</a>\n					</td>\n				</tr>\n				</table>\n			</fieldset>\n			<br />\n		\") : (\"\")) . \"\n		<form action=\'{$this->ipsclass->base_url}act=profile&amp;CODE=personal_iframe_settings_save&amp;member_id={$member[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\'  enctype=\'multipart/form-data\' method=\'POST\'>\n\" . (($this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n	\" . (($member[\'id\'] == $this->ipsclass->member[\'id\']) ? (\"\n	<!-- Can update photo? -->\n		<input type=\'hidden\' name=\'MAX_FILE_SIZE\' value=\'{$member[\'_max_file_size\']}\' />\n		\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'get_photo\']}</strong></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\' valign=\'top\'>\n					<strong>{$this->ipsclass->lang[\'m_your_pic\']}</strong>\n				</td>\n				<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<input type=\'file\' name=\'upload_photo\' />\n					<div class=\'pp-tiny-text\'>\n						{$this->ipsclass->lang[\'pp_photo_desc\']}\n					</div>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\' valign=\'top\'>\n					<strong>{$this->ipsclass->lang[\'m_delete_pic\']}</strong>\n				</td>\n				<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<input type=\'checkbox\' class=\'checkbox\' name=\'delete_photo\' value=\'1\' />\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n	\") : (\"\")) . \"\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_personal_statement\']}</strong> <span class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_char_limit\']}</span></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td class=\\\"row1\\\" style=\'padding:6px;text-align:center\'>\n					<textarea name=\'pp_bio_content\' rows=\'5\' cols=\'60\' style=\'width:95%;height:100px\'>{$member[\'_pp_bio_content\']}</textarea>\n					<div class=\'pp-tiny-text\' style=\'text-align:left\'>{$this->ipsclass->lang[\'m_statement_bbcode\']}</div>\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n		\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_website_title\']}</strong> <span class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_website_explain\']}</span></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td class=\\\"row1\\\" style=\'padding:6px;text-align:left\'>\n					<input type=\'text\' name=\'website\' size=\'25\' style=\'width:95%\' value=\'{$member[\'website\']}\' />\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n\") : (\"\")) . \"\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_notifications\']}</strong></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_new_comments\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_comm_type\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_notify_comments\'>{$member[\'_pp_setting_notify_comments\']}</select>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_new_friends\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_friend_type\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_notify_friend\'>{$member[\'_pp_setting_notify_friend\']}</select>\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n		\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_mod_type\']}</strong></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_new_comments\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_cmod_type\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_moderate_comments\'>{$member[\'_pp_setting_moderate_comments\']}</select>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_new_friends\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_fmod_type\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_moderate_friends\'>{$member[\'_pp_setting_moderate_friends\']}</select>\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n		\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_settings_header\']}</strong></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_show_x_visitors\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'op_change_refresh\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_count_visitors\'>\n					\" . (($member[\'pp_setting_count_visitors\'] == 0) ? (\"\n						<option value=\'0\' selected=\'selected\'>0</option>\n					\") : (\"\n						<option value=\'0\'>0</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_visitors\'] == 3) ? (\"\n						<option value=\'3\' selected=\'selected\'>3</option>\n					\") : (\"\n						<option value=\'3\'>3</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_visitors\'] == 5) ? (\"\n						<option value=\'5\' selected=\'selected\'>5</option>\n					\") : (\"\n						<option value=\'5\'>5</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_visitors\'] == 10) ? (\"\n						<option value=\'10\' selected=\'selected\'>10</option>\n					\") : (\"\n						<option value=\'10\'>10</option>\n					\")) . \"\n					</select>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_show_x_comments\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'op_change_refresh\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_count_comments\'>\n					\" . (($member[\'pp_setting_count_comments\'] == 0) ? (\"\n						<option value=\'0\' selected=\'selected\'>0</option>\n					\") : (\"\n						<option value=\'0\'>0</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_comments\'] == 3) ? (\"\n						<option value=\'3\' selected=\'selected\'>3</option>\n					\") : (\"\n						<option value=\'3\'>3</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_comments\'] == 5) ? (\"\n						<option value=\'5\' selected=\'selected\'>5</option>\n					\") : (\"\n						<option value=\'5\'>5</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_comments\'] == 10) ? (\"\n						<option value=\'10\' selected=\'selected\'>10</option>\n					\") : (\"\n						<option value=\'10\'>10</option>\n					\")) . \"\n					</select>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_show_x_friends\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'op_change_refresh\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_count_friends\'>\n					\" . (($member[\'pp_setting_count_friends\'] == 0) ? (\"\n						<option value=\'0\' selected=\'selected\'>0</option>\n					\") : (\"\n						<option value=\'0\'>0</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_friends\'] == 3) ? (\"\n						<option value=\'3\' selected=\'selected\'>3</option>\n					\") : (\"\n						<option value=\'3\'>3</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_friends\'] == 5) ? (\"\n						<option value=\'5\' selected=\'selected\'>5</option>\n					\") : (\"\n						<option value=\'5\'>5</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_friends\'] == 10) ? (\"\n						<option value=\'10\' selected=\'selected\'>10</option>\n					\") : (\"\n						<option value=\'10\'>10</option>\n					\")) . \"	\n					</select>\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n		\n		<div class=\'row1\' style=\'padding:6px; margin-bottom:1px;text-align:center\'>\n			<input type=\'submit\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_settings\']}\' />\n		</div>\n		</form>\n	</div>\n</div>\n\" . (($this->ipsclass->input[\'_saved\']) ? (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		parent.ips_personal_portal.update_personal_photo( \\\"{$this->ipsclass->vars[\'upload_url\']}/{$member[\'pp_main_photo\']}\\\", parseInt({$member[\'pp_main_width\']}), parseInt({$member[\'pp_main_height\']}) );\n		parent.ips_personal_portal.update_personal_statement( \\\"{$member[\'__pp_bio_content\']}\\\", \\\"{$member[\'website\']}\\\" );\n	//]]>\n	</script>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_main:desc::trigger:>\n//===========================================================================\nfunction personal_portal_main($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"{$this->ipsclass->vars[\'board_url\']}/jscripts/ipb_profile.js\\\"></script>\n<script type=\'text/javascript\' src=\\\"{$this->ipsclass->vars[\'board_url\']}/jscripts/ips_profile_portal.js\\\"></script>\n<script type=\\\"text/javascript\\\" src=\\\"{$this->ipsclass->vars[\'board_url\']}/jscripts/ipb_topic.js\\\"></script>\n<!--We (?:c|sh)ould use CSS for this.-->\n<table cellspacing=\'4\' cellpadding=\'0\' width=\'100%\'  border=\'0\'>\n<tr>\n	<td style=\'width:210px\' valign=\'top\'>\n	<!-- LEFT TABLE -->\n		<div class=\\\"borderwrap\\\" style=\'padding:1px\'>\n			<div class=\\\"pp-title\\\">{$this->ipsclass->lang[\'m_profile_title\']}</div>\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'get_photo\']}</div>\n			<table cellpadding=\'1\' cellspacing=\'0\' width=\'100%\'>\n			<tr>\n				<td width=\'60%\' class=\'row1\' style=\'padding:3px;margin-bottom:0px\' valign=\'middle\' align=\'center\'>\n				<!-- Personal Photo -->\n					<img id=\'pp-main-photo\' src=\'{$member[\'pp_main_photo\']}\' width=\'{$member[\'pp_main_width\']}\' height=\'{$member[\'pp_main_height\']}\' alt=\'\' />\n				<!-- / Personal Photo -->\n				<!-- Quick contact -->\n				\" . (($this->ipsclass->member[\'id\'] AND ( $member[\'id\'] != $this->ipsclass->member[\'id\'])) ? (\"\n					<div style=\'margin-top:10px;margin-bottom:6px\'>\n						<div id=\'pp-friend-wrap\'>\n							<!-- Add / remove friend added via JS -->\n						</div>\n						<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/send_pm_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$member[\'id\']}\\\">{$this->ipsclass->lang[\'pm\']}</a>\n					</div>\n				\") : (\"\")) . \"\n				<!-- / Quick contact -->\n				</td>\n			</tr>\n			</table>\n			\n			\" . (($this->ipsclass->vars[\'pp_allow_member_rate\']) ? (\"\n				<!-- Rating -->\n				<div class=\'pp-header\'>{$this->ipsclass->lang[\'rating\']}</div>\n				<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px; text-align: center\' id=\'pp-rating-wrapper\'>\n					&nbsp;\n				</div>\n				<!-- / Rating -->\n			\") : (\"\")) . \"\n			\n			<!-- Options -->\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'options\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px; text-align: center\'>\n				<div class=\'popmenubutton-new\' id=\'profile-options\'>{$this->ipsclass->lang[\'options\']}</div>\n			</div>\n			<!-- / Options -->\n			\n			<!-- Personal Statement -->\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_personal_statement\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\' id=\'pp-personal_statement\'>\n				\" . (($member[\'pp_bio_content\']) ? (\"\n					{$member[\'pp_bio_content\']}\n					\") : (\"\n					<em>{$member[\'members_display_name\']} {$this->ipsclass->lang[\'m_no_statement\']}.</em>\n				\")) . \"\n				\" . (($member[\'_website\']) ? (\"\n					<div style=\'padding-top:5px\'>\n						\" . ((strlen($member[\'_website\']) > 30) ? (\"\n							<a href=\'{$member[\'_website\']}\' target=\'_blank\'>{$this->ipsclass->lang[\'m_visit_website\']}</a>\n						\") : (\"\n							<a href=\'{$member[\'_website\']}\' target=\'_blank\'>{$member[\'_website\']}</a>\n						\")) . \"\n					</div>\n				\") : (\"\")) . \"\n			</div>\n			<!-- / Personal Statement -->\n			\n			<!-- Personal Info -->\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_personal_info\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$member[\'members_display_name\']}</div>\n			\" . (($member[\'_title\']!=\'\') ? (\"\n				<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$member[\'_title\']}</div>\n			\") : (\"\")) . \"\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\' id=\'pp-entry-age-wrap\'>\n				\" . (($member[\'_age\'] > 0) ? (\"\n					 <span id=\'pp-entry-age-text\'>{$member[\'_age\']}</span> <span id=\'pp-entry-age-yearsold\'>{$this->ipsclass->lang[\'m_years_old\']}</span>\n				\") : (\"\n					<span id=\'pp-entry-age-text\'>{$this->ipsclass->lang[\'m_age_unknown\']}</span> <span id=\'pp-entry-age-yearsold\' style=\'display:none\'>{$this->ipsclass->lang[\'m_years_old\']}</span>\n				\")) . \"\n			</div>\n			<div class=\'row2\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-gender-wrap\'>\n					\" . (($member[\'pp_gender\']) ? (\"\n						<span id=\'pp-entry-gender-imgwrap\'>{$member[\'_pp_gender_image\']}</span> <span id=\'pp-entry-gender-text\'>{$member[\'_pp_gender_text\']}</span>\n					\") : (\"\n						<span id=\'pp-entry-gender-imgwrap\'>{$member[\'_pp_gender_image\']}</span> <span id=\'pp-entry-gender-text\'>{$this->ipsclass->lang[\'m_no_gender\']}</span>\n					\")) . \"\n				</div>\n				\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n					<div class=\'popupmenu-new\' id=\'pp-entry-gender-wrap_menu\' style=\'display:none;width:162px\'>\n						<div class=\'popupmenu-item\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_male.png\' alt=\'\' border=\'0\' /> <a href=\'#\' onclick=\\\"ips_personal_portal.save_settings( \'gender\', { \'pp_gender\' : \'male\' }, \'\'); return false;\\\">{$this->ipsclass->lang[\'m_gender_as_male\']}</a></div>\n						<div class=\'popupmenu-item\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_female.png\' alt=\'\' border=\'0\' /> <a href=\'#\' onclick=\\\"ips_personal_portal.save_settings( \'gender\', { \'pp_gender\' : \'female\' }, \'\'); return false;\\\">{$this->ipsclass->lang[\'m_gender_as_female\']}</a></div>\n						<div class=\'popupmenu-item-last\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_mystery.png\' alt=\'\' border=\'0\' /> <a href=\'#\' onclick=\\\"ips_personal_portal.save_settings( \'gender\', { \'pp_gender\' : \'mystery\' }, \'\'); return false;\\\">{$this->ipsclass->lang[\'m_gender_as_none\']}</a></div>\n					</div>\n				\") : (\"\")) . \"\n			</div>\n			<div class=\'row2\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-location-wrap\'>\n					\" . (($member[\'location\']) ? (\"\n						<span id=\'pp-entry-location-text\'>{$member[\'location\']}</span>\n					\") : (\"\n						<span id=\'pp-entry-location-text\'>{$this->ipsclass->lang[\'m_location_unknown\']}</span>\n					\")) . \"\n				</div>\n				\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n					<div class=\'popupmenu-new\' id=\'pp-entry-location-wrap_menu\' style=\'display:none;width:auto\'>\n						<div class=\'popupmenu-item-last\'>\n							<fieldset>\n								<legend>{$this->ipsclass->lang[\'m_enter_location\']}</legend>\n								<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'location\' id=\'pp-location\' value=\'{$member[\'location\']}\' /> <input class=\'button\' type=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'location\', {}, \'pp-location\'); return false;\\\" />\n							</fieldset>\n						</div>\n					</div>\n				\") : (\"\")) . \"\n			</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:0px; padding-left:10px\'>\n				<div id=\'pp-entry-born-wrap\'>\n					\" . (($member[\'bday_day\'] AND $member[\'bday_year\'] AND $member[\'_bday_month\']) ? (\"\n						<span id=\'pp-entry-born-pretext\'>{$this->ipsclass->lang[\'born_key\']}</span> <span id=\'pp-entry-born-text\'>{$member[\'_bday_month\']}-{$member[\'bday_day\']}-{$member[\'bday_year\']}</span>\n					\") : (\"\n						<span id=\'pp-entry-born-text\'>{$this->ipsclass->lang[\'m_bday_unknown\']}</span>\n					\")) . \"\n				</div>\n				\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n					<div class=\'popupmenu-new\' id=\'pp-entry-born-wrap_menu\' style=\'display:none;width:auto\'>\n						<div class=\'popupmenu-item-last\'>\n							<fieldset>\n								<legend>{$this->ipsclass->lang[\'m_enter_bdate\']}</legend>\n								<select name=\'_b_month\' id=\'pp_b_month\'>{$member[\'_birthday_month\']}</select>								\n								<select name=\'_b_day\' id=\'pp_b_day\'>{$member[\'_birthday_day\']}</select>\n								<select name=\'_b_year\' id=\'pp_b_year\'>{$member[\'_birthday_year\']}</select>\n								<input class=\'button\' type=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'birthdate\', {}, \'\'); return false;\\\" />\n							</fieldset>\n						</div>\n					</div>\n				\") : (\"\")) . \"\n			</div>\n			<!-- WARN -->\n			\" . (($member[\'_warn_data\']) ? (\"\n				<div class=\'row1\' style=\'padding:6px; margin-bottom:0px; padding-left:10px\'>\n					{$member[\'_warn_data\']}\n				</div>\n			\") : (\"\")) . \"\n			<!-- / WARN -->\n			<!-- / Personal Info -->\n			\n			<!-- Interests -->\n			\" . (($member[\'_interests\']) ? (\"\n				<div class=\'pp-header\'>{$this->ipsclass->lang[\'interests\']}</div>\n				<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\' id=\'pp-personal_statement\'>\n					{$member[\'_interests\']}\n				</div>\n			\") : (\"\")) . \"\n			<!-- / Interests -->\n				\n			<!-- Custom Fields -->\n			\" . ((is_array( $member[\'custom_fields\'] ) AND count( $member[\'custom_fields\'] )) ? (\"\n				<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_other_info\']}</div>\n				\".$this->__foreach_loop__id_490309504ae03560911917($tabs,$member,$comments,$friends,$visitors,$default_tab,$default_tab_content).\"\n			\") : (\"\")) . \"\n			<!-- / Custom Fields -->\n			\n			<!-- Statistics --> \n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_stats_title\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$this->ipsclass->lang[\'m_member_since\']} {$member[\'_joined\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$this->ipsclass->lang[\'m_profile_views\']} {$member[\'_pp_profile_views\']}<span class=\'pp-tiny-text\'>*</span></div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				{$this->ipsclass->lang[\'m_last_seen\']} {$member[\'_last_active\']}\n				\" . (($member[\'_online_location\']) ? (\"\n					<br />{$member[\'_online_location\']}\n				\") : (\"\")) . \"\n			</div>\n			\n			\" . (($member[\'_local_time\']) ? (\"\n				<div class=\'row2\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$this->ipsclass->lang[\'m_local_time_is\']} {$member[\'_local_time\']}</div>\n			\") : (\"\")) . \"\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$member[\'_posts\']} {$this->ipsclass->lang[\'m_bit_posts\']} ({$member[\'_posts_day\']} {$this->ipsclass->lang[\'posts_per_day\']})</div>\n			<!-- / Statistics -->\n			\n			<!-- Contact Information -->\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_contact_info\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-contact-wrap-aim\'>\n					<{PRO_AIM}> <span id=\'pp-entry-contact-entry-aim\'>{$member[\'_aim_name\']}</span>\n				</div>\n			</div>\n			\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n				<div class=\'popupmenu-new\' id=\'pp-entry-contact-wrap-aim_menu\' style=\'display:none;width:auto\'>\n					<div class=\'popupmenu-item-last\'>\n						<fieldset>\n							<legend>{$this->ipsclass->lang[\'m_enter_aim\']}</legend>\n							<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'value\' id=\'pp-contact-value-aim\' value=\'{$member[\'aim_name\']}\' /> <input class=\'button\' type=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'contact\', { \'contacttype\' : \'aim\' }, \'pp-contact-value-aim\'); return false;\\\" />\n						</fieldset>\n					</div>\n				</div>\n			\") : (\"\")) . \"\n			\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-contact-wrap-yahoo\'>\n					<{PRO_YIM}> <span id=\'pp-entry-contact-entry-yahoo\'>{$member[\'_yahoo\']}</span>\n				</div>\n			</div>\n			\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n				<div class=\'popupmenu-new\' id=\'pp-entry-contact-wrap-yahoo_menu\' style=\'display:none;width:auto\'>\n					<div class=\'popupmenu-item-last\'>\n						<fieldset>\n							<legend>{$this->ipsclass->lang[\'m_enter_yahoo\']}</legend>\n							<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'value\' id=\'pp-contact-value-yahoo\' value=\'{$member[\'yahoo\']}\' /> <input type=\'button\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'contact\', { \'contacttype\' : \'yahoo\' }, \'pp-contact-value-yahoo\'); return false;\\\" />\n						</fieldset>\n					</div>\n				</div>\n			\") : (\"\")) . \"\n			\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-contact-wrap-icq\'>\n					<{PRO_ICQ}> <span id=\'pp-entry-contact-entry-icq\'>{$member[\'_icq_number\']}</span>\n				</div>\n			</div>\n			\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n				<div class=\'popupmenu-new\' id=\'pp-entry-contact-wrap-icq_menu\' style=\'display:none;width:auto\'>\n					<div class=\'popupmenu-item-last\'>\n						<fieldset>\n							<legend>{$this->ipsclass->lang[\'m_enter_icq\']}</legend>\n							<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'value\' id=\'pp-contact-value-icq\' value=\'{$member[\'icq_number\']}\' /> <input type=\'button\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'contact\', { \'contacttype\' : \'icq\' }, \'pp-contact-value-icq\'); return false;\\\" />\n						</fieldset>\n					</div>\n				</div>\n			\") : (\"\")) . \"\n			\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-contact-wrap-msn\'>\n					<{PRO_MSN}> <span id=\'pp-entry-contact-entry-msn\'>{$member[\'_msn_name\']}</span>\n				</div>\n			</div>\n			\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n				<div class=\'popupmenu-new\' id=\'pp-entry-contact-wrap-msn_menu\' style=\'display:none;width:auto\'>\n					<div class=\'popupmenu-item-last\'>\n						<fieldset>\n							<legend>{$this->ipsclass->lang[\'m_enter_msn\']}</legend>\n							<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'value\' id=\'pp-contact-value-msn\' value=\'{$member[\'msnname\']}\' /> <input type=\'button\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'contact\', { \'contacttype\' : \'msn\' }, \'pp-contact-value-msn\'); return false;\\\" />\n						</fieldset>\n					</div>\n				</div>\n			\") : (\"\")) . \"\n			\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<{PRO_CONTACT}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$member[\'id\']}\\\">{$this->ipsclass->lang[\'pm\']}</a>\n			</div>\n			<div class=\'row1\' style=\'padding:6px; padding-left:10px\'>\n				<{PRO_CONTACT}> {$member[\'_email\']}\n			</div>\n			<!-- / Contact Information -->\n		</div>\n		<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_profile_views_desc\']}</div>\n		\n		<!-- sssh.. ugly hack to stop IE collapsing this column under short widths -->\n		<img src=\'{$this->ipsclass->vars[\'img_url\']}/blank.gif\' width=\'210\' height=\'1\' alt=\'\' />\n		\n	<!-- / LEFT TABLE -->\n	</td>\n	<td valign=\'top\'>\n	<!-- MAIN TABLE -->\n		<div class=\'pp-name\'>\n			<table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n			<tr>\n				<td width=\'1%\'>{$member[\'_avatar\']}</td>\n				<td width=\'98%\' style=\'padding-left:10px\'>\n					<h3 style=\'font-size:20px\'>{$member[\'members_display_name\']}</h3>\n					<strong>{$member[\'g_title\']}</strong>\n					<p>{$member[\'_member_rank_img\']}</p>\n				</td>\n			</tr>\n			</table>\n		</div>\n		\n		<br />\n		\n		<!-- My Stuff -->\n		<div class=\'pp-tabwrap\'>\n			\".$this->__foreach_loop__id_490309504aeab574831889($tabs,$member,$comments,$friends,$visitors,$default_tab,$default_tab_content).\"\n				<div class=\'pp-taboff\' id=\'pp-content-tab-comments\'>{$this->ipsclass->lang[\'m_tab_comments\']}</div>\n				<div class=\'pp-taboff\' id=\'pp-content-tab-friends\'>{$this->ipsclass->lang[\'m_tab_friends\']}</div>\n				\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] OR ( $this->ipsclass->member[\'g_is_supmod\']==1 AND $member[\'mgroup\'] != $this->ipsclass->vars[\'admin_group\'] )) ? (\"\n					<div class=\'pp-taboff\' id=\'pp-content-tab-settings\'>{$this->ipsclass->lang[\'m_tab_settings\']}</div>\n				\") : (\"\")) . \"\n		</div>\n		<div class=\\\"pp-tabclear\\\">{$this->ipsclass->lang[\'m_title_content\']}</div>\n		<div class=\\\"borderwrap\\\">	\n			<div id=\'pp-main-tab-content\' class=\'pp-contentbox-back\'>\n				{$default_tab_content}\n			</div>\n			\n		</div>\n		<!-- / My Stuff -->\n		\n	<!-- / MAIN TABLE -->\n	</td>\n	\" . (($member[\'pp_setting_count_visitors\'] > 0 OR $member[\'pp_setting_count_comments\'] > 0 OR $member[\'pp_setting_count_friends\'] > 0) ? (\"\n		<td style=\'width:210px;\' valign=\'top\'>\n		<!-- RIGHT TABLE -->\n		<!-- Recent Visitors -->\n		\" . (($member[\'pp_setting_count_visitors\'] > 0) ? (\"\n			<div class=\\\"borderwrap\\\" style=\'padding:1px\'>\n				<div class=\\\"pp-title\\\">{$this->ipsclass->lang[\'m_title_visitors\']}</div>\n				\" . ((is_array($visitors) and count($visitors)) ? (\"\n					\".$this->__foreach_loop__id_490309504af5a579811200($tabs,$member,$comments,$friends,$visitors,$default_tab,$default_tab_content).\"\n				\") : (\"\n					<div class=\'post1\' style=\'padding:6px\'>\n						<em>{$member[\'members_display_name\']} {$this->ipsclass->lang[\'m_visitors_none\']}.</em>\n					</div>\n				\")) . \"\n			</div>\n		\") : (\"\")) . \"\n		<!-- / Recent Visitors -->\n	\n		<br />\n	\n		<!-- Comments -->\n		\" . (($member[\'pp_setting_count_comments\'] > 0) ? (\"\n			<div class=\\\"borderwrap\\\" style=\'padding:1px\'>\n				<div class=\\\"pp-title\\\">{$this->ipsclass->lang[\'m_title_comments\']}</div>\n					<div id=\'pp-comments-wrap\'>\n						$comments\n					</div>\n				\" . (($this->ipsclass->member[\'id\']) ? (\"\n					<div class=\'popmenubutton-new\' id=\'pp-comment-wrap\' style=\'margin:2px\'>\n						<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/comment_add.png\' alt=\'\' border=\'0\' /> {$this->ipsclass->lang[\'m_add_comment\']}\n					</div>\n					<div class=\'popupmenu-new\' id=\'pp-comment-wrap_menu\' style=\'display:none;width:auto;\'>\n						<div class=\'popupmenu-item-last\'>\n							<fieldset>\n								<legend>{$this->ipsclass->lang[\'m_enter_comment\']}</legend>\n								<textarea rows=\'8\' cols=\'17\' name=\'comment\' id=\'pp-comment-textarea\'></textarea>\n								<div class=\'pp-tiny-text\' style=\'text-align:right\'>\n									{$this->ipsclass->lang[\'m_max_chars\']}\n									<input type=\'button\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_comment(); return false;\\\" />\n								</div>\n							</fieldset>\n						</div>\n					</div>\n					<script type=\'text/javascript\'>\n					//<![CDATA[\n						ipsmenu.register( \\\"pp-comment-wrap\\\" );\n					//]]>\n					</script>\n				\") : (\"\")) . \"\n			</div>\n		\") : (\"\")) . \"\n		<!-- / Comments -->\n	\n		<br />\n	\n		<!-- Friends -->\n		\" . (($member[\'pp_setting_count_friends\'] > 0) ? (\"\n			<div class=\\\"borderwrap\\\" style=\'padding:1px\'>\n				<div class=\\\"pp-title\\\">{$this->ipsclass->lang[\'m_title_friends\']}</div>\n				\" . ((is_array($friends) and count($friends)) ? (\"\n					\".$this->__foreach_loop__id_490309504b06a736196015($tabs,$member,$comments,$friends,$visitors,$default_tab,$default_tab_content).\"\n					<div class=\'pp-mini-content-entry-noheight\' style=\'text-align:right\'>\n						<a href=\'#\' onclick=\\\"ips_personal_portal.tab_load( \'friends\' )\\\">{$this->ipsclass->lang[\'m_view_friends\']}</a>\n					</div>\n				\") : (\"\n					<div class=\'post1\' style=\'padding:6px\'>\n						<em>{$this->ipsclass->lang[\'m_no_friends\']}.</em>\n					</div>\n				\")) . \"\n			</div>\n		\") : (\"\")) . \"\n		<!-- / Friends -->\n		<!-- sssh.. ugly hack to stop IE collapsing this column under short widths -->\n		<img src=\'{$this->ipsclass->vars[\'img_url\']}/blank.gif\' width=\'210\' height=\'1\' alt=\'\' />\n		<!-- / RIGHT TABLE -->\n		</td>\n	\") : (\"\")) . \"\n</tr>\n</table>\n<script type=\'text/javascript\'>\n//<![CDATA[\n// Settings\nips_personal_portal.settings[\'allow_rating\']      = parseInt(\\\"{$this->ipsclass->vars[\'pp_allow_member_rate\']}\\\");\nips_personal_portal.settings[\'default_rating\']    = parseInt(\\\"{$member[\'_pp_rating_real\']}\\\");\nips_personal_portal.settings[\'member_id\']         = parseInt(\\\"{$member[\'id\']}\\\");\nips_personal_portal.settings[\'is_super_mod\']      = parseInt(\\\"{$member[\'g_is_supmod\']}\\\");\nips_personal_portal.settings[\'viewer_id\']         = parseInt(\\\"{$this->ipsclass->member[\'id\']}\\\");\nips_personal_portal.settings[\'edit_allowed\']	  = parseInt(\\\"{$this->ipsclass->member[\'g_edit_profile\']}\\\");\nips_personal_portal.settings[\'img_base_url\']      = ipb_var_image_url + \'/folder_profile_portal\';\nips_personal_portal.settings[\'img_menu_icon\']     = \\\"{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\\\";\nips_personal_portal.settings[\'img_friend_remove\'] = \\\"{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\\\";\nips_personal_portal.settings[\'img_friend_add\']    = \\\"{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_add_small.png\\\";\nips_personal_portal.settings[\'default_tab\']       = \'{$default_tab}\';\n// Languages\nips_personal_portal.languages[\'rate_me\']          = \'<span class=\\\"desc\\\">{$this->ipsclass->lang[\'m_rate_me\']}</span>\';\nips_personal_portal.languages[\'friend_add\']       = \'{$this->ipsclass->lang[\'m_friend_add\']}\';\nips_personal_portal.languages[\'friend_remove\']    = \'{$this->ipsclass->lang[\'m_friend_remove\']}\';\nips_personal_portal.languages[\'img_alt_rate\']     = \'{$this->ipsclass->lang[\'js_img_alt_rate_p\']}\';\nips_personal_portal.languages[\'gender_male\']      = \'{$this->ipsclass->lang[\'js_gender_male\']}\';\nips_personal_portal.languages[\'gender_female\']    = \'{$this->ipsclass->lang[\'js_gender_female\']}\';\nips_personal_portal.languages[\'gender_mystery\']   = \'{$this->ipsclass->lang[\'js_gender_mystery\']}\';\nips_personal_portal.languages[\'loading_tab\']      = \'{$this->ipsclass->lang[\'js_loading_tab\']}\';\nips_personal_portal.languages[\'deleting_comment\'] = \'{$this->ipsclass->lang[\'js_deleting_comment\']}\';\nips_personal_portal.languages[\'saving_comment\']   = \'{$this->ipsclass->lang[\'js_saving_comment\']}\';\nips_personal_portal.languages[\'age_unknown\']   	  = \'{$this->ipsclass->lang[\'m_age_unknown\']}\';\n// INIT\nips_personal_portal.init();\n\" . (($default_tab_content == \'\') ? (\"\n// Load tab\nips_personal_portal.load_content_tab( \'{$default_tab}\' );\n\") : (\"\")) . \"\nmenu_build_menu(\n\\\"profile-options\\\", new Array(\n							\" . (($this->ipsclass->member[\'id\'] != 0 AND $this->ipsclass->member[\'id\'] != $member[\'id\']) ? (\"\n							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=ignore&amp;uid={$member[\'id\']}\'>{$this->ipsclass->lang[\'ignore_user\']}</a>\\\",\n							\") : (\"\")) . \"\n							\" . (($this->ipsclass->member[\'g_is_supmod\'] == 1) ? (\"\n							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=mod&amp;CODE=editmember&amp;auth_key={$this->ipsclass->md5_check}&amp;member={$member[\'id\']}\'>{$this->ipsclass->lang[\'supmod_edit_member\']}</a>\\\",\n							\") : (\"\")) . \"\n							\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1) ? (\"\n							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'#\' onclick=\'return profile_dname_history({$member[\'id\']})\'>{$this->ipsclass->lang[\'dname_title\']}</a>\\\",\n							\") : (\"\")) . \"\n							\" . (($this->ipsclass->member[\'id\'] != 0 AND $this->ipsclass->member[\'id\'] != $member[\'id\']) ? (\"\n							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Msg&amp;CODE=02&amp;MID={$member[\'id\']}\'>{$this->ipsclass->lang[\'op_add_pm_to_block\']}</a>\\\",\n							\") : (\"\")) . \"\n 							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$member[\'id\']}\'>{$this->ipsclass->lang[\'find_posts\']}</a>\\\",\n				 			\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$member[\'id\']}\'>{$this->ipsclass->lang[\'find_member_topics\']}</a>\\\"\n) );\n\n//]]>\n</script>\n\" . ((is_array( $this->ipsclass->member[\'_cache\'][\'friends\'] ) AND in_array( $member[\'id\'], array_keys( $this->ipsclass->member[\'_cache\'][\'friends\'] ) )) ? (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		ips_personal_portal.show_friend_add_or_remove( 0 );\n	//]]>\n	</script>\n\") : (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		ips_personal_portal.show_friend_add_or_remove( 1 );\n	//]]>\n	</script>\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309504ae03560911917($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $member[\'custom_fields\'] as $data )\n	{\n		\n		$_ips___x_retval .= \"\n					<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$data[\'name\']}: {$data[\'data\']}</div>\n				\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309504aeab574831889($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $tabs as $tab )\n	{\n		\n		$_ips___x_retval .= \"\n				<div class=\'pp-taboff\' id=\'pp-content-tab-{$tab[\'plugin_key\']}\'>{$tab[\'_lang\']}</div>\n			\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309504af5a579811200($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $visitors as $visitor )\n	{\n		\n		$_ips___x_retval .= \"\n						<div class=\'pp-mini-content-entry\'>\n							<div class=\'pp-image-thumb-wrap-floatright\'><img src=\'{$visitor[\'pp_thumb_photo\']}\' width=\'{$visitor[\'pp_thumb_width\']}\' height=\'{$visitor[\'pp_thumb_height\']}\' alt=\'\' /></div>\n							<div style=\'position:absolute;z-index:2;\'>\n								{$visitor[\'_pp_gender_image\']} <strong>\" . (($visitor[\'id\']) ? (\"<a href=\'{$this->ipsclass->base_url}showuser={$visitor[\'id\']}\'>\") : (\"\")) . \"{$visitor[\'members_display_name_short\']}\" . (($visitor[\'id\']) ? (\"</a>\") : (\"\")) . \"</strong>\n							</div>\n							<br />\n							<br />\n							<div class=\'pp-tiny-text\'>{$visitor[\'_pp_online_image\']} {$visitor[\'_visited_date\']}</div>\n						</div>\n					\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309504b06a736196015($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $friends as $friend )\n	{\n		\n		$_ips___x_retval .= \"\n						<div class=\'pp-mini-content-entry\'>\n							<div class=\'pp-image-thumb-wrap-floatright\'><img src=\'{$friend[\'pp_thumb_photo\']}\' width=\'{$friend[\'pp_thumb_width\']}\' height=\'{$friend[\'pp_thumb_height\']}\' alt=\'\' /></div>\n							<div style=\'position:absolute;z-index:2;\'>\n								{$friend[\'_pp_gender_image\']} <strong><a href=\'{$this->ipsclass->base_url}showuser={$friend[\'id\']}\'>{$friend[\'members_display_name_short\']}</a></strong>\n							</div>\n							<br />\n							<div class=\'pp-tiny-text\'>\n								{$friend[\'posts\']} {$this->ipsclass->lang[\'m_bit_posts\']}\n								<br />{$friend[\'_pp_online_image\']} {$friend[\'_last_active\']}\n							</div>\n						</div>\n					\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// <ips:personal_portal_no_aboutme:desc::trigger:>\n//===========================================================================\nfunction personal_portal_no_aboutme($langkey=\"\",$memberid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<table cellspacing=\\\"1\\\" width=\\\"100%\\\"><tr>\n		<td class=\\\"row1\\\" align=\\\"center\\\">\n			<b>{$this->ipsclass->lang[ $langkey ]}</b>\n		</td>\n	</tr></table>\n	\" . (($this->ipsclass->member[\'id\'] == $memberid) ? (\"\n		<br />\n		<div class=\'pp-contentbox-entry-noheight\'>\n			<div style=\'float:right\'>\n				<a href=\'{$this->ipsclass->base_url}act=UserCP&amp;CODE=22\' target=\'_parent\'>{$this->ipsclass->lang[\'cp_edit_signature\']}</a> &middot; \n				<a href=\'{$this->ipsclass->base_url}act=UserCP&amp;CODE=about_me_form\' target=\'_parent\'>{$this->ipsclass->lang[\'cp_edit_aboutme\']}</a>\n			</div>\n		</div>\n	\") : (\"\")) . \"\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_no_content:desc::trigger:>\n//===========================================================================\nfunction personal_portal_no_content($langkey=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table cellspacing=\\\"1\\\" width=\\\"100%\\\"><tr>\n	<td class=\\\"row1\\\" align=\\\"center\\\">\n		<b>{$this->ipsclass->lang[ $langkey ]}</b>\n	</td>\n</tr></table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_show_comment:desc::trigger:>\n//===========================================================================\nfunction personal_portal_show_comment($comments=\"\",$member=array(),$new_id=0,$return_msg=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . ((is_array($comments) and count($comments)) ? (\"\n	\".$this->__foreach_loop__id_490309504c791825089354($comments,$member,$new_id,$return_msg).\"\n\") : (\"\n	<div class=\'post1\' style=\'padding:6px\'>\n		<em>{$this->ipsclass->lang[\'m_no_comments\']} {$member[\'members_display_name\']}.</em>\n	</div>\n\")) . \"\n\" . (($return_msg) ? (\"\n	<script type=\\\"text/javascript\\\">\n	//<![CDATA[\n		show_inline_messages_instant( \\\"$return_msg\\\" );\n	//]]>\n	</script>\n\") : (\"\")) . \"\n\" . (($new_id) ? (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		ipsclass.fade_in_element( \'pp-comment-entry-{$new_id}\' );\n	//]]>\n	</script>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_490309504c791825089354($comments=\"\",$member=array(),$new_id=0,$return_msg=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $comments as $comment )\n	{\n		\n		$_ips___x_retval .= \"\n		<div class=\'pp-mini-content-entry-noheight\' id=\'pp-comment-entry-{$comment[\'comment_id\']}\'>\n			<div class=\'pp-tiny-text\'>\n			<div class=\'pp-image-mini-wrap-floatright\'><img src=\'{$comment[\'pp_mini_photo\']}\' width=\'{$comment[\'pp_mini_width\']}\' height=\'{$comment[\'pp_mini_height\']}\' alt=\'\' /></div>\n				{$comment[\'_pp_gender_image\']} <strong><a href=\'{$this->ipsclass->base_url}showuser={$comment[\'id\']}\'>{$comment[\'members_display_name_short\']}</a></strong>\n				<br />\n				{$comment[\'comment_content\']}\n				<br />\n				\" . (($this->ipsclass->member[\'id\'] == $member[\'id\'] OR $this->ipsclass->member[\'g_is_supmod\']) ? (\"\n					<a href=\'#\' onclick=\'ips_personal_portal.delete_comment(\\\"{$comment[\'comment_id\']}\\\"); return false\'><img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/comment_remove.gif\\\" style=\'vertical-align:bottom;\' id=\\\"pp-comment-delete-{$comment[\'comment_id\']}\\\" title=\'{$this->ipsclass->lang[\'m_delete_comment\']}\' border=\\\"0\\\" /></a>\n				\") : (\"\")) . \"\n				<strong>{$comment[\'_comment_date\']}</strong>\n			</div>\n		</div>\n	\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// <ips:personal_portal_single_column:desc::trigger:>\n//===========================================================================\nfunction personal_portal_single_column($row=array(),$read_more_link=\'\',$url=\'\',$title=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<div class=\'pp-contentbox-entry\'>\n		<div class=\'pp-datebox\'>\n			{$row[\'_date_array\'][\'mday\']} {$row[\'_date_array\'][\'smonth\']} <em>{$row[\'_date_array\'][\'year\']}</em>\n			\" . (($read_more_link AND $url) ? (\"\n				<div style=\'font-size:10px; font-weight:normal\'><a href=\'$url\'>{$read_more_link}</a></div>\n			\") : (\"\")) . \"\n		</div>\n		\" . (($title) ? (\"\n			\" . (($url) ? (\"\n				<div style=\'font-weight:bold;font-size:16px;border-bottom:1px solid #CCC; padding-bottom:5px;\'>\n					<a href=\\\"$url\\\" style=\'text-decoration:none\'>$title</a>\n				</div>\n			\") : (\"\n				<div style=\'font-weight:bold;font-size:16px;border-bottom:1px solid #CCC; padding-bottom:5px;\'>$title</div>\n			\")) . \"\n		\") : (\"\")) . \"\n		<div style=\'margin:5px\'>{$row[\'post\']}</div>\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_card:desc::trigger:>\n//===========================================================================\nfunction show_card($name=\"\",$photo=\"\",$info=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\\\"javascript\\\" type=\\\"text/javascript\\\">\n<!--\n function redirect_to(where, closewin)\n {\n 	opener.location= \'{$this->ipsclass->base_url}\' + where;\n 	\n 	if (closewin == 1)\n 	{\n 		self.close();\n 	}\n }\n//-->\n</script>\n<div class=\\\"borderwrap\\\" style=\\\"text-align: left;\\\">\n	<div class=\\\"maintitle\\\">$name</div>\n	<table cellspacing=\\\"1\\\" width=\'100%\' class=\'row1\'>\n		<tr>\n			<th><b>{$this->ipsclass->lang[\'head_contact\']}</b></th>\n			<th><b>{$this->ipsclass->lang[\'photo_title\']}</b></th>\n		</tr>\n		<tr>\n			<td valign=\\\"middle\\\" class=\\\"nopad\\\">\n				<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n\" . (($this->ipsclass->vars[\'blog_default_view\'] != \"\" and $info[\'has_blog\'] == 1) ? (\"\n<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'myblog\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><b><a href=\'javascript:redirect_to(\\\"&amp;automodule=blog&amp;req=showblog&amp;mid={$info[\'mid\']}\\\",1);\'>{$this->ipsclass->lang[\'click_here\']}</a></b></td>\n					</tr>\n\") : (\"\")) . \"\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'email\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><b>{$info[\'email\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'website_addr\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><b>{$info[\'website\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'aim\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><{PRO_AIM}> <b>{$info[\'aim_name\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'icq\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><{PRO_ICQ}> <b>{$info[\'icq_number\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'yahoo\']}</td>\n							<td width=\\\"100%\\\" class=\\\"row1\\\"><{PRO_YIM}> <b>{$info[\'yahoo\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'msn\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><{PRO_MSN}> <b>{$info[\'msn_name\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'pm\']}</b></td>\n						<td class=\\\"row1\\\"><b><a href=\\\"javascript:redirect_to(\'&amp;act=Msg&amp;CODE=4&amp;MID={$info[\'mid\']}\', 1);\\\">{$this->ipsclass->lang[\'click_here\']}</a></b></td>\n					</tr>\n				</table>\n			</td>\n			<td valign=\\\"middle\\\" class=\\\"row1\\\" align=\\\"center\\\">$photo</td>\n		</tr>\n		<tr>\n			<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><a href=\\\"{$this->ipsclass->base_url}act=Profile&amp;CODE=showcard&amp;MID={$info[\'mid\']}&amp;download=1\\\">{$this->ipsclass->lang[\'ac_download\']}</a> &middot; <a href=\\\"javascript:self.close();\\\">{$this->ipsclass->lang[\'ac_close\']}</a></td>\n		</tr>\n		<tr>\n			<td class=\\\"catend\\\" colspan=\\\"2\\\"><!-- no content --></td>\n		</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_card_download:desc::trigger:>\n//===========================================================================\nfunction show_card_download($name=\"\",$photo=\"\",$info=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<html>\n	<head>\n		<title>$name</title>\n		<style type=\\\"text/css\\\">\n			<!--CSS-->\n		</style>\n		<script language=\\\"javascript\\\" type=\\\"text/javascript\\\">\n		<!--\n		function redirect_to(where, closewin)\n		{\n		  document.location= \\\"{$this->ipsclass->base_url}\\\" + where;\n		  \n		  if (closewin == 1)\n		  {\n			  self.close();\n		  }\n		}\n		//-->\n		</script>\n	</head>\n	<body>\n	<div class=\\\"borderwrap\\\" style=\\\"text-align: left;\\\">\n	<div class=\\\"maintitle\\\">$name</div>\n	<table cellspacing=\\\"1\\\" class=\'row1\'>\n		<tr>\n			<th><b>{$this->ipsclass->lang[\'head_contact\']}</b></th>\n			<th><b>{$this->ipsclass->lang[\'photo_title\']}</b></th>\n		</tr>\n		<tr>\n			<td valign=\\\"middle\\\" class=\\\"nopad\\\">\n				<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n\" . (($this->ipsclass->vars[\'blog_default_view\'] != \"\" and $info[\'has_blog\'] == 1) ? (\"\n<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'myblog\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><b><a href=\'javascript:redirect_to(\\\"&amp;automodule=blog&amp;req=showblog&amp;mid={$info[\'mid\']}\\\",1);\'>{$this->ipsclass->lang[\'click_here\']}</a></b></td>\n					</tr>\n\") : (\"\")) . \"\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'email\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><b>{$info[\'email\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'website_addr\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><b>{$info[\'website\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'aim\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><{PRO_AIM}> <b>{$info[\'aim_name\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'icq\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><{PRO_ICQ}> <b>{$info[\'icq_number\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'yahoo\']}</td>\n							<td width=\\\"100%\\\" class=\\\"row1\\\"><{PRO_YIM}> <b>{$info[\'yahoo\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'msn\']}</td>\n						<td width=\\\"100%\\\" class=\\\"row1\\\"><{PRO_MSN}> <b>{$info[\'msn_name\']}</b></td>\n					</tr>\n					<tr>\n						<td nowrap=\\\"nowrap\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'pm\']}</b></td>\n						<td class=\\\"row1\\\"><b><a href=\\\"javascript:redirect_to(\'&amp;act=Msg&amp;CODE=4&amp;MID={$info[\'mid\']}\', 1);\\\">{$this->ipsclass->lang[\'click_here\']}</a></b></td>\n					</tr>\n				</table>\n			</td>\n			<td valign=\\\"middle\\\" class=\\\"row1\\\" align=\\\"center\\\">$photo</td>\n		</tr>\n		<tr>\n			<td class=\\\"catend\\\" colspan=\\\"2\\\"><!-- no content --></td>\n		</tr>\n	</table>\n   </div>\n	</body>\n</html>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_photo:desc::trigger:>\n//===========================================================================\nfunction show_photo($name=\"\",$photo=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\\\"photowrap\\\">\n	<div id=\\\"phototitle\\\">$name</div>\n	<div id=\\\"photoimg\\\">$photo</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_profile:desc::trigger:>\n//===========================================================================\nfunction show_profile($info=\"\",$auth_key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_profile.js\\\"></script>\n<script type=\'text/javascript\' src=\\\"{$this->ipsclass->vars[\'board_url\']}/jscripts/ips_profile_portal.js\\\"></script>\n<div class=\\\"borderwrap\\\">\n<div class=\\\"maintitle\\\" style=\'padding:4px\'>\n    <table width=\'100%\' cellspacing=\'0\' cellpadding=\'0\'>\n     <tr>\n      <td width=\'99%\'><div><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'head_title\']}: {$info[\'members_display_name\']}</div></td>\n      <td width=\'1%\' nowrap=\'nowrap\' align=\'right\'>\n      <div class=\'popmenubutton\' id=\'profile-options\'><a href=\'#profileoptions\'>{$this->ipsclass->lang[\'profile_options\']}</a> <img src=\'{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\' alt=\'V\' title=\'{$this->ipsclass->lang[\'open_menu\']}\' border=\'0\' /></div>\n      </td>\n     </tr>\n    </table>\n</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td width=\\\"1%\\\" nowrap=\\\"nowrap\\\" valign=\\\"top\\\" class=\\\"row1\\\">\n				<div id=\\\"profilename\\\">{$info[\'members_display_name\']}</div>\n				<br />\n				<div>{$info[\'avatar\']}</div>\n				<div>{$info[\'member_title\']}</div>\n				<div>{$info[\'member_rank_img\']}</div>\n				<br />\n				<div class=\\\"postdetails\\\">\n					{$this->ipsclass->lang[\'mgroup\']}: {$info[\'group_title\']}<br />\n					{$this->ipsclass->lang[\'joined\']}: {$info[\'joined\']}\n				</div>\n				\" . (($this->ipsclass->member[\'id\'] AND ( $info[\'mid\'] != $this->ipsclass->member[\'id\'])) ? (\"\n					<div id=\'pp-friend-wrap\'>\n						<!-- Add / remove friend added via JS -->\n					</div>\n				\") : (\"\")) . \"\n				<!--{WARN_LEVEL}-->\n			</td>\n			<td width=\\\"1%\\\" align=\\\"right\\\" class=\\\"row1\\\">{$info[\'photo\']}</td>\n		</tr>\n	</table>\n</div>\n<br />\n<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n	<tr>\n		<!-- STATS -->\n		<td width=\\\"50%\\\" valign=\\\"top\\\" style=\\\"padding-left: 0;\\\">\n			<table cellspacing=\\\"1\\\" width=\'100%\' class=\\\"borderwrap\\\">\n				<tr>\n					<td align=\\\"center\\\" colspan=\\\"2\\\" class=\\\"maintitle\\\">{$this->ipsclass->lang[\'active_stats\']}</td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'user_local_time\']}</b></td>\n					<td class=\\\"row1\\\">{$info[\'local_time\']}</td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'total_posts\']}</b></td>\n					<td width=\\\"70%\\\" class=\\\"row1\\\"><b>{$info[\'posts\']}</b>\n					<br />( {$info[\'posts_day\']} {$this->ipsclass->lang[\'posts_per_day\']} / {$info[\'total_pct\']}% {$this->ipsclass->lang[\'total_percent\']} )\n					</td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'fav_forum\']}</b></td>\n					<td class=\\\"row1\\\">\n\" . (($info[\'fav_id\']) ? (\"\n<a href=\\\"{$info[\'base_url\']}act=SF&amp;f={$info[\'fav_id\']}\\\">\n\") : (\"\")) . \"\n<b>{$info[\'fav_forum\']}</b>\n\" . (($info[\'fav_id\']) ? (\"\n</a>\n\") : (\"\")) . \"\n<br />( {$info[\'fav_posts\']} {$this->ipsclass->lang[\'fav_posts\']} / {$info[\'percent\']}% {$this->ipsclass->lang[\'fav_percent\']} )</td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'last_active\']}</b></td>\n					<td class=\\\"row1\\\">{$info[\'last_active\']}</td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'last_click\']}</b></td>\n					<td class=\\\"row1\\\">{$info[\'online_status_indicator\']} {$info[\'online_extra\']}</td>\n				</tr>\n			</table>\n		</td>\n		<!-- Communication -->\n		<td width=\\\"50%\\\" valign=\\\"top\\\" style=\\\"padding-right: 0;\\\">\n			<table cellspacing=\\\"1\\\" width=\'100%\' class=\\\"borderwrap\\\">\n				<tr>\n					<td align=\\\"center\\\" colspan=\\\"2\\\" class=\\\"maintitle\\\">{$this->ipsclass->lang[\'communicate\']}</td>\n				</tr>\n				<tr>\n					<td width=\\\"1%\\\" class=\\\"row1\\\"><{PRO_AIM}></td>\n					<td width=\\\"99%\\\" class=\\\"row2\\\">{$info[\'aim_name\']}</td>\n				</tr>\n				<tr>\n					<td width=\\\"1%\\\" class=\\\"row1\\\"><{PRO_YIM}></td>\n					<td width=\\\"99%\\\" class=\\\"row2\\\">{$info[\'yahoo\']}</td>\n				</tr>\n				<tr>\n					<td width=\\\"1%\\\" class=\\\"row1\\\"><{PRO_ICQ}></td>\n					<td width=\\\"99%\\\" class=\\\"row2\\\">{$info[\'icq_number\']}</td>\n				</tr>\n				<tr>\n					<td width=\\\"1%\\\" class=\\\"row1\\\"><{PRO_MSN}></td>\n					<td width=\\\"99%\\\" class=\\\"row2\\\">{$info[\'msn_name\']}</td>\n				</tr>\n				<tr>\n					<td width=\\\"1%\\\" class=\\\"row1\\\"><{PRO_CONTACT}></td>\n					<td width=\\\"99%\\\" class=\\\"row2\\\"><a href=\\\"{$info[\'base_url\']}act=Msg&amp;CODE=4&amp;MID={$info[\'mid\']}\\\">{$this->ipsclass->lang[\'pm\']}</a></td>\n				</tr>\n				<tr>\n					<td width=\\\"1%\\\" class=\\\"row1\\\"><{PRO_CONTACT}></td>\n					<td width=\\\"99%\\\" class=\\\"row2\\\">{$info[\'email\']}</td>\n				</tr>\n			</table>\n		</td>\n		<!-- END CONTENT ROW 1 -->\n		<!-- information -->\n	</tr>\n	<tr>\n		<td width=\\\"50%\\\" valign=\\\"top\\\" style=\\\"padding-left: 0;\\\">\n			<table cellspacing=\\\"1\\\" width=\'100%\' class=\\\"borderwrap\\\">\n				<tr>\n					<td align=\\\"center\\\" colspan=\\\"2\\\" class=\\\"maintitle\\\">{$this->ipsclass->lang[\'info\']}</td>\n				</tr>\n\" . (($this->ipsclass->vars[\'blog_default_view\'] != \"\" and $info[\'has_blog\'] == 1) ? (\"\n<tr>\n						<td class=\\\"row2\\\" width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'myblog\']}</b></td>\n						<td width=\\\"70%\\\" class=\\\"row1\\\"><a href=\'{$this->ipsclass->base_url}automodule=blog&amp;req=showblog&amp;mid={$info[\'mid\']}\'>{$this->ipsclass->lang[\'click_here\']}</a></td>\n					</tr>\n\") : (\"\")) . \"\n\" . (($info[\'has_gallery\'] == 1) ? (\"\n<tr>\n     <td class=\\\"row2\\\" width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'mygallery\']}</b></td>\n     <td width=\\\"70%\\\" class=\\\"row1\\\"><a href=\\\"{$this->ipsclass->base_url}automodule=gallery&amp;req=user&amp;user={$info[\'mid\']}\\\">{$this->ipsclass->lang[\'click_here\']}</a></td>\n</tr>\n\") : (\"\")) . \"\n				<tr>\n					<td class=\\\"row2\\\" width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'homepage\']}</b></td>\n					<td width=\\\"70%\\\" class=\\\"row1\\\">{$info[\'homepage\']}</td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'birthday\']}</b></td>\n					<td class=\\\"row1\\\">{$info[\'birthday\']}</td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'location\']}</b></td>\n					<td class=\\\"row1\\\">{$info[\'location\']}</td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'interests\']}</b></td>\n					<td class=\\\"row1\\\">{$info[\'interests\']}</td>\n				</tr>\n			</table>\n		</td>\n		<!-- Profile -->\n		<td width=\\\"50%\\\" valign=\\\"top\\\" style=\\\"padding-right: 0;\\\">\n			<table cellspacing=\\\"1\\\" width=\'100%\' class=\\\"borderwrap\\\">\n				<tr>\n					<td align=\\\"center\\\" colspan=\\\"2\\\" class=\\\"maintitle\\\">{$this->ipsclass->lang[\'head_addit\']}</td>\n				</tr>\n				<!--{CUSTOM.FIELDS}-->\n			</table>\n		</td>\n	</tr>\n</table>\n\" . (($info[\'signature\'] != \"\") ? (\"\n<br />\n<div class=\\\"borderwrap\\\">\n<table class=\'ipbtable\' width=\'100%\' cellspacing=\\\"1\\\">\n	<tr>\n		<td class=\\\"maintitle\\\">{$this->ipsclass->lang[\'siggie\']}</td>\n	</tr>\n	<tr>\n		<td class=\\\"row2\\\">\n			<div class=\\\"signature\\\">{$info[\'signature\']}</div>\n		</td>\n	</tr>\n</table>\n</div>\n\") : (\"\")) . \"\n<!--MEM OPTIONS-->\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n  var dname_title = \\\"{$this->ipsclass->lang[\'dname_title\']}\\\";\n  menu_build_menu(\n  \\\"profile-options\\\",\n  new Array(\n  			 \'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$info[\'mid\']}\'>{$this->ipsclass->lang[\'find_posts\']}</a>\\\",\n  			 \'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$info[\'mid\']}\'>{$this->ipsclass->lang[\'find_member_topics\']}</a>\\\",\n\" . (($this->ipsclass->member[\'id\'] != 0) ? (\"\n\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=ignore&amp;uid={$info[\'mid\']}\'>{$this->ipsclass->lang[\'ignore_user\']}</a>\\\",\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'g_is_supmod\'] == 1) ? (\"\n\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=mod&amp;CODE=editmember&amp;auth_key={$auth_key}&amp;mid={$info[\'mid\']}\'>{$this->ipsclass->lang[\'supmod_edit_member\']}</a>\\\",\n\") : (\"\")) . \"\n\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1) ? (\"\n\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'#\' onclick=\'return profile_dname_history({$info[\'mid\']})\'>{$this->ipsclass->lang[\'dname_title\']}</a>\\\",\n\") : (\"\")) . \"\n			\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Msg&amp;CODE=02&amp;MID={$info[\'mid\']}\'>{$this->ipsclass->lang[\'op_add_pm_to_block\']}</a>\\\"\n		) );\n//]]>\nips_personal_portal.settings[\'allow_rating\']      = parseInt(\\\"{$this->ipsclass->vars[\'pp_allow_member_rate\']}\\\");\nips_personal_portal.settings[\'member_id\']         = parseInt(\\\"{$info[\'mid\']}\\\");\nips_personal_portal.settings[\'is_super_mod\']      = parseInt(\\\"{$info[\'g_is_supmod\']}\\\");\nips_personal_portal.settings[\'viewer_id\']         = parseInt(\\\"{$this->ipsclass->member[\'id\']}\\\");\nips_personal_portal.settings[\'edit_allowed\']	  = parseInt(\\\"{$this->ipsclass->member[\'g_edit_profile\']}\\\");\nips_personal_portal.settings[\'img_base_url\']      = ipb_var_image_url + \'/folder_profile_portal\';\nips_personal_portal.settings[\'img_menu_icon\']     = \\\"{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\\\";\nips_personal_portal.settings[\'img_friend_remove\'] = \\\"{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\\\";\nips_personal_portal.settings[\'img_friend_add\']    = \\\"{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_add_small.png\\\";\n// Languages\nips_personal_portal.languages[\'rate_me\']          = \'<span class=\\\"desc\\\">{$this->ipsclass->lang[\'m_rate_me\']}</span>\';\nips_personal_portal.languages[\'friend_add\']       = \'{$this->ipsclass->lang[\'m_friend_add\']}\';\nips_personal_portal.languages[\'friend_remove\']    = \'{$this->ipsclass->lang[\'m_friend_remove\']}\';\nips_personal_portal.languages[\'img_alt_rate\']     = \'{$this->ipsclass->lang[\'js_img_alt_rate\']}\';\nips_personal_portal.languages[\'gender_male\']      = \'{$this->ipsclass->lang[\'js_gender_male\']}\';\nips_personal_portal.languages[\'gender_female\']    = \'{$this->ipsclass->lang[\'js_gender_female\']}\';\nips_personal_portal.languages[\'gender_mystery\']   = \'{$this->ipsclass->lang[\'js_gender_mystery\']}\';\nips_personal_portal.languages[\'loading_tab\']      = \'{$this->ipsclass->lang[\'js_loading_tab\']}\';\nips_personal_portal.languages[\'deleting_comment\'] = \'{$this->ipsclass->lang[\'js_deleting_comment\']}\';\nips_personal_portal.languages[\'saving_comment\']   = \'{$this->ipsclass->lang[\'js_saving_comment\']}\';\n// INIT\nips_personal_portal.init();\n</script>\n\" . ((is_array( $this->ipsclass->member[\'_cache\'][\'friends\'] ) AND in_array( $info[\'mid\'], array_keys( $this->ipsclass->member[\'_cache\'][\'friends\'] ) )) ? (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		ips_personal_portal.show_friend_add_or_remove( 0 );\n	//]]>