('591b67411fc7c2e2160fd1bd2e91270b','skin_mlist','class skin_mlist_3 {\n\n var $ipsclass;\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_list_show:desc::trigger:>\n//===========================================================================\nfunction member_list_show($members=\"\",$pages=\"\",$quickjump=\"\",$checked=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- SEARCH FORM -->\n<form action=\\\"{$this->ipsclass->base_url}act=members\\\" method=\\\"post\\\">\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\" style=\'height:20px\'>\n			<div style=\\\"float: right;\\\"><input type=\\\"button\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'toggle_more\']}\\\" onclick=\\\"toggleview(\'mlist\');\\\" /></div>\n			<div style=\'padding-top:4px\'>{$this->ipsclass->lang[\'title_search\']}</div>\n		</div>\n		<div class=\\\"tablepad\\\" align=\\\"center\\\">\n			<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n				<tr>\n					<td width=\\\"35%\\\" valign=\\\"top\\\">\n						<fieldset style=\'height:45px\'>\n						<legend><b>{$this->ipsclass->lang[\'s_name\']}</b></legend>\n							<select name=\\\"name_box\\\">\n								<option value=\\\"begins\\\">{$this->ipsclass->lang[\'s_begins\']}</option>\n								<option value=\\\"contains\\\">{$this->ipsclass->lang[\'s_contains\']}</option>\n							</select>&nbsp;&nbsp;<input type=\\\"text\\\" size=\\\"15\\\" name=\\\"name\\\" value=\\\"{$this->ipsclass->input[\'name\']}\\\" />\n						</fieldset>\n					</td>\n					<td width=\\\"25%\\\" valign=\\\"top\\\">\n						<fieldset style=\'height:45px\'>\n						<legend><b>{$this->ipsclass->lang[\'member_photo\']}</b></legend>\n							<input class=\'checkbox\' type=\\\"checkbox\\\" value=\\\"1\\\" name=\\\"photoonly\\\" $checked /> {$this->ipsclass->lang[\'photo_only\']}\n						</fieldset>\n					</td>\n					<td width=\\\"15%\\\" valign=\\\"top\\\">\n						<fieldset style=\'height:45px\'>\n						<legend><b>{$this->ipsclass->lang[\'m_gender_s\']}</b></legend>\n							<select name=\'pp_gender\'>\n								\" . ((! $this->ipsclass->input[\'pp_gender\'] OR $this->ipsclass->input[\'pp_gender\'] == \'any\') ? (\"\n									<option value=\'any\' selected=\'selected\'>{$this->ipsclass->lang[\'m_gender_a\']}</option>\n								\") : (\"\n									<option value=\'any\'>{$this->ipsclass->lang[\'m_gender_a\']}</option>\n								\")) . \"\n								\" . (($this->ipsclass->input[\'pp_gender\'] == \'male\') ? (\"\n									<option value=\'male\' selected=\'selected\'>{$this->ipsclass->lang[\'m_gender_m\']}</option>\n								\") : (\"\n									<option value=\'male\'>{$this->ipsclass->lang[\'m_gender_m\']}</option>\n								\")) . \"\n								\" . (($this->ipsclass->input[\'pp_gender\'] == \'female\') ? (\"\n									<option value=\'female\' selected=\'selected\'>{$this->ipsclass->lang[\'m_gender_f\']}</option>\n								\") : (\"\n									<option value=\'female\'>{$this->ipsclass->lang[\'m_gender_f\']}</option>\n								\")) . \"\n							</select>\n						</fieldset>\n					</td>\n					\" . (($this->ipsclass->vars[\'pp_allow_member_rate\']) ? (\"\n					<td width=\\\"25%\\\" valign=\\\"top\\\">\n						<fieldset style=\'height:45px\'>\n						<legend><b>{$this->ipsclass->lang[\'m_rating\']}</b></legend>\n							{$this->ipsclass->lang[\'m_rating_morethan\']}\n							<select name=\'pp_rating_real\'>\n								\" . ((! $this->ipsclass->input[\'pp_rating_real\']) ? (\"\n									<option value=\'0\' selected=\'selected\'>0</option>\n								\") : (\"\n									<option value=\'0\'>0</option>\n								\")) . \"\n								\" . (($this->ipsclass->input[\'pp_rating_real\'] == 1) ? (\"\n									<option value=\'1\' selected=\'selected\'>1</option>\n								\") : (\"\n									<option value=\'1\'>1</option>\n								\")) . \"\n								\" . (($this->ipsclass->input[\'pp_rating_real\'] == 2) ? (\"\n									<option value=\'2\' selected=\'selected\'>2</option>\n								\") : (\"\n									<option value=\'2\'>2</option>\n								\")) . \"\n								\" . (($this->ipsclass->input[\'pp_rating_real\'] == 3) ? (\"\n									<option value=\'3\' selected=\'selected\'>3</option>\n								\") : (\"\n									<option value=\'3\'>3</option>\n								\")) . \"\n								\" . (($this->ipsclass->input[\'pp_rating_real\'] == 4) ? (\"\n									<option value=\'4\' selected=\'selected\'>4</option>\n								\") : (\"\n									<option value=\'4\'>4</option>\n								\")) . \"\n							</select>\n						</fieldset>\n					</td>\n					\") : (\"\")) . \"\n				</tr>\n			</table>\n			<!-- START HIDE -->\n	<div style=\\\"display: none;\\\" id=\\\"mlist\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				\n				<td width=\\\"50%\\\" valign=\\\"top\\\">\n					<fieldset>\n					<legend><b>{$this->ipsclass->lang[\'s_homepage\']}</b></legend>\n						<input type=\\\"text\\\" size=\\\"50\\\" name=\\\"homepage\\\" value=\\\"{$this->ipsclass->input[\'homepage\']}\\\" />\n					</fieldset>\n				</td>\n				<td width=\\\"50%\\\" valign=\\\"top\\\">\n					<fieldset>\n						<legend><b>{$this->ipsclass->lang[\'s_signature\']}</b></legend>\n							<input type=\\\"text\\\" size=\\\"50\\\" name=\\\"signature\\\" value=\\\"{$this->ipsclass->input[\'signature\']}\\\" />\n					</fieldset>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"50%\\\" valign=\\\"top\\\">\n					<fieldset>\n					<legend><b>{$this->ipsclass->lang[\'title_messengers\']}</b></legend>\n						<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td width=\\\"60%\\\">{$this->ipsclass->lang[\'s_aim\']}</td>\n								<td width=\\\"40%\\\"><input type=\\\"text\\\" size=\\\"20\\\" name=\\\"aim\\\" value=\\\"{$this->ipsclass->input[\'aim\']}\\\" /></td>\n							</tr>\n							<tr>\n								<td width=\\\"60%\\\">{$this->ipsclass->lang[\'s_yahoo\']}</td>\n								<td width=\\\"40%\\\"><input type=\\\"text\\\" size=\\\"20\\\" name=\\\"yahoo\\\" value=\\\"{$this->ipsclass->input[\'yahoo\']}\\\" /></td>\n							</tr>\n							<tr>\n								<td width=\\\"60%\\\">{$this->ipsclass->lang[\'s_icq\']}</td>\n								<td width=\\\"40%\\\"><input type=\\\"text\\\" size=\\\"20\\\" name=\\\"icq\\\" value=\\\"{$this->ipsclass->input[\'icq\']}\\\" /></td>\n							</tr>\n							<tr>\n								<td width=\\\"60%\\\">{$this->ipsclass->lang[\'s_msn\']}</td>\n								<td width=\\\"40%\\\"><input type=\\\"text\\\" size=\\\"20\\\" name=\\\"msn\\\" value=\\\"{$this->ipsclass->input[\'msn\']}\\\" /></td>\n							</tr>\n						</table>\n					</fieldset>\n				</td>\n				<td width=\\\"50%\\\" valign=\\\"top\\\">\n					<fieldset>\n					<legend><b>{$this->ipsclass->lang[\'title_date\']}</b></legend>\n						<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td width=\\\"30%\\\">{$this->ipsclass->lang[\'s_posts\']}</td>\n								<td width=\\\"70%\\\">\n									<select class=\\\"dropdown\\\" name=\\\"posts_ltmt\\\">\n										<option value=\\\"lt\\\">{$this->ipsclass->lang[\'s_lessthan\']}</option>\n										<option value=\\\"mt\\\">{$this->ipsclass->lang[\'s_morethan\']}</option>\n									</select>\n									&nbsp;<input type=\\\"text\\\" size=\\\"15\\\" name=\\\"posts\\\" value=\\\"{$this->ipsclass->input[\'posts\']}\\\" />\n								</td>\n							</tr>\n							<tr>\n								<td width=\\\"30%\\\">{$this->ipsclass->lang[\'s_joined\']}</td>\n								<td width=\\\"70%\\\">\n									<select class=\\\"dropdown\\\" name=\\\"joined_ltmt\\\">\n										<option value=\\\"lt\\\">{$this->ipsclass->lang[\'s_lessthan\']}</option>\n										<option value=\\\"mt\\\">{$this->ipsclass->lang[\'s_morethan\']}</option>\n									</select>\n									&nbsp;<input type=\\\"text\\\" size=\\\"10\\\" name=\\\"joined\\\" value=\\\"{$this->ipsclass->input[\'joined\']}\\\" /> <span class=\\\"desc\\\">{$this->ipsclass->lang[\'s_dateformat\']}</span>\n								</td>\n							</tr>\n							<tr>\n								<td width=\\\"30%\\\">{$this->ipsclass->lang[\'s_lastpost\']}</td>\n								<td width=\\\"70%\\\">\n									<select class=\\\"dropdown\\\" name=\\\"lastpost_ltmt\\\">\n										<option value=\\\"lt\\\">{$this->ipsclass->lang[\'s_lessthan\']}</option>\n										<option value=\\\"mt\\\">{$this->ipsclass->lang[\'s_morethan\']}</option>\n									</select>\n									&nbsp;<input type=\\\"text\\\" size=\\\"10\\\" name=\\\"lastpost\\\" value=\\\"{$this->ipsclass->input[\'lastpost\']}\\\" /> <span class=\\\"desc\\\">{$this->ipsclass->lang[\'s_dateformat\']}</span>\n								</td>\n							</tr>\n							<tr>\n								<td width=\\\"30%\\\">{$this->ipsclass->lang[\'s_lastvisit\']}</td>\n								<td width=\\\"70%\\\">\n									<select class=\\\"dropdown\\\" name=\\\"lastvisit_ltmt\\\">\n										<option value=\\\"lt\\\">{$this->ipsclass->lang[\'s_lessthan\']}</option>\n										<option value=\\\"mt\\\">{$this->ipsclass->lang[\'s_morethan\']}</option>\n									</select>\n									&nbsp;<input type=\\\"text\\\" size=\\\"10\\\" name=\\\"lastvisit\\\" value=\\\"{$this->ipsclass->input[\'lastvisit\']}\\\" /> <span class=\\\"desc\\\">{$this->ipsclass->lang[\'s_dateformat\']}</span>\n								</td>\n							</tr>\n						</table>\n					</fieldset>\n				</td>\n			</tr>\n		</table>\n		<!--CUSTOM_FIELDS-->\n	</div>\n		<!-- END HIDE -->\n	</div>\n		<div align=\\\"center\\\" class=\\\"formbuttonrow\\\">{$this->ipsclass->lang[\'sorting_text\']}&nbsp;<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'sort_submit\']}\\\" class=\\\"button\\\" /></div>\n	</div>\n</form>\n<!--FORM-->\n<br />\n<div>{$pages}</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\" style=\'height:20px\'>\n		<div style=\\\"float: right;\\\">\n			<form name=\\\"quickjumpform\\\" action=\\\"{$this->ipsclass->base_url}act=members\\\" method=\\\"post\\\">\n				<input type=\\\"submit\\\" name=\\\"qjbutton\\\" value=\\\"{$this->ipsclass->lang[\'button_quickjump\']}\\\" class=\\\"button\\\" />\n				<select name=\\\"quickjump\\\">\n					{$quickjump}\n				</select>\n			</form>\n		</div>\n		<div style=\'padding-top:3px\'>{$this->ipsclass->lang[\'page_title\']}</div>\n	</div>\n	\n	<div id=\'pp-iframe-wrap\' class=\'pp-contentbox-back\'>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n	<tr>\n	\" . ((is_array( $members ) and count( $members )) ? (\"\n		\".$this->__foreach_loop__id_4903095b251ca637641587($members,$pages,$quickjump,$checked).\"\n		</tr>\n	\") : (\"\n		<tr>\n			<td class=\\\"row2\\\" colspan=\\\"7\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'no_results\']}</td>\n		</tr>\n	\")) . \"\n	</table>\n	</div>\n</div>\n<br />\n<div>$pages</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_4903095b251ca637641587($members=\"\",$pages=\"\",$quickjump=\"\",$checked=\"\")\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $members as $member )\n	{\n		\n		$_ips___x_retval .= \"\n			<!-- Entry for {$member[\'members_display_name\']} -->\n			\" . (($member[\'_new_row\']) ? (\"\n				</tr>\n				<tr>\n			\") : (\"\")) . \"\n			\" . (($member[\'_blank\']) ? (\"\n				<td valign=\'top\' width=\'25%\'>&nbsp;</td>\n			\") : (\"\n				<td class=\'pp-contentbox-entry-noheight\' valign=\'top\' width=\'20%\'>\n					<div id=\\\"post-member-{$member[\'id\']}\\\" class=\'popmenubutton-new-out\' style=\'height:36px; margin-bottom:3px\'>\n						<div class=\'pp-image-mini-wrap-floatright\' style=\'margin-right:10px\'><img src=\'{$member[\'pp_mini_photo\']}\' width=\'{$member[\'pp_mini_width\']}\' height=\'{$member[\'pp_mini_height\']}\' alt=\'\' /></div>\n						<div style=\'margin-top:4px\'>\n							{$member[\'_pp_gender_image\']}<strong><a href=\\\"{$this->ipsclass->base_url}showuser={$member[\'id\']}\\\">{$member[\'members_display_name_short\']}</a></strong>\n							\" . (($this->ipsclass->vars[\'pp_allow_member_rate\']) ? (\"\n								<div style=\'margin-left:15px;\'>\n									<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/rating_{$member[\'_pp_rating_real\']}_mini.gif\\\" alt=\'{$this->ipsclass->lang[\'rating_prefix\']}: {$member[\'_pp_rating_real\']}\' style=\'vertical-align:middle\' border=\'0\' />\n								</div>\n							\") : (\"\")) . \"\n						</div>\n					</div>\n					<!-- member menu -->\n					<div class=\'popupmenu-new\' id=\'post-member-{$member[\'id\']}_menu\' style=\'display:none;width:230px;\'>\n						<div class=\'popupmenu-item-last\'>\n							\" . (($member[\'members_display_name_short\'] != $member[\'_members_display_name\']) ? (\"\n								<div class=\'popupmenu-item\'><strong>{$member[\'members_display_name\']}</strong></div>\n							\") : (\"\")) . \"\n							<div class=\'pp-image-thumb-wrap-floatright\'><img src=\'{$member[\'pp_thumb_photo\']}\' width=\'{$member[\'pp_thumb_width\']}\' height=\'{$member[\'pp_thumb_height\']}\' alt=\'\' /></div>\n							<div class=\'popupmenu-item\'>\n								{$member[\'_pp_gender_image\']} <a href=\\\"{$this->ipsclass->base_url}showuser={$member[\'id\']}\\\">{$this->ipsclass->lang[\'m_view_profile\']}</a>\n							</div>\n							\" . (($this->ipsclass->member[\'id\']) ? (\"\n								<div class=\'popupmenu-item\'>\n									\" . ((in_array( $member[\'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={$member[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\"); return false\'>{$this->ipsclass->lang[\'m_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={$member[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\\\"); return false\'>{$this->ipsclass->lang[\'m_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={$member[\'id\']}\\\">{$this->ipsclass->lang[\'m_send_message\']}</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={$member[\'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={$member[\'id\']}\'>{$this->ipsclass->lang[\'m_find_posts\']}</a>\n							</div>\n						</div>\n					</div>\n					<!-- member menu -->\n					<script type=\\\"text/javascript\\\">\n						ipsmenu.register( \\\"post-member-{$member[\'id\']}\\\", \'\', \'popmenubutton-new\', \'popmenubutton-new-out\' );\n					</script>\n				\n					<strong>{$member[\'member_rank_img\']}</strong>\n					<div class=\'pp-tiny-text\'>\n						{$member[\'_pp_online_image\']}{$member[\'_last_active\']}\n						<br />{$member[\'group\']}\n						<br /><b>{$this->ipsclass->lang[\'member_joined\']}:</b> {$member[\'joined\']}\n						<br /><b>{$this->ipsclass->lang[\'member_posts\']}:</b> {$member[\'posts\']}\n						<br /><b>{$this->ipsclass->lang[\'m_views\']}:</b> {$member[\'_pp_profile_views\']}\n					</div>\n				</td>\n			\")) . \"\n			<!-- End of Entry -->\n		\";\n	}\n	\n	return $_ips___x_retval;\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:mlist_custom_field_dropdown:desc::trigger:>\n//===========================================================================\nfunction mlist_custom_field_dropdown($name=\"\",$options=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<select name=\\\"$name\\\">\n	<option value=\\\"\\\" selected=\\\"selected\\\">{$this->ipsclass->lang[\'s_any\']}</option>\n	$options\n</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mlist_custom_field_entry:desc::trigger:>\n//===========================================================================\nfunction mlist_custom_field_entry($title=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td valign=\\\"top\\\"><b>$title</b></td>\n	<td>$content</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mlist_custom_field_textinput:desc::trigger:>\n//===========================================================================\nfunction mlist_custom_field_textinput($name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input type=\\\"text\\\" size=\\\"50\\\" name=\\\"$name\\\" value=\\\"\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mlist_custom_field_wrap:desc::trigger:>\n//===========================================================================\nfunction mlist_custom_field_wrap($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<fieldset>\n 	<legend><b>{$this->ipsclass->lang[\'title_options\']}</b></legend>\n 		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n 			<tr>\n 				<td>$data</td>\n 			</tr>\n		</table>\n	</fieldset>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mlist_quick_jump_entry:desc::trigger:>\n//===========================================================================\nfunction mlist_quick_jump_entry($letter=\"\",$selected=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\\\"$letter\\\"{$selected}>$letter</option>\";\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}',3),('d895612958acb7aeafc764d3b3f4b158','skin_mod','class skin_mod_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:delete_js:desc::trigger:>\n//===========================================================================\nfunction delete_js() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\\\"JavaScript\\\" type=\\\"text/javascript\\\">\n	<!--\n	function ValidateForm() {\n		document.REPLIER.submit.disabled = true;\n		return true;\n	}\n	-->\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:edit_user_form:desc::trigger:>\n//===========================================================================\nfunction edit_user_form($profile=\"\",$custom_fields=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'cp_em_title\']}: {$profile[\'members_display_name\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td valign=\\\"top\\\" width=\\\"50%\\\" class=\'row2\'>\n					<fieldset>\n					<legend><b>{$this->ipsclass->lang[\'cp_em_sub_main\']}</b></legend>\n						<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td width=\\\"40%\\\" class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_remove_av\']}</td>\n								<td width=\\\"60%\\\" class=\\\"row1\\\">\n									<select name=\\\"avatar\\\">\n										<option value=\\\"0\\\">{$this->ipsclass->lang[\'no\']}</option>\n										<option value=\\\"1\\\">{$this->ipsclass->lang[\'yes\']}</option>\n									</select>\n								</td>\n							</tr>\n							<tr>\n								<td class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_remove_photo\']}</td>\n								<td class=\\\"row1\\\">\n									<select name=\\\"photo\\\">\n										<option value=\\\"0\\\">{$this->ipsclass->lang[\'no\']}</option>\n										<option value=\\\"1\\\">{$this->ipsclass->lang[\'yes\']}</option>\n									</select>\n								</td>\n							</tr>\n							<tr>\n								<td class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_edit_website\']}</td>\n								<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\\\"35\\\" name=\\\"website\\\" value=\\\"{$profile[\'website\']}\\\" /></td>\n							</tr>\n							<tr>\n								<td class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_edit_location\']}</td>\n								<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\\\"35\\\" name=\\\"location\\\" value=\\\"{$profile[\'location\']}\\\" /></td>\n							</tr>\n							<tr>\n								<td class=\\\"row1\\\" valign=\\\"top\\\">{$this->ipsclass->lang[\'cp_edit_interests\']}</td>\n								<td class=\\\"row1\\\"><textarea cols=\\\"35\\\" rows=\\\"3\\\" name=\\\"interests\\\">{$profile[\'interests\']}</textarea></td>\n							</tr>\n							<tr>\n								<td class=\\\"row1\\\" valign=\\\"top\\\">{$this->ipsclass->lang[\'cp_edit_signature\']}</td>\n								<td class=\\\"row1\\\"><textarea cols=\\\"35\\\" rows=\\\"5\\\" name=\\\"signature\\\">{$profile[\'signature\']}</textarea></td>\n							</tr>\n						</table>\n					</fieldset>\n				</td>\n				<td valign=\\\"top\\\" width=\\\"50%\\\" class=\'row2\'>\n					<fieldset>\n					<legend><b>{$this->ipsclass->lang[\'cp_em_sub_other\']}</b></legend>\n						<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n							<tr>\n								<td class=\\\"row1\\\" width=\\\"40%\\\">{$this->ipsclass->lang[\'cp_em_yahoo\']}</td>\n								<td class=\\\"row1\\\" width=\\\"60%\\\"><input type=\\\"text\\\" size=\\\"35\\\" name=\\\"yahoo\\\" value=\\\"{$profile[\'yahoo\']}\\\" /></td>\n							</tr>\n							<tr>\n								<td class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_em_aim\']}</td>\n								<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\\\"35\\\" name=\\\"aim_name\\\" value=\\\"{$profile[\'aim_name\']}\\\" /></td>\n							</tr>\n							<tr>\n								<td class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_em_icq\']}</td>\n								<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\\\"35\\\" name=\\\"icq_number\\\" value=\\\"{$profile[\'icq_number\']}\\\" /></td>\n							</tr>\n							<tr>\n								<td class=\\\"row1\\\">{$this->ipsclass->lang[\'cp_em_msn\']}</td>\n								<td class=\\\"row1\\\"><input type=\\\"text\\\" size=\\\"35\\\" name=\\\"msnname\\\" value=\\\"{$profile[\'msnname\']}\\\" /></td>\n							</tr>\n\" . (($custom_fields != \"\") ? (\"\n$custom_fields\n\") : (\"\")) . \"\n						</table>\n					</fieldset>\n				</td>\n			</tr>\n		</table>\n		<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cp_em_submit\']}\\\" /></div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_form:desc::trigger:>\n//===========================================================================\nfunction end_form($action=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input type=\\\"submit\\\" class=\'button\' name=\\\"submit\\\" value=\\\"$action\\\" /></div>\n	</div>\n</form>\";\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\\\">$options</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 class=\\\"row1\\\" valign=\\\"top\\\"><b>$title</b><br />$desc</td>\n		<td class=\\\"row1\\\">$content</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=\\\"35\\\" name=\\\"$name\\\" value=\\\"$value\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_jump:desc::trigger:>\n//===========================================================================\nfunction forum_jump($data=\"\",$menu_extra=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n	<div align=\\\"right\\\">{$data}</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:merge_body:desc::trigger:>\n//===========================================================================\nfunction merge_body($title=\"\",$desc=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"pformleftw\\\">{$this->ipsclass->lang[\'mt_new_title\']}</td>\n			<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"250\\\" name=\\\"title\\\" value=\\\"$title\\\" /></td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleftw\\\">{$this->ipsclass->lang[\'mt_new_desc\']}</td>\n			<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"250\\\" name=\\\"desc\\\" value=\\\"$desc\\\" /></td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleftw\\\">{$this->ipsclass->lang[\'mt_tid\']}</td>\n			<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"40\\\" name=\\\"topic_url\\\" value=\\\"\\\" /></td>\n		</tr>\n	</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:merge_post_form:desc::trigger:>\n//===========================================================================\nfunction merge_post_form($post=\"\",$pid=\"\",$author=\"\",$auth_key=\"\",$upload=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}act=mod&amp;CODE=postchoice&amp;tact=merge&amp;checked=1\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"mod\\\" />\n	<input type=\\\"hidden\\\" name=\\\"selectedpids\\\" value=\\\"{$this->ipsclass->input[\'selectedpids\']}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"{$auth_key}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"t\\\" value=\\\"{$this->ipsclass->input[\'t\']}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"{$this->ipsclass->input[\'f\']}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n	\n		<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'cm_title\']}</div>\n			<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n				<tr>\n					<td width=\\\"35%\\\" class=\\\"row2\\\"><b>{$this->ipsclass->lang[\'cm_post\']}</b></td>\n					<td width=\\\"65%\\\" class=\\\"row2\\\"><select name=\\\"postdate\\\" class=\\\"dropdown\\\">{$pid}</select></td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\"><b>{$this->ipsclass->lang[\'cm_author\']}</b></td>\n					<td class=\\\"row2\\\"><select name=\\\"postauthor\\\" class=\\\"dropdown\\\">{$author}</select></td>\n				</tr>\n				<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'cm_text\']}</b></td>\n					<td class=\\\"row2\\\"><textarea cols=\\\"70\\\" rows=\\\"20\\\" name=\\\"Post\\\" class=\\\"textarea\\\">$post</textarea></td>\n				</tr>\n\" . (($upload != \"\") ? (\"\n<tr>\n					<td class=\\\"row2\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'cm_attach\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'cm_attach2\']}</div></td>\n					<td class=\\\"row2\\\">\n						<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n							$upload\n						</table>\n					</td>\n				</tr>\n\") : (\"\")) . \"\n			</table>\n			<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cm_submit\']}\\\" /></div>\n		</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_exp:desc::trigger:>\n//===========================================================================\nfunction mod_exp($words=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">$words</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_log_end:desc::trigger:>\n//===========================================================================\nfunction mod_log_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_log_none:desc::trigger:>\n//===========================================================================\nfunction mod_log_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"pformright\\\" colspan=\\\"3\\\" align=\\\"center\\\"><i>{$this->ipsclass->lang[\'ml_none\']}</i></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_log_row:desc::trigger:>\n//===========================================================================\nfunction mod_log_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"pformright\\\">{$data[\'member\']}</td>\n	<td class=\\\"pformright\\\">{$data[\'action\']}</td>\n	<td class=\\\"pformright\\\">{$data[\'date\']}</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_log_start:desc::trigger:>\n//===========================================================================\nfunction mod_log_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n	<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'ml_title\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<td class=\\\"formsubtitle\\\" width=\\\"30%\\\"><b>{$this->ipsclass->lang[\'ml_name\']}</b></td>\n				<td class=\\\"formsubtitle\\\" width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'ml_desc\']}</b></td>\n				<td class=\\\"formsubtitle\\\" width=\\\"20%\\\"><b>{$this->ipsclass->lang[\'ml_date\']}</b></td>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_simple_page:desc::trigger:>\n//===========================================================================\nfunction mod_simple_page($title=\"\",$msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">$title</div>\n		<div class=\\\"tablepad\\\">\n			$msg\n			<br /><br />\n			<div align=\\\"center\\\"><a href=\\\"#\\\" onclick=\\\"window.close();\\\">{$this->ipsclass->lang[\'cpp_close\']}</a></div>\n		</div>\n	</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:move_checked_form_end:desc::trigger:>\n//===========================================================================\nfunction move_checked_form_end($jump_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n			<div align=\\\"center\\\" class=\\\"tablepad\\\"><b>{$this->ipsclass->lang[\'cp_tmove_to\']}</b>&nbsp;&nbsp;<select name=\\\"df\\\">$jump_html</select></div>\n			<div align=\\\"center\\\" class=\\\"formsubtitle\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'cp_tmove_end\']}\\\" /></div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:move_checked_form_entry:desc::trigger:>\n//===========================================================================\nfunction move_checked_form_entry($tid=\"\",$title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"row1\\\" width=\\\"40%\\\" align=\\\"right\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"TID_$tid\\\" value=\\\"1\\\" checked=\\\"checked\\\" /></td>\n	<td class=\\\"row1\\\" width=\\\"60%\\\"><b>$title</b></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:move_checked_form_start:desc::trigger:>\n//===========================================================================\nfunction move_checked_form_start($forum_name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'cp_tmove_start\']} $forum_name</div>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td class=\\\"formsubtitle\\\" colspan=\'2\' align=\'center\'><b>{$this->ipsclass->lang[\'leave_link\']}</b>&nbsp; <select name=\\\"leave\\\"><option value=\\\"y\\\" selected=\\\"selected\\\">{$this->ipsclass->lang[\'yes\']}</option><option value=\\\"n\\\">{$this->ipsclass->lang[\'no\']}</option></select></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:move_form:desc::trigger:>\n//===========================================================================\nfunction move_form($jhtml=\"\",$forum_name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[move_from]} <b>$forum_name</b> {$this->ipsclass->lang[to]}</b></td>\n			<td class=\\\"pformright\\\"><select name=\\\"move_id\\\">$jhtml</select></td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'leave_link\']}</b></td>\n			<td class=\\\"pformright\\\"><select name=\\\"leave\\\"><option value=\\\"y\\\" selected=\\\"selected\\\">{$this->ipsclass->lang[\'yes\']}</option><option value=\\\"n\\\">{$this->ipsclass->lang[\'no\']}</option></select></td>\n		</tr>\n	</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:move_post_body:desc::trigger:>\n//===========================================================================\nfunction move_post_body() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"row2\\\" width=\\\"40%\\\"><b>{$this->ipsclass->lang[\'cmp_topic\']}</b><div class=\\\"desc\\\">{$this->ipsclass->lang[\'cmp_topic2\']}</div></td>\n			<td class=\\\"row2\\\" width=\\\"60%\\\"><input type=\\\"text\\\" size=\\\"50\\\" name=\\\"topic_url\\\" value=\\\"\\\" /></td>\n		</tr>\n	</table>\n</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'st_post\']}</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:prune_splash:desc::trigger:>\n//===========================================================================\nfunction prune_splash($forum=\"\",$forums_html=\"\",$select=\"\",$auth_key=\"\",$confirm_data=\"\",$complete_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<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:210px;display:none;z-index:1\'></div>\n<div class=\\\"borderwrap\\\" style=\'text-align:left\'>\n\" . (($confirm_data[\'show\'] == 1) ? (\"\n<div class=\\\"maintitle\\\">\n	 <div>{$this->ipsclass->lang[\'mpt_confirm\']}</div>\n </div>\n <div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cp_check_result\']}</div>\n	 <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		 <tr>\n			 <td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'cp_total_topics\']}</b></td>\n			 <td class=\\\"pformright\\\">{$confirm_data[\'tcount\']}</td>\n		 </tr>\n		 <tr>\n			 <td class=\\\"pformleftw\\\"><span>{$this->ipsclass->lang[\'cp_total_match\']}</span></td>\n			 <td class=\\\"pformright\\\"><span>{$confirm_data[\'count\']}</span></td>\n		 </tr>\n	 </table>\n	 \n	 <form action=\\\"{$this->ipsclass->base_url}{$confirm_data[\'link\']}\\\" method=\\\"post\\\">\n		 <input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"$auth_key\\\" />\n		 <div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$confirm_data[\'link_text\']}\\\" /></div>\n	 </form>\n </div>\n\") : (\"\")) . \"\n\" . (($complete_html != \'\') ? (\"\n{$complete_html}\n\") : (\"\")) . \"\n<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'cp_prune\']} {$forum[\'name\']}</div>\n<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'mpt_help\']}</div>\n<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'cp_prune_text\']}</div>\n<form name=\\\"ibform\\\" id=\'postingform\' 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=\\\"mod\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"prune_start\\\" />\n	<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"{$forum[\'id\']}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"$auth_key\\\" />\n	<input type=\\\"hidden\\\" name=\\\"check\\\" value=\\\"1\\\" />\n	\n		<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'mpt_title\']}</div>\n		<div class=\\\"tablepad\\\">\n		<fieldset>\n		 <legend><strong>{$this->ipsclass->lang[\'cp_action\']}</strong></legend>\n		 <table class=\'ipbtable\' cellspacing=\\\"0\\\" cellpadding=\'4\'>\n		 <tr>\n		  <td>{$this->ipsclass->lang[\'cp_prune_action2\']}</td>\n		  <td><select name=\\\"df\\\">$forums_html</select></td>\n		 </tr>\n		 <tr>\n		  <td width=\'35%\'>{$this->ipsclass->lang[\'cp_per_go\']}</td>\n		  <td width=\'65%\'><input type=\\\"text\\\" size=\\\"5\\\" name=\\\"pergo\\\" value=\\\"{$this->ipsclass->input[\'pergo\']}\\\" /></td>\n		 </tr>\n		 </table>\n		  \n		</fieldset>\n		\n		<br />\n		<fieldset>\n		 <legend><strong>{$this->ipsclass->lang[\'cp_prune_days\']}</strong></legend>\n		 <table class=\'ipbtable\' cellspacing=\\\"0\\\" cellpadding=\'4\'>\n		 <tr>\n		  <td>{$this->ipsclass->lang[\'cp_prune_member\']}</td>\n		  <td><input type=\\\"text\\\" size=\\\"30\\\" name=\\\"member\\\" id=\'entered_name\' autocomplete=\'off\' style=\'width:210px\' value=\\\"{$this->ipsclass->input[\'member\']}\\\" /></td>\n		 </tr>\n		 <tr>\n		  <td width=\'35%\'>{$this->ipsclass->lang[\'cp_prune_days2\']}</td>\n		  <td width=\'65%\'><input type=\\\"text\\\" size=\\\"5\\\" name=\\\"dateline\\\" value=\\\"{$this->ipsclass->input[\'dateline\']}\\\" /></td>\n		 </tr>\n		 <tr>\n		   <td>{$this->ipsclass->lang[\'cp_prune_replies\']}</td>\n		   <td><input type=\\\"text\\\" size=\\\"5\\\" name=\\\"posts\\\" value=\\\"{$this->ipsclass->input[\'posts\']}\\\" /></td>\n		 </tr>\n		 <tr>\n		  <td>{$this->ipsclass->lang[\'cp_prune_type\']}</td>\n		  <td>$select</td>\n		 </tr>\n		 <tr>\n		  <td>{$this->ipsclass->lang[\'mps_ignorepin\']}</td>\n		  <td><input type=\\\"checkbox\\\" id=\\\"cbox\\\" name=\\\"ignore_pin\\\" value=\\\"1\\\" checked=\\\"checked\\\" class=\\\"checkbox\\\" /></td>\n		 </tr>\n		 </table>\n		 <div class=\'desc\' align=\'center\'>{$this->ipsclass->lang[\'cp_optional\']}</div>\n		</fieldset>\n		</div>\n		<div class=\\\"formsubtitle\\\" align=\\\"center\\\"><input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'cp_prune_sub1\']}\\\" class=\\\"button\\\" /></div>\n	</div>\n</form>\n<script type=\\\"text/javascript\\\">\n	// INIT find names\n	init_js( \'postingform\', \'entered_name\');\n	// Run main loop\n	setTimeout( \'main_loop()\', 10 );\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:split_body:desc::trigger:>\n//===========================================================================\nfunction split_body($jump=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"row2\\\">{$this->ipsclass->lang[\'st_explain\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'mt_new_title\']}</b></td>\n				<td class=\\\"row2\\\"><input type=\\\"text\\\" size=\\\"40\\\"  maxlength=\\\"100\\\" name=\\\"title\\\" value=\\\"\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'mt_new_desc\']}</b></td>\n				<td class=\\\"row2\\\"><input type=\\\"text\\\" size=\\\"40\\\"  maxlength=\\\"100\\\" name=\\\"desc\\\" value=\\\"\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'st_forum\']}</b></td>\n				<td class=\\\"row2\\\"><select name=\\\"fid\\\">$jump</select></td>\n			</tr>\n		</table>\n	</div>\n<br />\n	<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'st_post\']}</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:split_end_form:desc::trigger:>\n//===========================================================================\nfunction split_end_form($action=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\" align=\\\"center\\\">\n			<input type=\\\"submit\\\" name=\\\"submit\\\" class=\'button\' value=\\\"$action\\\" />\n		</div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:split_row:desc::trigger:>\n//===========================================================================\nfunction split_row($row=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$row[\'st_top_bit\']}</div>\n	<div class=\\\"tablepad\\\">\n		{$row[\'post\']}\n		<div align=\\\"right\\\"><b>{$this->ipsclass->lang[\'st_split\']}</b>&nbsp;&nbsp;<input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"post_{$row[\'pid\']}\\\" value=\\\"1\\\" checked=\\\"checked\\\" /></div>\n	</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:table_top:desc::trigger:>\n//===========================================================================\nfunction table_top($posting_title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">$posting_title</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_history:desc::trigger:>\n//===========================================================================\nfunction topic_history($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'th_title\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'th_topic\']}</b></td>\n				<td class=\\\"pformright\\\">{$data[\'th_topic\']}</td>\n			</tr>\n			<tr>\n				<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'th_desc\']}</b></td>\n				<td class=\\\"pformright\\\">{$data[\'th_desc\']}&nbsp;</td>\n			</tr>\n			<tr>\n				<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'th_start_date\']}</b></td>\n				<td class=\\\"pformright\\\">{$data[\'th_start_date\']}</td>\n			</tr>\n			<tr>\n				<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'th_start_name\']}</b></td>\n				<td class=\\\"pformright\\\">{$data[\'th_start_name\']}</td>\n			</tr>\n			<tr>\n				<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'th_last_date\']}</b></td>\n				<td class=\\\"pformright\\\">{$data[\'th_last_date\']}</td>\n			</tr>\n			<tr>\n				<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'th_last_name\']}</b></td>\n				<td class=\\\"pformright\\\">{$data[\'th_last_name\']}</td>\n			</tr>\n			<tr>\n				<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'th_avg_post\']}</b></td>\n				<td class=\\\"pformright\\\">{$data[\'th_avg_post\']}</td>\n			</tr>\n		</table>\n	</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topictitle_fields:desc::trigger:>\n//===========================================================================\nfunction topictitle_fields($title=\"\",$desc=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'edit_f_title\']}</b></td>\n			<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"{$this->ipsclass->vars[\'topic_title_max_len\']}\\\" name=\\\"TopicTitle\\\" value=\\\"$title\\\" /></td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'edit_f_desc\']}</b></td>\n			<td class=\\\"pformright\\\"><input type=\\\"text\\\" size=\\\"40\\\" maxlength=\\\"70\\\" name=\\\"TopicDesc\\\" value=\\\"$desc\\\" /></td>\n		</tr>\n	</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:uploadbox_entry:desc::trigger:>\n//===========================================================================\nfunction uploadbox_entry($attach=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td width=\\\"1%\\\" align=\\\"center\\\"><select name=\\\"attach_{$attach[\'attach_id\']}\\\" class=\\\"dropdown\\\"><option value=\\\"keep\\\">{$this->ipsclass->lang[\'cm_keep\']}</option><option value=\\\"delete\\\">{$this->ipsclass->lang[\'cm_delete\']}</option></select></td>\n			<td width=\\\"1%\\\"><img src=\\\"{$this->ipsclass->vars[\'mime_img\']}/{$attach[\'image\']}\\\" alt=\\\"\\\" /></td>\n			<td width=\\\"15%\\\" nowrap=\\\"nowrap\\\">{$attach[\'size\']}</td>\n			<td width=\\\"95%\\\"><a href=\\\"{$this->ipsclass->base_url}act=Attach&amp;type=post&amp;id={$attach[\'attach_id\']}\\\" target=\\\"_blank\\\"><b>{$attach[\'attach_file\']}</b></a> #{$attach[\'attach_pid\']}</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_add_note_form:desc::trigger:>\n//===========================================================================\nfunction warn_add_note_form($id=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form method=\\\"post\\\" action=\\\"{$this->ipsclass->base_url}&amp;act=warn&amp;CODE=save_note&amp;mid=$id\\\" id=\'postingform\'>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'mod_warn_new_note\']} <a href=\\\"{$this->ipsclass->base_url}showuser=$id\\\">$name</a></div>\n	<div class=\'row2\' style=\'padding:4px\'>\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'mod_warn_fieldset\']}</strong></legend>\n			<textarea name=\'note\' style=\'width:95%;height:300px\'>{$_POST[\'note\']}</textarea>\n			<br />\n			<div align=\'center\'><input class=\'button\' type=\'submit\' value=\'{$this->ipsclass->lang[\'mod_warn_note_save\']}\' /></div>\n		</fieldset>\n	</div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_errors:desc::trigger:>\n//===========================================================================\nfunction warn_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:warn_footer:desc::trigger:>\n//===========================================================================\nfunction warn_footer($no_pm=\"\",$editor_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'w_reason\']}</b><br />{$this->ipsclass->lang[\'w_reason2\']}</td>\n			<td class=\\\"row2\\\"><textarea rows=\\\"6\\\" cols=\\\"70\\\" class=\\\"textinput\\\" name=\\\"reason\\\">{$this->ipsclass->input[\'reason\']}</textarea></td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'w_c_subj\']}</b></td>\n			<td class=\\\"row2\\\"><input type=\\\"text\\\" name=\\\"subject\\\" value=\\\"{$this->ipsclass->input[\'subject\']}\\\" size=\\\"30\\\" /></td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'w_contact\']}</b><br />{$this->ipsclass->lang[\'w_contact2\']}</td>\n			<td class=\\\"row2\\\">\n				&nbsp;{$this->ipsclass->lang[\'w_c\']}&nbsp;\n				<select name=\\\"contactmethod\\\">\n\" . (($no_pm != 1) ? (\"\n<option value=\\\"pm\\\">{$this->ipsclass->lang[\'w_c_p\']}</option>\n\") : (\"\")) . \"\n					\n					<option value=\\\"email\\\">{$this->ipsclass->lang[\'w_c_e\']}</option>\n				</select>\n					<br />\n				{$editor_html}\n			</td>\n		</tr>\n	</table>\n		<div align=\\\"center\\\" class=\\\"formsubtitle\\\"><input type=\\\"submit\\\" class=\'button\' value=\\\"{$this->ipsclass->lang[\'w_submit\']}\\\" /></div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_header:desc::trigger:>\n//===========================================================================\nfunction warn_header($mid=\"\",$name=\"\",$cur=0,$min=0,$max=10,$key=\"\",$tid=\"\",$st=\"\",$type=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form method=\\\"post\\\" action=\\\"{$this->ipsclass->base_url}&amp;act=warn&amp;CODE=dowarn&amp;mid=$mid&amp;t=$tid&amp;st=$st&amp;type={$this->ipsclass->input[\'type\']}\\\" id=\'postingform\' onsubmit=\'return ValidateForm()\'>\n	<input type=\\\"hidden\\\" name=\\\"key\\\" value=\\\"$key\\\" />\n		<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'w_warnfor\']} <a href=\\\"{$this->ipsclass->base_url}showuser=$mid\\\">$name</a> ( $min &lt; $cur &gt; $max )</div>\n			<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'w_complete\']}</div>\n				<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					<tr>\n						<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'w_adjust_level\']}</b></td>\n						<td class=\\\"row2\\\">\n							<input type=\\\"radio\\\" name=\\\"level\\\" id=\\\"add\\\" class=\\\"radiobutton\\\" value=\\\"add\\\" {$type[\'add\']} /><label for=\\\"add\\\" class=\\\"warnbad\\\"><b>{$this->ipsclass->lang[\'w_add\']}</b></label>\n								<br />\n							<input type=\\\"radio\\\" name=\\\"level\\\" id=\\\"minus\\\" class=\\\"radiobutton\\\" value=\\\"remove\\\" {$type[\'minus\']} /><label for=\\\"minus\\\" class=\\\"warngood\\\"><b>{$this->ipsclass->lang[\'w_remove\']}</b></label>\n						</td>\n					</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_mod_posts:desc::trigger:>\n//===========================================================================\nfunction warn_mod_posts($mod_tick=\"\",$mod_array=\"\",$mod_extra=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n						<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'w_modq\']}</b></td>\n						<td class=\\\"row2\\\">\n							<input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"mod_indef\\\" value=\\\"1\\\" $mod_tick /> {$this->ipsclass->lang[\'w_modq_i\']}\n								<br />\n							&nbsp;<b>{$this->ipsclass->lang[\'w_orfor\']}</b>\n							<input type=\\\"text\\\" name=\\\"mod_value\\\" value=\\\"{$mod_array[\'timespan\']}\\\" size=\\\"5\\\" />&nbsp;\n							<select name=\\\"mod_unit\\\">\n								<option value=\\\"d\\\" {$mod_array[\'days\']}>{$this->ipsclass->lang[\'w_day\']}</option>\n								<option value=\\\"h\\\" {$mod_array[\'hours\']}>{$this->ipsclass->lang[\'w_hour\']}</option>\n							</select>\n							$mod_extra\n					</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_rem_posts:desc::trigger:>\n//===========================================================================\nfunction warn_rem_posts($post_tick=\"\",$post_array=\"\",$post_extra=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n						<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'w_resposts\']}</b></td>\n						<td class=\\\"row2\\\">\n							<input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"post_indef\\\" value=\\\"1\\\" $post_tick /> {$this->ipsclass->lang[\'w_resposts_i\']}\n								<br />\n							&nbsp;<b>{$this->ipsclass->lang[\'w_orfor\']}</b>\n							<input type=\\\"text\\\" name=\\\"post_value\\\" value=\\\"{$post_array[\'timespan\']}\\\" size=\\\"5\\\" />&nbsp;\n							<select name=\\\"post_unit\\\">\n								<option value=\\\"d\\\" {$post_array[\'days\']}>{$this->ipsclass->lang[\'w_day\']}</option>\n								<option value=\\\"h\\\" {$post_array[\'hours\']}>{$this->ipsclass->lang[\'w_hour\']}</option>\n							</select>\n							$post_extra\n					</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_restricition_in_place:desc::trigger:>\n//===========================================================================\nfunction warn_restricition_in_place() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n		<b>{$this->ipsclass->lang[\'w_restricted\']}</b>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_success:desc::trigger:>\n//===========================================================================\nfunction warn_success() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'w_done_t\']}</div>\n	<div class=\\\"subtitle\\\">&nbsp;</div>\n		<div class=\\\"tablepad\\\">\n			{$this->ipsclass->lang[\'w_done_te\']}\n			<ul>\n				<li><a href=\\\"{$this->ipsclass->base_url}\\\">{$this->ipsclass->lang[\'w_done_home\']}</a></li>\n				<!--IBF.FORUM_TOPIC-->\n			</ul>\n		</div>\n	</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_success_forum:desc::trigger:>\n//===========================================================================\nfunction warn_success_forum($fid=\"\",$fname=\"\",$tid=\"\",$tname=\"\",$st=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<li><a href=\\\"{$this->ipsclass->base_url}showforum=$fid\\\">{$this->ipsclass->lang[\'w_done_forum\']} <b>$fname</b></a></li>\n				<li><a href=\\\"{$this->ipsclass->base_url}showtopic=$tid&amp;st=$st\\\">{$this->ipsclass->lang[\'w_done_topic\']} <b>$tname</b></a></li>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_suspend:desc::trigger:>\n//===========================================================================\nfunction warn_suspend($susp_array=\"\",$susp_extra=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'w_suspend\']}</b></td>\n		<td class=\\\"row2\\\">\n			&nbsp;{$this->ipsclass->lang[\'w_susfor\']}  <input type=\\\"text\\\" name=\\\"susp_value\\\" value=\\\"{$susp_array[\'timespan\']}\\\" size=\\\"5\\\" />&nbsp;\n			<select name=\\\"susp_unit\\\">\n				<option value=\\\"d\\\" {$susp_array[\'days\']}>{$this->ipsclass->lang[\'w_day\']}</option>\n				<option value=\\\"h\\\" {$susp_array[\'hours\']}>{$this->ipsclass->lang[\'w_hour\']}</option>\n			</select>\n			$susp_extra\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_view_footer:desc::trigger:>\n//===========================================================================\nfunction warn_view_footer($links=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n	</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td align=\\\"right\\\">$links</td>\n		</tr>\n	</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_view_header:desc::trigger:>\n//===========================================================================\nfunction warn_view_header($id=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'w_v_title\']}: <a href=\\\"{$this->ipsclass->base_url}showuser=$id\\\">$name</a></div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th class=\\\"subtitle\\\" width=\\\"30%\\\">{$this->ipsclass->lang[\'w_v_warnby\']}</th>\n			<th class=\\\"subtitle\\\" width=\\\"70%\\\">{$this->ipsclass->lang[\'w_v_notes\']}</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_view_negative_row:desc::trigger:>\n//===========================================================================\nfunction warn_view_negative_row($date=\"\",$content=\"\",$puni_name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row2\\\" valign=\\\"top\\\"><b>$puni_name</b></td>\n			<td class=\\\"row2\\\" valign=\\\"top\\\">{$this->ipsclass->lang[\'w_v_warned_on\']} <b>$date</b></td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" valign=\\\"middle\\\"><span class=\\\"warnbad\\\">{$this->ipsclass->lang[\'w_v_add\']}</span></td>\n			<td class=\\\"row1\\\" valign=\\\"top\\\"><span class=\\\"postcolor\\\">$content</span></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_view_none:desc::trigger:>\n//===========================================================================\nfunction warn_view_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" colspan=\\\"2\\\" align=\\\"center\\\"><b>{$this->ipsclass->lang[\'w_v_none\']}</b></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_view_note_row:desc::trigger:>\n//===========================================================================\nfunction warn_view_note_row($date=\"\",$content=\"\",$puni_name=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row2\\\" valign=\\\"top\\\"><b>$puni_name</b></td>\n			<td class=\\\"row2\\\" valign=\\\"top\\\">{$this->ipsclass->lang[\'mod_warn_added\']} <b>$date</b></td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" valign=\\\"middle\\\"><span class=\\\"warngood\\\" style=\'color:gray\'>{$this->ipsclass->lang[\'mod_warn_note\']}</span></td>\n			<td class=\\\"row1\\\" valign=\\\"top\\\"><span class=\\\"postcolor\\\">$content</span></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_view_positive_row:desc::trigger:>\n//===========================================================================\nfunction warn_view_positive_row($date=\"\",$content=\"\",$puni_name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row2\\\" valign=\\\"top\\\"><b>$puni_name</b></td>\n			<td class=\\\"row2\\\" valign=\\\"top\\\">{$this->ipsclass->lang[\'w_v_warned_on\']} <b>$date</b></td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" valign=\\\"middle\\\"><span class=\\\"warngood\\\">{$this->ipsclass->lang[\'w_v_minus\']}</span></td>\n			<td class=\\\"row1\\\" valign=\\\"top\\\"><span class=\\\"postcolor\\\">$content</span></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('39f4cbe352b58a201d7629450eaea679','skin_msg','class skin_msg_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:address_add:desc::trigger:>\n//===========================================================================\nfunction address_add($mem_to_add=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<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:192px;display:none;z-index:1\'></div>\n<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" id=\\\"postingform\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Msg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"09\\\" />\n	<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'member_add\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td class=\'row1\' valign=\\\"middle\\\">{$this->ipsclass->lang[\'enter_a_name\']}<br /><input type=\\\"text\\\" id=\'mem_name\' name=\\\"mem_name\\\" size=\\\"30\\\" maxlength=\\\"40\\\" value=\\\"$mem_to_add\\\" /></td>\n			<td class=\'row2\' valign=\\\"middle\\\">{$this->ipsclass->lang[\'enter_desc\']}<br /><input type=\\\"text\\\" name=\\\"mem_desc\\\" size=\\\"40\\\" maxlength=\\\"60\\\" value=\\\"\\\" /></td>\n			<!--<td valign=\\\"middle\\\">{$this->ipsclass->lang[\'allow_msg\']}<br /><select name=\\\"allow_msg\\\"><option value=\\\"yes\\\" selected=\\\"selected\\\">{$this->ipsclass->lang[\'yes\']}</option><option value=\\\"no\\\">{$this->ipsclass->lang[\'no\']}</option></select></td>-->\n		</tr>\n	</table>\n	<div class=\\\"formbuttonrow\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'submit_address\']}\\\" /></div>\n</form>\n<script type=\\\"text/javascript\\\">\n// INIT find names\ninit_js( \'postingform\', \'mem_name\', \'get-member-names\');\n// Run main loop\nsetTimeout( \'main_loop()\', 10 );\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:address_edit:desc::trigger:>\n//===========================================================================\nfunction address_edit($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Msg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"12\\\" />\n<input type=\\\"hidden\\\" name=\\\"MID\\\" value=\\\"{$data[MEMBER][\'contact_id\']}\\\"  />\n	<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'member_edit\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td class=\'row1\' valign=\\\"middle\\\"><b>{$data[MEMBER][\'contact_name\']}</b></td>\n			<td class=\'row2\' valign=\\\"middle\\\">{$this->ipsclass->lang[\'enter_desc\']}<br /><input type=\\\"text\\\" name=\\\"mem_desc\\\" size=\\\"30\\\" maxlength=\\\"60\\\" value=\\\"{$data[MEMBER][\'contact_desc\']}\\\" /></td>\n			<!--<td valign=\\\"middle\\\">{$this->ipsclass->lang[\'allow_msg\']}<br />{$data[SELECT]}</td>-->\n		</tr>\n	</table>\n	<div class=\\\"formbuttonrow\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'submit_address_edit\']}\\\" /></div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Address_header:desc::trigger:>\n//===========================================================================\nfunction Address_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'address_current\']}</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Address_none:desc::trigger:>\n//===========================================================================\nfunction Address_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<p class=\\\"pcen\\\">{$this->ipsclass->lang[\'address_none\']}</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Address_table_header:desc::trigger:>\n//===========================================================================\nfunction Address_table_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n	<div class=\\\"borderwrapm\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<th><b>{$this->ipsclass->lang[\'member_name\']}</b></th>\n				<th width=\\\"60%\\\"><b>{$this->ipsclass->lang[\'enter_block\']}</b></th>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:archive_complete:desc::trigger:>\n//===========================================================================\nfunction archive_complete() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'arc_comp_title\']}</div>\n	<p>{$this->ipsclass->lang[\'arc_complete\']}</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:archive_form:desc::trigger:>\n//===========================================================================\nfunction archive_form($jump_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Msg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"15\\\" />\n	\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'archive_title\']}</div>\n	<p>{$this->ipsclass->lang[\'archive_text\']}</p>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td class=\'row1\'><b>{$this->ipsclass->lang[\'arc_folders\']}</b></td>\n				<td class=\'row2\'>$jump_html</td>\n			</tr>\n			<tr>\n				<td class=\'row1\'><b>{$this->ipsclass->lang[\'arc_dateline\']}</b></td>\n				<td class=\'row2\' valign=\\\"middle\\\">\n					<select name=\\\"dateline\\\">\n						<option value=\\\"1\\\">1</option>\n						<option value=\\\"7\\\">7</option>\n						<option value=\\\"30\\\" selected=\\\"selected\\\">30</option>\n						<option value=\\\"90\\\">90</option>\n						<option value=\\\"365\\\">365</option>\n						<option value=\\\"all\\\">{$this->ipsclass->lang[\'arc_alldays\']}</option>\n					</select>\n						&nbsp;&nbsp;{$this->ipsclass->lang[\'arc_days\']}\n					<select name=\\\"oldnew\\\">\n						<option value=\\\"newer\\\" selected=\\\"selected\\\">{$this->ipsclass->lang[\'arch_new\']}</option>\n						<option value=\\\"older\\\">{$this->ipsclass->lang[\'arch_old\']}</option>\n					</select>\n				</td>\n			</tr>\n			<tr>\n				<td class=\'row1\'><b>{$this->ipsclass->lang[\'arc_max\']}</b></td>\n				<td class=\'row2\' valign=\\\"middle\\\"><select name=\\\"number\\\"><option value=\\\"5\\\">5</option><option value=\\\"10\\\">10</option><option value=\\\"20\\\" selected=\\\"selected\\\">20</option><option value=\\\"30\\\">30</option><option value=\\\"40\\\">40</option><option value=\\\"50\\\">50</option></select></td>\n			</tr>\n			<tr>\n				<td class=\'row1\'><b>{$this->ipsclass->lang[\'arc_delete\']}</b></td>\n				<td class=\'row2\' valign=\\\"middle\\\"><select name=\\\"delete\\\"><option value=\\\"yes\\\">{$this->ipsclass->lang[\'arc_yes\']}</option><option value=\\\"no\\\" selected=\\\"selected\\\">{$this->ipsclass->lang[\'arc_no\']}</option></select></td>\n			</tr>\n			<tr>\n				<td class=\'row1\'><b>{$this->ipsclass->lang[\'arc_type\']}</b></td>\n				<td class=\'row2\' valign=\\\"middle\\\"><select name=\\\"type\\\"><option value=\\\"xls\\\" selected=\\\"selected\\\">{$this->ipsclass->lang[\'arc_xls\']}</option><option value=\\\"html\\\">{$this->ipsclass->lang[\'arc_html\']}</option></select></td>\n			</tr>\n		</table>\n		<div class=\\\"formbuttonrow\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'arc_submit\']}\\\" /></div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:archive_html_entry:desc::trigger:>\n//===========================================================================\nfunction archive_html_entry($info=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrapm\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'pm_textbit\']}{$info[\'msg_title\']}</div>\n	<div class=\\\"tablefill\\\"><div class=\\\"postcolor\\\">{$info[\'msg_content\']}</div></div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'sentby_textbit\']}<b>{$info[\'msg_sender\']}</b> {$this->ipsclass->lang[\'on_textbit\']} {$info[\'msg_date\']}</div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:archive_html_entry_sent:desc::trigger:>\n//===========================================================================\nfunction archive_html_entry_sent($info=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrapm\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'pm_textbit\']}{$info[\'msg_title\']}</div>\n	<div class=\\\"tablefill\\\"><div class=\\\"postcolor\\\">{$info[\'msg_content\']}</div></div>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'sentto_textbit\']}<b>{$info[\'msg_sender\']}</b> {$this->ipsclass->lang[\'on_textbit\']} {$info[\'msg_date\']}</div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:archive_html_footer:desc::trigger:>\n//===========================================================================\nfunction archive_html_footer() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\n</body>\n</html>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:archive_html_header:desc::trigger:>\n//===========================================================================\nfunction archive_html_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<html>\n<head>\n<meta http-equiv=\\\"content-type\\\" content=\\\"text/html; charset={$this->ipsclass->vars[\'gb_char_set\']}\\\" />\n	<title>{$this->ipsclass->lang[\'pma_title\']}</title>\n	<style type=\\\"text/css\\\">\n		html{\n			overflow-x: auto;\n		}\n		\n		body{\n			background-color: #fff;\n			color: #000;\n			font-family: Verdana, Tahoma, Arial, sans-serif;\n			font-size: 11px;\n			margin:0px;\n			padding:0px;\n			text-align:center;\n		   }\n		   \n		a:link, a:visited, a:active{\n			color: #000;\n			text-decoration: underline;\n		}\n		\n		a:hover{\n			color: #465584;\n			text-decoration:underline;\n		}\n		\n		img{\n			border: 0;\n			vertical-align: middle;\n		}\n				\n		#ipbwrapper{\n			margin: 0 auto 0 auto;\n			text-align: left;\n			width: 95%;\n		}\n		\n		.post1{\n			background-color: #F5F9FD;\n		}\n		\n		.post2{\n			background-color: #EEF2F7;\n		}\n	\n		/* Common elements */\n		.row1{\n			background-color: #F5F9FD;\n		}\n		\n		.row1{\n			background-color: #DFE6EF;\n		}\n		\n		.row3{\n			background-color: #EEF2F7;\n		}\n		\n		.row2{\n			background-color: #E4EAF2;\n		}\n	\n		/* tableborders gives the white column / row lines effect */\n		.plainborder{\n			background-color: #F5F9FD\n			border: 1px solid #345487;\n		}\n		\n		.tableborder{\n			background-color: #FFF;\n			border: 1px solid #345487;\n			margin: 0;\n			padding: 0;\n		}\n		\n		.tablefill{\n			background-color: #F5F9FD;\n			border: 1px solid #345487;\n			padding: 6px;\n		}\n		\n		.tablepad{\n			background-color: #F5F9FD;\n			padding:6px;\n		}\n		\n		.tablebasic{\n			border: 0;\n			margin: 0;\n			padding: 0;\n			width:100%;\n		}\n	\n		.pformstrip{\n			background-color: #D1DCEB;\n			color: #3A4F6C;\n			font-weight: bold;\n			margin-top:1px\n			padding:7px;\n		}\n		\n		#QUOTE{\n			background-color: #FAFCFE;\n			border: 1px solid #000;\n			color: #465584;\n			font-family: Verdana, Arial;\n			font-size: 11px;\n			padding: 2px;\n		}\n		\n		#CODE{\n			background-color: #FAFCFE;\n			border: 1px solid #000;\n			color: #465584;\n			font-family: Courier, Courier New, Verdana, Arial;\n			font-size: 11px;\n			padding: 2px;\n		}\n		/* Main table top (dark blue gradient by default) */\n		.maintitle{\n			background-color: #D1DCEB;\n			background-image: url({$this->ipsclass->vars[\'board_url\']}/style_images/<#IMG_DIR#>/tile_back.gif);\n			color: #FFF;\n			font-weight: bold;\n			padding:8px 0px 8px 5px;\n			vertical-align:middle;\n		}\n		\n		.maintitle a:link, .maintitle  a:visited, .maintitle  a:active{\n			color: #fff;\n			text-decoration: none;\n		}\n		\n		.maintitle a:hover{\n			text-decoration: underline;\n		}\n		\n		/* Topic View elements */\n		.signature{\n			color: #339;\n			font-size: 10px;\n			line-height:150%;\n		}\n		\n		.postdetails{\n			font-size: 10px;\n		}\n		\n		.postcolor{\n			font-size: 12px;\n			line-height: 160%;\n		}\n	</style>\n</head>\n<body>\n <div id=\\\"ipbwrapper\\\">\";\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:empty_folder_footer:desc::trigger:>\n//===========================================================================\nfunction empty_folder_footer() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n			<div class=\\\"formbuttonrow\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'fd_continue\']}\\\" /></div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:empty_folder_header:desc::trigger:>\n//===========================================================================\nfunction empty_folder_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Msg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"dofolderdelete\\\" />\n<input type=\\\"hidden\\\" name=\\\"md5check\\\" value=\\\"{$this->ipsclass->md5_check}\\\" />\n	<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'mi_prune_msg\']}</div>\n	<p>{$this->ipsclass->lang[\'fd_text\']}</p>\n	<div class=\\\"borderwrapm\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<th>{$this->ipsclass->lang[\'fd_name\']}</th>\n				<th>{$this->ipsclass->lang[\'fd_count\']}</th>\n				<th>{$this->ipsclass->lang[\'fd_empty\']}</th>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:empty_folder_row:desc::trigger:>\n//===========================================================================\nfunction empty_folder_row($real=\"\",$id=\"\",$cnt=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n				<td class=\\\"row1\\\"><b>$real</b></td>\n				<td class=\\\"row2\\\" align=\\\"center\\\">$cnt</td>\n				<td class=\\\"row1\\\" align=\\\"center\\\"><input type=\\\"checkbox\\\" class=\\\"checkbox\\\" name=\\\"its_$id\\\" value=\\\"1\\\" /></td>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:empty_folder_save_unread:desc::trigger:>\n//===========================================================================\nfunction empty_folder_save_unread() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n				<td class=\\\"formsubtitle\\\" colspan=\\\"3\\\" align=\\\"center\\\"><input type=\\\"checkbox\\\" class=\\\"checkbox\\\" name=\\\"save_unread\\\" value=\\\"1\\\" checked=\\\"checked\\\" /> <b>{$this->ipsclass->lang[\'fd_save_unread\']}</b></td>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_address_table:desc::trigger:>\n//===========================================================================\nfunction end_address_table() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n	</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_inbox:desc::trigger:>\n//===========================================================================\nfunction end_inbox($vdi_html=\"\",$amount_info=\"\",$pages=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n				<td align=\\\"right\\\" colspan=\\\"5\\\" class=\\\"formbuttonrow\\\">\n					<input class=\'button\' type=\\\"submit\\\" name=\\\"move\\\" value=\\\"{$this->ipsclass->lang[\'move_button\']}\\\" /> $vdi_html {$this->ipsclass->lang[\'move_or_delete\']} <input type=\\\"submit\\\" class=\'button\' name=\\\"delete\\\" value=\\\"{$this->ipsclass->lang[\'delete_button\']}\\\" /> {$this->ipsclass->lang[\'selected_msg\']}\n				</td>\n			</tr>\n		</table>\n	</div>\n</form>\n<div style=\\\"padding: 5px;\\\">\n	<div class=\\\"wrapmini\\\"><{M_READ}>&nbsp;{$this->ipsclass->lang[\'icon_read\']}<br /><{M_UNREAD}>&nbsp;{$this->ipsclass->lang[\'icon_unread\']}</div>\n	<div align=\\\"right\\\">$pages<br /><i>$amount_info</i></div>\n        <div style=\'clear: both\'></div>\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:inbox_row:desc::trigger:>\n//===========================================================================\nfunction inbox_row($msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr id=\\\"{$msg[\'mt_id\']}\\\">\n			<td align=\\\"center\\\" valign=\\\"middle\\\" class=\\\"row1\\\">{$msg[\'icon\']}</td>\n			<td class=\\\"row2\\\">{$msg[\'attach_img\']}&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=03&amp;VID={$msg[\'mt_vid_folder\']}&amp;MSID={$msg[\'mt_id\']}\\\">{$msg[\'mt_title\']}</a></td>\n			<td class=\\\"row1\\\">{$msg[\'from_name\']}</td>\n			<td class=\\\"row2\\\">{$msg[\'date\']}</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\"><input type=\\\"hidden\\\" name=\\\"{$msg[\'mt_id\']}\\\" value=\\\"{$msg[\'mt_read\']}\\\" /><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"msgid_{$msg[\'mt_id\']}\\\" value=\\\"yes\\\" onclick=\\\"cca(this);\\\" /></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:inbox_table_header:desc::trigger:>\n//===========================================================================\nfunction inbox_table_header($dirname=\"\",$info=\"\",$vdi_html=\"\",$pages=\"\",$curvid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n<div class=\\\"subtitle\\\">$dirname</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td valign=\\\"middle\\\">\n				<!-- LEFT -->\n				<table cellspacing=\\\"1\\\" style=\\\"width:250px\\\" class=\\\"inbox\\\">\n					<tr>\n						<td class=\\\"row1\\\" colspan=\\\"3\\\">{$info[\'full_messenger\']}</td>\n					</tr>\n					<tr>\n						<td valign=\\\"middle\\\" class=\\\"row1\\\" colspan=\\\"3\\\" nowrap=\'nowrap\'><{BAR_LEFT}><img src=\\\"{$this->ipsclass->vars[\'img_url\']}/bar.gif\\\" width=\\\"{$info[\'img_width\']}\\\" height=\\\"15\\\" 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\\\">\n				$pages<br /><br />\n				<a href=\\\"javascript:select_read()\\\">{$this->ipsclass->lang[\'pmpc_mark_read\']}</a> :: <a href=\\\"javascript:unselect_all()\\\">{$this->ipsclass->lang[\'pmpc_unmark_all\']}</a><br /><br />\n				<form action=\\\"{$this->ipsclass->base_url}CODE=01&amp;act=Msg\\\" name=\\\"jump\\\" method=\\\"post\\\">\n					<b>{$this->ipsclass->lang[\'goto_folder\']}: </b>&nbsp; $vdi_html \n					<input class=\'button\' type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'goto_submit\']}\\\" />\n				</form>\n			</td>\n		</tr>\n	</table>\n<!-- INBOX TABLE -->\n  \n<form action=\\\"{$this->ipsclass->base_url}CODE=06&amp;act=Msg\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"curvid\\\" value=\\\"$curvid\\\" />\n<input type=\\\"hidden\\\" name=\\\"sort\\\" value=\\\"{$this->ipsclass->input[\'sort\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"st\\\" value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\" cellpadding=\'0\'>\n		<tr>\n			<th width=\\\"5%\\\" style=\'padding:3px\'>&nbsp;</th>\n			<th width=\\\"35%\\\" style=\'padding:3px\'><a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID={$info[\'vid\']}&amp;sort=title&amp;st={$this->ipsclass->input[\'st\']}\\\"><b>{$this->ipsclass->lang[\'message_title\']}</b></a></th>\n			<th width=\\\"30%\\\" style=\'padding:3px\'><a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID={$info[\'vid\']}&amp;sort=name&amp;st={$this->ipsclass->input[\'st\']}\\\"><b>{$this->ipsclass->lang[\'message_from\']}</b></a></th>\n			<th width=\\\"25%\\\" style=\'padding:3px\'><a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID={$info[\'vid\']}&amp;sort={$info[\'date_order\']}&amp;st={$this->ipsclass->input[\'st\']}\\\"><b>{$this->ipsclass->lang[\'message_date\']}</b></a></th>\n			<th align=\\\"center\\\" style=\'text-align:center;padding:3px\' width=\\\"5%\\\"><input name=\\\"allbox\\\" class=\'checkbox\' type=\\\"checkbox\\\" value=\\\"Check All\\\" onclick=\\\"InboxCheckAll();\\\" /></th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mass_pm_box:desc::trigger:>\n//===========================================================================\nfunction mass_pm_box($names=\"\",$checkbox=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\'row1\' style=\'text-align: right; vertical-align: top\'>\n			<strong>{$this->ipsclass->lang[\'carbon_copy_title\']}</strong><br /><span class=\'desc\'>{$this->ipsclass->lang[\'carbon_copy_desc\']}</div>\n		</td>\n		<td class=\'row2\'>\n			<textarea name=\\\"carbon_copy\\\" rows=\\\"5\\\" cols=\\\"40\\\" tabindex=\\\"2\\\">$names</textarea><br />\n			&nbsp;<input type=\\\"button\\\" class=\\\"button\\\" name=\\\"findusers\\\" onclick=\\\"find_users()\\\" value=\\\"{$this->ipsclass->lang[\'find_user_names\']}\\\" />\n			<br /><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"mt_hide_cc\\\" value=\\\"1\\\" {$checkbox}/>&nbsp;<strong>{$this->ipsclass->lang[\'cc_hide_users\']}</strong>\n		</td>\n	</tr>\";\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: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:No_msg_inbox:desc::trigger:>\n//===========================================================================\nfunction No_msg_inbox() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" colspan=\\\"5\\\" align=\\\"center\\\"><b>{$this->ipsclass->lang[\'inbox_no_msg\']}</b></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pm_errors:desc::trigger:>\n//===========================================================================\nfunction pm_errors($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'err_errors\']}</div>-->\n	<div class=\\\"errorwrap\\\"><h4>{$this->ipsclass->lang[\'err_errors\']}</h4><p>$data<br /><br />{$this->ipsclass->lang[\'pme_none_sent\']}</p></div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:postbox_wrap:desc::trigger:>\n//===========================================================================\nfunction postbox_wrap($editor_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'row1\' style=\'text-align: right; vertical-align: top\'>\n		<strong>{$this->ipsclass->lang[\'pro_message\']}</strong>\n	</td>\n	<td class=\'row2\'>\n		{$editor_html}\n	</td>\n</tr>\n<!--UPLOAD FIELD-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:prefs_add_dirs:desc::trigger:>\n//===========================================================================\nfunction prefs_add_dirs() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'prefs_new\']}</div>\n	<p>{$this->ipsclass->lang[\'prefs_text_b\']}</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:prefs_footer:desc::trigger:>\n//===========================================================================\nfunction prefs_footer() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formbuttonrow\\\" align=\\\"center\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'prefs_submit\']}\\\" /></div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:prefs_header:desc::trigger:>\n//===========================================================================\nfunction prefs_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Msg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"08\\\" />\n	<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'prefs_current\']}</div>\n	<p>{$this->ipsclass->lang[\'prefs_text_a\']}</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:prefs_row:desc::trigger:>\n//===========================================================================\nfunction prefs_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<p><input type=\\\"text\\\" name=\\\"{$data[\'ID\']}\\\" value=\\\"{$data[\'REAL\']}\\\" />{$data[\'EXTRA\']}</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:preview:desc::trigger:>\n//===========================================================================\nfunction preview($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'pm_preview\']}</div>\n	<p>$data</p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_address_row:desc::trigger:>\n//===========================================================================\nfunction render_address_row($entry=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"row1\\\" valign=\\\"middle\\\">\n		<a href=\\\"{$this->ipsclass->base_url}act=Profile&amp;CODE=03&amp;MID={$entry[\'contact_id\']}\\\"><b>{$entry[\'contact_name\']}</b></a>\n		\" . (($entry[\'contact_desc\']) ? (\"\n			&nbsp; &nbsp;[ {$entry[\'contact_desc\']} ]\n		\") : (\"\")) . \"\n	</td>\n	<td class=\\\"row2\\\" valign=\\\"middle\\\">[ <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=11&amp;MID={$entry[\'contact_id\']}\\\">{$this->ipsclass->lang[\'edit\']}</a> ] :: [ <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=10&amp;MID={$entry[\'contact_id\']}\\\">{$this->ipsclass->lang[\'delete\']}</a> ]&nbsp;&nbsp;( {$entry[\'text\']} )</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Render_msg:desc::trigger:>\n//===========================================================================\nfunction Render_msg($post=\"\",$author=\"\",$jump=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\n<div class=\\\"subtitle\\\">{$post[\'mt_title\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td valign=\\\"middle\\\" class=\\\"post_head\\\">\n				\" . (($author[\'id\']) ? (\"\n					<div id=\\\"post-member-{$author[\'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_short\']}</a></span>\n					</div>\n					<!-- member menu -->\n					<div class=\'popupmenu-new\' id=\'post-member-{$author[\'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\']}\' />\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=\'Rating: {$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/friend_remove_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"{$this->ipsclass->base_url}CODE=02&amp;act=Msg&amp;MID={$author[\'id\']}\\\">{$this->ipsclass->lang[\'dd_add_to_block\']}</a>\n								</div>\n							\") : (\"\")) . \"\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}CODE=04&amp;act=Msg&amp;MSID={$post[\'mt_id\']}&amp;MID={$author[\'id\']}&amp;fwd=1\\\">{$this->ipsclass->lang[\'dd_forward_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						</div>\n					</div>\n					<!-- member menu -->\n					<script type=\\\"text/javascript\\\">\n						ipsmenu.register( \\\"post-member-{$author[\'id\']}\\\", \'\', \'popmenubutton-new\', \'popmenubutton-new-out\' );\n					</script>\n				\") : (\"\n					{$author[\'members_display_name\']}\n				\")) . \"\n				</td>\n				<td class=\\\"post_head\\\" valign=\\\"middle\\\">\n					<!-- POSTED DATE DIV -->\n						<span class=\\\"postdetails\\\"><b>{$post[\'mt_title\']}</b>, {$post[\'msg_date\']}</span>\n				</td>\n			</tr>\n			<tr>\n				<td valign=\\\"top\\\" class=\\\"post1 post_left\\\">\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_number\']}<br />\n						{$author[\'member_joined\']}<br /><br />\n						{$author[\'warn_text\']} {$author[\'warn_minus\']}{$author[\'warn_img\']}{$author[\'warn_add\']}\n					</span>\n					<br />\n					<!--$ author[field_1]-->\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					{$post[\'show_cc_users\']}\n					<div class=\\\"postcolor\\\">\n						{$post[\'msg_post\']}\n						<!--IBF.ATTACHMENT_{$post[\'msg_id\']}-->\n					</div>\n					{$author[\'signature\']}\n				</td>\n			</tr>\n			<tr>\n				<td class=\\\"darkrow3\\\">\n					\" . (($post[\'_ip_address\'] != \'\') ? (\"\n						{$this->ipsclass->lang[\'msg_ip_address\']} {$post[\'_ip_address\']}\n					\") : (\"\")) . \"\n				</td>\n				<td class=\\\"darkrow3\\\" nowrap=\\\"nowrap\\\">\n					<div align=\\\"right\\\">\n						<a href=\\\"{$this->ipsclass->base_url}CODE=05&amp;act=Msg&amp;MSID={$post[\'mt_id\']}&amp;VID={$author[\'VID\']}\\\"><{P_DELETE}></a>\n						<a href=\\\"{$this->ipsclass->base_url}CODE=04&amp;act=Msg&amp;MID={$author[\'id\']}&amp;MSID={$post[\'mt_id\']}\\\"><{P_QUOTE}></a>\n					</div>\n				</td>\n			</tr>\n			<tr>\n				<td colspan=\'2\' class=\'catend\'></td>\n			</tr>\n		</table>	\n		<div class=\'formbuttonrow\' align=\'right\'>\n			<form action=\\\"{$this->ipsclass->base_url}\\\" name=\\\"jump\\\" method=\\\"post\\\">\n			<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Msg\\\" />\n			<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"01\\\" />\n				{$this->ipsclass->lang[\'goto_folder\']}:&nbsp; {$jump}\n			<input type=\\\"submit\\\" class=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'goto_submit\']}\\\" />\n			</form>\n		</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_msg_show_cc:desc::trigger:>\n//===========================================================================\nfunction render_msg_show_cc($cc_users=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<b>CC:</b> $cc_users\n		<hr noshade=\\\"noshade\\\" size=\\\"1\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Send_form:desc::trigger:>\n//===========================================================================\nfunction Send_form($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_xhr_findnames.js\'></script>\n<script type=\\\"text/javascript\\\">\n<!--\n	function find_users(){\n		url = \\\"index.{$this->ipsclass->vars[\'php_ext\']}?act=legends&CODE=finduser_one&s={$this->ipsclass->session_id}&entry=textarea&name=carbon_copy&sep=line\\\";\n		window.open(url,\\\"FindUsers\\\",\\\"width=400,height=250,resizable=yes,scrollbars=yes\\\"); \n	}\n-->\n</script>\n<form id=\'postingform\' style=\'display:block\' action=\\\"{$this->ipsclass->base_url}act=msg\\\" method=\\\"post\\\" name=\\\"REPLIER\\\" {$data[\'form_extra\']} onsubmit=\\\"return ValidateForm(1);\\\">\n<input type=\\\"hidden\\\" name=\\\"removeattachid\\\" value=\\\"0\\\" />\n<input type=\\\"hidden\\\" name=\\\"OID\\\"  value=\\\"{$data[\'OID\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Msg\\\" />\n<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"04\\\" />\n<input type=\\\"hidden\\\" name=\\\"MODE\\\" value=\\\"01\\\" />\n<input type=\\\"hidden\\\" name=\\\"attach_post_key\\\" value=\\\"{$data[\'attach_post_key\']}\\\" />\n<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"{$this->ipsclass->md5_check}\\\" />\n{$data[\'upload\']}\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<table width=\'100%\' class=\'ipbtable\' cellpadding=\'0\' cellspacing=\'0\'>\n	<tr>\n		<td class=\'subtitle\' colspan=\'2\'>{$this->ipsclass->lang[\'pro_recips\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' style=\'text-align: right; width: 20%\'>\n			<strong>{$this->ipsclass->lang[\'to_whom\']}</strong>\n		</td>\n		<td class=\'row2\'>\n			<input type=\\\"text\\\" id=\'entered_name\' name=\\\"entered_name\\\" size=\\\"30\\\" autocomplete=\'off\' style=\'width:210px\' value=\\\"{$data[\'N_ENTER\']}\\\" tabindex=\\\"1\\\" /> &nbsp; {$data[\'CONTACTS\']}\n		</td>\n	</tr>\n	<!--IBF.MASS_PM_BOX-->\n	<tr>\n		<td class=\'subtitle\' colspan=\'2\'>{$this->ipsclass->lang[\'pro_details\']}</td>\n	</tr>\n	<tr>\n		<td class=\'row1\' style=\'text-align: right\'>\n			<strong>{$this->ipsclass->lang[\'msg_title\']}</strong>\n		</td>\n		<td class=\'row2\'>\n			<input type=\\\"text\\\" name=\\\"msg_title\\\" size=\\\"40\\\" tabindex=\\\"3\\\" maxlength=\\\"40\\\" value=\\\"{$data[\'O_TITLE\']}\\\" />\n		</td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:send_form_footer:desc::trigger:>\n//===========================================================================\nfunction send_form_footer($default=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'subtitle\' colspan=\'2\'>{$this->ipsclass->lang[\'msg_options\']}</td>\n</tr>\n<tr>\n	<td class=\'row1\'>&nbsp;</td>\n	<td class=\'row2\'>\n		<input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"add_sent\\\" value=\\\"yes\\\" {$default[\'add_sent\']}/>&nbsp;<b>{$this->ipsclass->lang[\'auto_sent_add\']}</b>\n		 <br />\n		<input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"add_tracking\\\" value=\\\"1\\\" {$default[\'add_tracking\']}/>&nbsp;<b>{$this->ipsclass->lang[\'vm_track_msg\']}</b>\n	</td>\n</tr>\n<tr>\n	<td class=\'formbuttonrow\' colspan=\'2\' style=\'text-align: center\'>\n		<input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'submit_send\']}\\\" tabindex=\\\"10\\\" accesskey=\\\"s\\\" />\n		<input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'pm_pre_button\']}\\\" tabindex=\\\"11\\\" name=\\\"preview\\\" />\n		<input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'pms_send_later\']}\\\" tabindex=\\\"12\\\" name=\\\"save\\\" />\n	</td>\n</tr>\n</table>\n<script type=\\\"text/javascript\\\">\n	// INIT find names\n	init_js( \'postingform\', \'entered_name\');\n	// Run main loop\n	setTimeout( \'main_loop()\', 10 );\n</script>\n</form>\";\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:trackread_end:desc::trigger:>\n//===========================================================================\nfunction trackread_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td align=\\\"right\\\" colspan=\\\"5\\\" class=\\\"formbuttonrow\\\"><input class=\'button\' type=\\\"submit\\\" name=\\\"endtrack\\\" value=\\\"{$this->ipsclass->lang[\'tk_untrack_button\']}\\\" /> {$this->ipsclass->lang[\'selected_msg\']}</td>\n		</tr>\n	</table>\n</div>\n</form>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:trackread_row:desc::trigger:>\n//===========================================================================\nfunction trackread_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"row1\\\" valign=\\\"middle\\\" align=\'center\'>{$data[\'icon\']}</td>\n	<td class=\\\"row2\\\">{$data[\'mt_title\']}</td>\n	<td class=\\\"row1\\\"><a href=\\\"{$this->ipsclass->base_url}showuser={$data[\'memid\']}\\\">{$data[\'to_name\']}</a></td>\n	<td class=\\\"row2\\\">{$data[\'date\']}</td>\n	<td class=\\\"row1\\\" align=\'center\'><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"msgid_{$data[\'mt_id\']}\\\" value=\\\"yes\\\" onclick=\\\"CheckCheckAll(document.trackread);\\\" /></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:trackread_table_header:desc::trigger:>\n//===========================================================================\nfunction trackread_table_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}CODE=31&amp;act=Msg\\\" name=\\\"trackread\\\" method=\\\"post\\\">\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'tk_read_messages\']}</div>\n<p>{$this->ipsclass->lang[\'tk_read_desc\']}</p>\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th width=\\\"5%\\\">&nbsp;</th>\n			<th width=\\\"30%\\\"><b>{$this->ipsclass->lang[\'message_title\']}</b></th>\n			<th width=\\\"30%\\\"><b>{$this->ipsclass->lang[\'pms_message_to\']}</b></th>\n			<th width=\\\"20%\\\"><b>{$this->ipsclass->lang[\'tk_read_date\']}</b></th>\n			<th align=\\\"center\\\" width=\\\"5%\\\" style=\'padding:1px;text-align:center\'><input name=\\\"allbox\\\" class=\'checkbox\' type=\\\"checkbox\\\" value=\\\"Check All\\\" onclick=\\\"CheckAll(document.trackread);\\\" /></th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:trackUNread_end:desc::trigger:>\n//===========================================================================\nfunction trackUNread_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td align=\\\"right\\\" colspan=\\\"5\\\" class=\\\"formbuttonrow\\\"><input class=\'button\' type=\\\"submit\\\" name=\\\"delete\\\" value=\\\"{$this->ipsclass->lang[\'delete_button\']}\\\" /> {$this->ipsclass->lang[\'selected_msg\']}</td>\n		</tr>\n	</table>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:trackUNread_row:desc::trigger:>\n//===========================================================================\nfunction trackUNread_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" valign=\\\"middle\\\" align=\'center\'>{$data[\'icon\']}</td>\n			<td class=\\\"row2\\\">{$data[\'mt_title\']}</td>\n			<td class=\\\"row1\\\"><a href=\\\"{$this->ipsclass->base_url}showuser={$data[\'memid\']}\\\">{$data[\'to_name\']}</a></td>\n			<td class=\\\"row2\\\">{$data[\'date\']}</td>\n			<td class=\\\"row1\\\" align=\'center\'><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"msgid_{$data[\'mt_id\']}\\\" value=\\\"yes\\\" onclick=\\\"CheckCheckAll(document.trackunread);\\\" /></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:trackUNread_table_header:desc::trigger:>\n//===========================================================================\nfunction trackUNread_table_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}CODE=32&amp;act=Msg\\\" name=\\\"trackunread\\\" method=\\\"post\\\">\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'tk_unread_messages\']}</div>\n<p>{$this->ipsclass->lang[\'tk_unread_desc\']}</p>\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th width=\\\"5%\\\">&nbsp;</th>\n			<th width=\\\"30%\\\"><b>{$this->ipsclass->lang[\'message_title\']}</b></th>\n			<th width=\\\"30%\\\"><b>{$this->ipsclass->lang[\'pms_message_to\']}</b></th>\n			<th width=\\\"20%\\\"><b>{$this->ipsclass->lang[\'tk_unread_date\']}</b></th>\n			<th align=\\\"center\\\" width=\\\"5%\\\" style=\'padding:1px;text-align:center\'><input name=\\\"allbox\\\" class=\'checkbox\' type=\\\"checkbox\\\" value=\\\"Check All\\\" onclick=\\\"CheckAll(document.trackunread);\\\" /></th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:unsent_empty_row:desc::trigger:>\n//===========================================================================\nfunction unsent_empty_row() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" colspan=\\\"6\\\" align=\\\"center\\\"><b>{$this->ipsclass->lang[\'inbox_no_msg\']}</b></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:unsent_end:desc::trigger:>\n//===========================================================================\nfunction unsent_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td align=\\\"center\\\" nowrap=\\\"nowrap\\\" colspan=\\\"6\\\" class=\\\"formbuttonrow\\\"><input class=\'button\' type=\\\"submit\\\" name=\\\"delete\\\" value=\\\"{$this->ipsclass->lang[\'delete_button\']}\\\" /> {$this->ipsclass->lang[\'selected_msg\']}</td>\n		</tr>\n	</table>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:unsent_row:desc::trigger:>\n//===========================================================================\nfunction unsent_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"row1\\\" valign=\\\"middle\\\">{$data[\'msg\'][\'icon\']}</td>\n			<td class=\\\"row2\\\">{$data[\'msg\'][\'attach_img\']}&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=21&amp;MSID={$data[\'msg\'][\'mt_id\']}\\\">{$data[\'msg\'][\'mt_title\']}</a></td>\n			<td class=\\\"row1\\\">{$data[\'msg\'][\'from_name\']}</td>\n			<td class=\\\"row2\\\">{$data[\'msg\'][\'date\']}</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">{$data[\'msg\'][\'cc_users\']}</td>\n			<td class=\\\"row2\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"msgid_{$data[\'msg\'][\'mt_id\']}\\\" value=\\\"yes\\\" /></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:unsent_table_header:desc::trigger:>\n//===========================================================================\nfunction unsent_table_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}CODE=06&amp;act=Msg&amp;saved=1\\\" name=\\\"mutliact\\\" method=\\\"post\\\">\n<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'pms_saved_title\']}</div>\n<br />\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<th width=\\\"5%\\\">&nbsp;</th>\n			<th width=\\\"30%\\\"><b>{$this->ipsclass->lang[\'message_title\']}</b></th>\n			<th width=\\\"30%\\\"><b>{$this->ipsclass->lang[\'pms_message_to\']}</b></th>\n			<th width=\\\"20%\\\"><b>{$this->ipsclass->lang[\'pms_saved_date\']}</b></th>\n			<th width=\\\"10%\\\"><b>{$this->ipsclass->lang[\'pms_cc_users\']}</b></th>\n			<th align=\\\"center\\\" width=\\\"5%\\\" style=\'padding:1px;text-align:center\'><input name=\\\"allbox\\\" class=\'checkbox\' type=\\\"checkbox\\\" value=\\\"Check All\\\" onclick=\\\"CheckAll(document.mutliact);\\\" /></th>\n		</tr>\";\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_msgs_none:desc::trigger:>\n//===========================================================================\nfunction xmlout_msgs_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'pp-contentbox-back\'>\n	<div class=\'pp-contentbox-entry-noheight\' align=\'center\'>\n  			<span style=\'font-size:10px\' class=\'desc\'><em>({$this->ipsclass->lang[\'xml_no_pms\']})</em></span>\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xmlout_msgs_row:desc::trigger:>\n//===========================================================================\nfunction xmlout_msgs_row($msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'popupmenu-item\'>\n <div class=\'pp-contentbox-entry-noheight\'>\n <div style=\'float:left\'>{$msg[\'icon\']} <a href=\\\"#\\\" onclick=\'locationjump(\\\"act=msg&amp;CODE=03&amp;VID={$msg[\'mt_vid_folder\']}&amp;MSID={$msg[\'mt_id\']}\\\");\' title=\'{$msg[\'mt_title\']} ({$msg[\'from_name\']})\'>{$msg[\'_mini\']}</a></div>\n <div align=\'right\'>\n  <span style=\'font-size:10px\' class=\'desc\'><em>({$msg[\'date\']})</em></span>\n </div>\n </div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xmlout_msgs_wrapper:desc::trigger:>\n//===========================================================================\nfunction xmlout_msgs_wrapper($content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'pp-contentbox-back\'>\n	<div style=\'border: 1px solid #888888; padding:0px;\'>\n  	<div style=\'border: 1px solid #EEF2F7\'>\n	   {$content}\n	</div>\n	<div align=\'center\' style=\'padding:6px;font-weight:bold\' class=\'darkrow3\'><a href=\'#\' onclick=\'locationjump(\\\"act=msg&amp;CODE=01\\\");\'>{$this->ipsclass->lang[\'xml_go_inbox\']}</a> &raquo;</div>\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('0ac4aa52ffa58a7a7fa8bf4128db8696','skin_online','class skin_online_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:Page_end:desc::trigger:>\n//===========================================================================\nfunction Page_end($show_mem=\"\",$sort_order=\"\",$sort_key=\"\",$links=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- End content Table -->\n		<tr>\n			<td colspan=\\\"4\\\" class=\\\"formbuttonrow\\\" align=\\\"center\\\" valign=\\\"middle\\\">\n				<form method=\\\"post\\\" action=\\\"{$this->ipsclass->base_url}act=Online&amp;CODE=listall\\\">\n					<b>{$this->ipsclass->lang[\'s_by\']}&nbsp;</b>\n					<select name=\\\"sort_key\\\">{$sort_key}</select>\n					<select name=\\\"show_mem\\\"> {$show_mem}</select>\n					<select name=\\\"sort_order\\\"> {$sort_order}</select>\n					<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'s_go\']}\\\" class=\\\"button\\\" />\n				</form>\n			</td>\n		</tr>\n	</table>\n</div>\n<br />\n<div>$links</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Page_header:desc::trigger:>\n//===========================================================================\nfunction Page_header($links=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\'Javascript\' type=\'text/javascript\'>\n		<!--\n		function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {\n			if (posleft != 0) { x = posleft }\n			if (postop  != 0) { y = postop  }\n		\n			if (!scroll) { scroll = 1 }\n			if (!resize) { resize = 1 }\n		\n			if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {\n			  X = (screen.width  - width ) / 2;\n			  Y = (screen.height - height) / 2;\n			}\n			if (scroll != 0) { scroll = 1 }\n		\n			var Win = window.open( url, name, \'width=\'+width+\',height=\'+height+\',top=\'+Y+\',left=\'+X+\',resizable=\'+resize+\',scrollbars=\'+scroll+\',location=no,directories=no,status=no,menubar=no,toolbar=no\');\n	     }\n		//-->\n	</script>\n<div align=\'left\'>$links</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'page_title\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<th width=\\\"30%\\\">{$this->ipsclass->lang[\'member_name\']}</th>\n				<th width=\\\"30%\\\">{$this->ipsclass->lang[\'where\']}</th>\n				<th align=\\\"center\\\" width=\\\"20%\\\">{$this->ipsclass->lang[\'time\']}</th>\n				<th width=\\\"10%\\\">&nbsp;</th>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_row:desc::trigger:>\n//===========================================================================\nfunction show_row($session=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Entry for {$session[\'member_id\']} -->\n			<tr>\n				<td class=\\\"row1\\\">{$session[\'member_name\']}</td>\n				<td class=\\\"row2\\\">{$session[\'where_line\']}</td>\n				<td class=\\\"row1\\\" align=\\\"center\\\">{$session[\'running_time\']}</td>\n				<td class=\\\"row2\\\" align=\\\"center\\\">{$session[\'msg_icon\']}</td>\n			</tr>\n<!-- End of Entry -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('d3da53292de674d1d85faca146f30958','skin_poll','class skin_poll_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:button_null_vote:desc::trigger:>\n//===========================================================================\nfunction button_null_vote() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input class=\'button\' type=\\\"submit\\\" name=\\\"nullvote\\\" value=\\\"{$this->ipsclass->lang[\'poll_null_vote\']}\\\" title=\\\"{$this->ipsclass->lang[\'tt_poll_null\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:button_show_results:desc::trigger:>\n//===========================================================================\nfunction button_show_results() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input class=\'button\' type=\\\"button\\\" value=\\\"{$this->ipsclass->lang[\'pl_show_results\']}\\\" title=\\\"{$this->ipsclass->lang[\'tt_poll_show\']}\\\" onclick=\\\"go_gadget_show()\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:button_show_voteable:desc::trigger:>\n//===========================================================================\nfunction button_show_voteable() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input class=\'button\' type=\\\"button\\\" name=\\\"viewresult\\\" value=\\\"{$this->ipsclass->lang[\'pl_show_vote\']}\\\"  title=\\\"{$this->ipsclass->lang[\'tt_poll_svote\']}\\\" onclick=\\\"go_gadget_vote()\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:button_vote:desc::trigger:>\n//===========================================================================\nfunction button_vote() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input class=\'button\' type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'poll_add_vote\']}\\\" title=\\\"{$this->ipsclass->lang[\'tt_poll_vote\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_footer:desc::trigger:>\n//===========================================================================\nfunction poll_footer() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td colspan=\\\"3\\\" class=\\\"formbuttonrow\\\"><!--IBF.VOTE-->&nbsp;<!--IBF.SHOW--></td>\n		</tr>\n		<tr>\n			<td class=\\\"catend\\\" colspan=\\\"3\\\"><!-- no content --></td>\n		</tr>\n		</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_header:desc::trigger:>\n//===========================================================================\nfunction poll_header($tid=\"\",$poll_q=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!-- // Hide js from html validator\nfunction go_gadget_show()\n{\n	window.location = \\\"{$this->ipsclass->base_url}&showtopic={$tid}&mode=show&st={$this->ipsclass->input[\'st\']}\\\";\n}\nfunction go_gadget_vote()\n{\n	window.location = \\\"{$this->ipsclass->base_url}&showtopic={$tid}&st={$this->ipsclass->input[\'st\']}\\\";\n}\n//-->\n</script>\n<form action=\\\"{$this->ipsclass->base_url}showtopic={$tid}&amp;st={$this->ipsclass->input[\'st\']}&amp;addpoll=1\\\" method=\\\"post\\\">\n <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n  <tr>\n	  <th colspan=\\\"3\\\" align=\\\"center\\\"><b>{$poll_q}</b></th>\n  </tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_show_form_choice:desc::trigger:>\n//===========================================================================\nfunction poll_show_form_choice($choice_id=\"\",$votes=\"\",$id=\"\",$answer=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n    <td class=\\\"post2\\\" colspan=\\\"3\\\"><input type=\\\"radio\\\" name=\\\"choice[{$id}]\\\" value=\\\"$choice_id\\\" class=\\\"radiobutton\\\" />&nbsp;<b>$answer</b></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_show_form_choice_multi:desc::trigger:>\n//===========================================================================\nfunction poll_show_form_choice_multi($choice_id=\"\",$votes=\"\",$id=\"\",$answer=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n    <td class=\\\"post2\\\" colspan=\\\"3\\\"><input type=\\\"checkbox\\\" name=\\\"choice_{$id}_{$choice_id}\\\" value=\\\"1\\\" class=\\\"checkbox\\\" />&nbsp;<b>$answer</b></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_show_form_question:desc::trigger:>\n//===========================================================================\nfunction poll_show_form_question($id=\"\",$question=\"\",$choice_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n  <td colspan=\'3\' class=\'row1\'>\n<div class=\'borderwrapm\'>\n  <div class=\'row1\' style=\'padding:4px;\'><span class=\'postdetails\'><strong>{$question}</strong></span></div>\n   <table class=\'ipbtable\' cellpadding=\'4\' cellspacing=\'0\'>\n	$choice_html\n   </table>\n</div>\n  </td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_show_no_guest_view:desc::trigger:>\n//===========================================================================\nfunction poll_show_no_guest_view() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n    <td class=\\\"post2\\\" colspan=\\\"3\\\" align=\'center\'>{$this->ipsclass->lang[\'poll_noview_guest\']}</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_show_rendered_choice:desc::trigger:>\n//===========================================================================\nfunction poll_show_rendered_choice($choice_id=\"\",$votes=\"\",$id=\"\",$answer=\"\",$percentage=\"\",$width=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"post2\\\" width=\'25%\'\n\" . (($this->ipsclass->input[\'_low_act\'] == \'home\') ? (\"\ncolspan=\'2\'\n\") : (\"\")) . \"\n>$answer</td>\n\" . (($this->ipsclass->input[\'_low_act\'] == \'home\') ? (\"\n<td class=\\\"post2\\\">&nbsp;</td>\n</tr>\n<tr>\n\") : (\"\")) . \"\n	<td class=\\\"post2\\\" width=\'10%\' nowrap=\'nowrap\'> [ <b>$votes</b> ] </td>\n	<td class=\\\"post2\\\" width=\'70%\' nowrap=\'nowrap\'><{BAR_LEFT}><img src=\\\"{$this->ipsclass->vars[\'img_url\']}/bar.gif\\\" height=\'15\' width=\\\"$width\\\" align=\\\"middle\\\" alt=\\\"\\\" /><{BAR_RIGHT}>&nbsp;[$percentage%]</td>\n\" . (($this->ipsclass->input[\'_low_act\'] == \'home\') ? (\"\n<td class=\\\"post2\\\">&nbsp;</td>\n\") : (\"\")) . \"\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_show_rendered_question:desc::trigger:>\n//===========================================================================\nfunction poll_show_rendered_question($id=\"\",$question=\"\",$choice_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n  <td colspan=\'3\' class=\'row1\'>\n<div class=\'borderwrap\'>\n  <div class=\'row1\' style=\'padding:4px;\'><span class=\'postdetails\'><strong>{$question}</strong></span></div>\n   <table class=\'ipbtable\' cellpadding=\'4\' cellspacing=\'0\'>\n	$choice_html\n   </table>\n   </div>\n  </td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_total_votes:desc::trigger:>\n//===========================================================================\nfunction show_total_votes($total_votes=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n    <td class=\\\"formsubtitle\\\" colspan=\\\"3\\\" align=\\\"center\\\"><b>{$this->ipsclass->lang[\'pv_total_votes\']}: $total_votes</b></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('e3b465541f07a6f074aa49d4071189c0','skin_portal','class skin_portal_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:csite_css_external:desc::trigger:>\n//===========================================================================\nfunction csite_css_external($css=\"\",$img=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<style type=\\\"text/css\\\" media=\\\"all\\\">\n	@import url({$this->ipsclass->vars[\'board_url\']}/css.php?d={$css}_{$img}.css);\n</style>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:csite_css_inline:desc::trigger:>\n//===========================================================================\nfunction csite_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:csite_skeleton_template:desc::trigger:>\n//===========================================================================\nfunction csite_skeleton_template($component_links=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n <tr>\n	 <td width=\\\"30%\\\" class=\\\"nopad\\\" valign=\\\"top\\\">\n		 <!-- LEFT -->\n		 <!--::BASIC:SITENAV::-->\n		 <!--::online_users_show::-->\n		 <!--::blogs_show_last_updated_x::-->\n		 <!--::gallery_show_random_image::-->\n		 <!--::calendar_show_current_month::-->\n		 <!--::poll_show_poll::-->\n		 <!--::recent_topics_discussions_last_x::-->\n		 <!--::BASIC:AFFILIATES::-->\n		 <!--END LEFT-->\n	 </td>\n	 <!--SPACER-->\n	 <td width=\\\"1%\\\" class=\\\"nopad\\\">&nbsp;</td>\n	 <td width=\\\"70%\\\" class=\\\"nopad\\\" valign=\\\"top\\\">\n		 <!--MAIN-->\n		 <!--::recent_topics_last_x::-->\n		 <!--END MAIN-->\n	 </td>\n </tr>\n <!--End Main Content-->\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_affiliates:desc::trigger:>\n//===========================================================================\nfunction tmpl_affiliates($links=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'aff_title\']}</div>\n	<div class=\\\"tablepad\\\">\n		$links\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_articles:desc::trigger:>\n//===========================================================================\nfunction tmpl_articles($articles=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"$articles\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_articles_row:desc::trigger:>\n//===========================================================================\nfunction tmpl_articles_row($entry=\"\",$bottom_string=\"\",$top_string=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"maintitle\\\" colspan=\\\"2\\\"><{CAT_IMG}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}showtopic={$entry[\'tid\']}\\\">{$entry[\'title\']}</a></td>\n	</tr>\n	<tr>\n		<td class=\\\"row1\\\" colspan=\\\"2\\\">$top_string</td>\n	</tr>\n	<tr>\n		<td class=\\\"post1\\\" width=\\\"5%\\\" valign=\\\"top\\\">{$entry[\'avatar\']}</td>\n		<td class=\\\"post1\\\" width=\\\"95%\\\" valign=\\\"top\\\"><div style=\\\"height: 200px; overflow: auto;\\\">{$entry[\'post\']}\n		<!--IBF.ATTACHMENT_{$entry[\'pid\']}--></div></td>\n	</tr>\n	<tr>\n		<td class=\\\"row1\\\" colspan=\\\"2\\\" align=\\\"right\\\">\n		$bottom_string\n		&nbsp;&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f={$entry[\'forum_id\']}&amp;t={$entry[\'tid\']}\\\"><img src=\'style_images/<#IMG_DIR#>/cs_print.gif\' border=\'0\' alt=\'\' /></a>\n		<a href=\\\"{$this->ipsclass->base_url}act=Forward&amp;f={$entry[\'forum_id\']}&amp;t={$entry[\'tid\']}\\\"><img src=\'style_images/<#IMG_DIR#>/cs_email.gif\' border=\'0\' alt=\'\' /></a>\n		</td>\n	</tr>\n</table>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_calendar_wrap:desc::trigger:>\n//===========================================================================\nfunction tmpl_calendar_wrap($content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n$content\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_comment_link:desc::trigger:>\n//===========================================================================\nfunction tmpl_comment_link($tid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}showtopic=$tid&amp;view=getlastpost\\\">{$this->ipsclass->lang[\'article_comment\']}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_latestposts:desc::trigger:>\n//===========================================================================\nfunction tmpl_latestposts($posts=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'discuss_title\']}</div>\n	$posts\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_links_wrap:desc::trigger:>\n//===========================================================================\nfunction tmpl_links_wrap($link=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&middot; <a href=\\\"$link\\\">$name</a><br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_onlineusers:desc::trigger:>\n//===========================================================================\nfunction tmpl_onlineusers($breakdown=\"\",$split=\"\",$names=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Online\\\">{$this->ipsclass->lang[\'online_title\']}</a></div>\n	<div class=\\\"tablepad\\\">\n		<span class=\\\"desc\\\">$breakdown<br />$split<br />$names</span>\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_poll_wrapper:desc::trigger:>\n//===========================================================================\nfunction tmpl_poll_wrapper($content=\"\",$tid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}showtopic=$tid\\\">{$this->ipsclass->lang[\'poll_title\']}</a></div>\n	$content\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_readmore_link:desc::trigger:>\n//===========================================================================\nfunction tmpl_readmore_link($tid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"...<a href=\\\"{$this->ipsclass->base_url}showtopic=$tid\\\">{$this->ipsclass->lang[\'article_readmore\']}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_recentarticles:desc::trigger:>\n//===========================================================================\nfunction tmpl_recentarticles($articles=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'recent_title\']}</div>\n	$articles\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_sitenav:desc::trigger:>\n//===========================================================================\nfunction tmpl_sitenav($links=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'links_title\']}</div>\n	<div class=\\\"tablepad\\\">\n		$links\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_skin_select_bottom:desc::trigger:>\n//===========================================================================\nfunction tmpl_skin_select_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_skin_select_top:desc::trigger:>\n//===========================================================================\nfunction tmpl_skin_select_top() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<select name=\\\"skinid\\\" onchange=\\\"window.location=\'{$this->ipsclass->vars[\'dynamiclite\']}&amp;s={$this->ipsclass->session_id}&amp;setskin=1&amp;skinid=\' + this.value\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_topic_row:desc::trigger:>\n//===========================================================================\nfunction tmpl_topic_row($tid=\"\",$title=\"\",$posts=\"\",$views=\"\",$mid=\"\",$mname=\"\",$date=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">\n	<b><a href=\\\"{$this->ipsclass->base_url}showtopic=$tid\\\">$title</a></b>\n</div>\n<div class=\\\"tablepad\\\">\n	<a href=\\\"{$this->ipsclass->base_url}showuser=$mid\\\">$mname</a> &#064; $date\n	<br />{$this->ipsclass->lang[\'recent_read\']}: $views &nbsp; {$this->ipsclass->lang[\'recent_comments\']}: $posts\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:tmpl_wrap_avatar:desc::trigger:>\n//===========================================================================\nfunction tmpl_wrap_avatar($avatar=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"$avatar\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('7d1964ce9b2654b54417abf9eb7effc4','skin_post','class skin_post_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:add_edit_box:desc::trigger:>\n//===========================================================================\nfunction add_edit_box($checked=\"\",$show_reason=0,$post_edit_reason=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'row1\' style=\'text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'edit_ops\']}</strong>\n		\" . (($show_reason) ? (\"\n			<br /><br />\n			{$this->ipsclass->lang[\'reason_for_edit\']}\n		\") : (\"\")) . \"			\n	</td>\n	<td class=\'row2\'>\n		<input type=\\\"checkbox\\\" name=\\\"add_edit\\\" value=\\\"1\\\" $checked class=\\\"checkbox\\\" />&nbsp;{$this->ipsclass->lang[\'append_edit\']}\n		\" . (($show_reason) ? (\"\n			<br /><br />\n			<input type=\\\"input\\\" name=\\\"post_edit_reason\\\" value=\\\"{$post_edit_reason}\\\" size=\'40\' maxlength=\'250\' />\n		\") : (\"\")) . \"\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:attach_current_item:desc::trigger:>\n//===========================================================================\nfunction attach_current_item($id=\"\",$name=\"\",$human_size=\"\",$mime_image=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"parent.ipsattach.add_current_item( \'{$id}\', \'{$name}\', \'{$human_size}\', \'{$mime_image}\' );\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:attach_wrapper:desc::trigger:>\n//===========================================================================\nfunction attach_wrapper($current_items=\"\",$attach_rel_module=\"\",$attach_rel_id=\"\",$attach_post_key=\"\",$attach_stats=\"\",$msg=\'\',$is_error=0,$extra_url=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\'text/javascript\'>\n//<![CDATA[\n// Populate menu\nparent.ipsattach.current_items   = new Array();\n{$current_items}\n// Set up vars\nparent.ipsattach.can_upload      = parseInt(\\\"{$attach_stats[\'allow_uploads\']}\\\");\nparent.ipsattach.status_msg      = \\\"{$msg}\\\";\nparent.ipsattach.status_is_error = parseInt(\\\"{$is_error}\\\");\n//]]>\n</script>\n<form id=\'mainform\' enctype=\'multipart/form-data\' action=\'{$this->ipsclass->base_url}&amp;act=attach&amp;code=attach_upload_process&amp;attach_rel_module={$attach_rel_module}&amp;attach_rel_id={$attach_rel_id}&amp;attach_post_key={$attach_post_key}{$extra_url}\' method=\'POST\'>\n<input type=\'hidden\' name=\'MAX_FILE_SIZE\' value=\'100000000\' />\n<div style=\'padding:8px 2px 0px 2px;\'>\n	<table cellpadding=\'0\' cellspacing=\'0\' border=\'0\' width=\'100%\'>\n	<tr>\n	  <td width=\'10%\' nowrap=\'nowrap\'><strong>{$this->ipsclass->lang[\'attach_select_file\']}</strong></td>\n	  <td width=\'90%\' align=\'right\' valign=\'bottom\'><input type=\'file\' id=\'ipb-file-upload-box\' size=\'30\' onblur=\'parent.ipsattach.has_upload_pending=this.value;\' name=\'FILE_UPLOAD\' /> <input class=\'input-ok-content\' style=\'margin:0px;padding:2px\' type=\'submit\' value=\'{$this->ipsclass->lang[\'attach_but_upload\']}\' /></td>\n	</tr>\n	</table>\n	<table cellpadding=\'0\' cellspacing=\'0\' border=\'0\' width=\'100%\'>\n	<tr>\n	 <td width=\'90%\'><div class=\'desc\'>{$this->ipsclass->lang[\'attach_space_used\']} <strong>{$attach_stats[\'space_used_human\']}</strong> {$this->ipsclass->lang[\'attach_space_of\']} <strong>{$attach_stats[\'total_space_allowed_human\']}</strong></div></td>\n	 <td nowrap=\'nowrap\' width=\'10%\' align=\'right\'>{$this->ipsclass->lang[\'max_single_attach\']}: <strong>{$attach_stats[\'max_single_upload_human\']}</strong></td>\n	</tr>\n	</table>\n</div>\n</form>\n<script type=\'text/javascript\'>\n//<![CDATA[\n// Add form\'s onsubmit handler\ndocument.getElementById(\'mainform\').onsubmit = function (e) { parent.ipsattach.iframe_on_un_load(); return true; }\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bot_antispam_gd:desc::trigger:>\n//===========================================================================\nfunction bot_antispam_gd($imgid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input type=\\\"hidden\\\" name=\\\"imgid\\\" id=\'regid\' value=\\\"{$imgid}\\\" />\n<img id=\'gd-antispam\' src=\\\"{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}\\\" alt=\\\"{$this->ipsclass->lang[\'alt_loadingimg\']}\\\" title=\\\"{$this->ipsclass->lang[\'gbl_gd_reload\']}\\\" />\n<script type=\'text/javascript\'>\n	init_gd_image();\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bot_antispam_gif:desc::trigger:>\n//===========================================================================\nfunction bot_antispam_gif($imgid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<input type=\\\"hidden\\\" name=\\\"imgid\\\" value=\\\"{$imgid}\\\" />\n					<img src=\\\"{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=1\\\" alt=\\\"Code Bit\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=2\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=3\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=4\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=5\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\n					&nbsp;<img src=\\\"{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=6\\\" alt=\\\"{$this->ipsclass->lang[\'alt_codebit\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:EndForm:desc::trigger:>\n//===========================================================================\nfunction EndForm($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\">\n			<input type=\\\"submit\\\" name=\\\"dosubmit\\\" value=\\\"$data\\\" tabindex=\\\"7\\\" class=\\\"button\\\" accesskey=\\\"s\\\"  />&nbsp;\n			<input type=\\\"submit\\\" name=\\\"preview\\\" value=\\\"{$this->ipsclass->lang[\'button_preview\']}\\\" tabindex=\\\"8\\\" class=\\\"button\\\" />\n		</td>\n	</tr>\n</table>\n</div>\n</form>\n<br style=\\\"clear: all;\\\" />\";\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:get_box_alreadytrack:desc::trigger:>\n//===========================================================================\nfunction get_box_alreadytrack() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n{$this->ipsclass->lang[\'already_sub\']}\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:get_box_enableemo:desc::trigger:>\n//===========================================================================\nfunction get_box_enableemo($checked=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<input type=\\\"checkbox\\\" name=\\\"enableemo\\\" class=\\\"checkbox\\\" value=\\\"yes\\\" $checked />&nbsp;{$this->ipsclass->lang[\'enable_emo\']}\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:get_box_enablesig:desc::trigger:>\n//===========================================================================\nfunction get_box_enablesig($checked=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<input type=\\\"checkbox\\\" name=\\\"enablesig\\\" class=\\\"checkbox\\\" value=\\\"yes\\\" $checked />&nbsp;{$this->ipsclass->lang[\'enable_sig\']}\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:get_box_enabletrack:desc::trigger:>\n//===========================================================================\nfunction get_box_enabletrack($checked=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<input type=\\\"checkbox\\\" name=\\\"enabletrack\\\" class=\\\"checkbox\\\" value=\\\"1\\\" $checked />&nbsp;{$this->ipsclass->lang[\'enable_track\']}\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:get_box_html:desc::trigger:>\n//===========================================================================\nfunction get_box_html($selected=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<select name=\\\"post_htmlstatus\\\" class=\\\"dropdown\\\">\n	<option value=\\\"0\\\"{$selected[0]}>{$this->ipsclass->lang[\'pp_nohtml\']}</option>\n	<option value=\\\"1\\\"{$selected[1]}>{$this->ipsclass->lang[\'pp_html1\']}</option>\n	<option value=\\\"2\\\"{$selected[2]}>{$this->ipsclass->lang[\'pp_html2\']}</option>\n</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:guest_captcha:desc::trigger:>\n//===========================================================================\nfunction guest_captcha() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'row1\' align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'guest_captcha\']}</strong>\n	</td>\n	<td class=\'row2\' align=\\\"left\\\" width=\'80%\'>\n	 <table>\n	 	<tr>\n	 		<td width=\'40%\'>\n	 			<input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"10\\\" name=\\\"captcha\\\" value=\\\"\\\" class=\\\"textinput\\\" /><br />\n	 			{$this->ipsclass->lang[\'captcha_explain\']}\n	 		</td>\n	 		<td><!--CAPTCHA.IMAGE--></td>\n	 	</tr>\n	 </table>\n	</td>\n   </tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:inline_edit_quick_box:desc::trigger:>\n//===========================================================================\nfunction inline_edit_quick_box($post=\"\",$pid=0,$error_msg=\"\",$show_reason=0,$post_edit_reason=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form id=\'quick-edit-form-$pid\' style=\'display:block\'>\n\" . (($error_msg != \"\") ? (\"\n<div class=\'input-warn-content\'>{$error_msg}</div>\n\") : (\"\")) . \"\n<div id=\'{$pid}-controls\' align=\'center\' style=\'width:95%;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=\\\"{$pid}_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=\\\"{$pid}_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=\\\"{$pid}_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=\\\"{$pid}_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=\\\"{$pid}_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=\\\"{$pid}_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=\\\"{$pid}_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=\\\"{$pid}_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=\\\"{$pid}_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=\\\"{$pid}_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%\' name=\'Post\' tabindex=\'1\' id=\'{$pid}_textarea\' class=\'rte-iframe\' cols=\'80\' rows=\'15\'>{$post}</textarea>\n   </div>\n   <div style=\'height:30px\'>\n	   <div style=\'float:right;\'>\n	     <div class=\'rte-menu-button\' style=\'width:110px;font-size:10px;padding-right:2px;text-align:left\'><a href=\'#\' style=\'text-decoration:none\' onclick=\'ajax_fulleditor_for_edit( $pid ); return false\'><img src=\'style_images/<#IMG_DIR#>/folder_editor_images/rte-redo.png\' style=\'vertical-align:middle;padding-bottom:2px\' alt=\'\' /> {$this->ipsclass->lang[\'qe_full_edit\']}</a></div>\n	   </div>\n	   <div style=\'float:right;margin-right:4px;\'>\n	     <div class=\'rte-menu-button\' style=\'width:100px;font-size:10px;padding-right:2px;text-align:left\'><a href=\'#\' style=\'text-decoration:none\' onclick=\'ajax_cancel_for_edit( $pid ); return false\'><img src=\'style_images/<#IMG_DIR#>/folder_editor_images/rte-error.png\' style=\'vertical-align:middle;padding-bottom:2px\' alt=\'\' /> {$this->ipsclass->lang[\'qe_cancel_edit\']}</a></div>\n	   </div>\n	   <div style=\'float:right;margin-right:4px;\'>\n		 <div class=\'rte-menu-button\' tabindex=\'2\' onkeydown=\'if (event.keyCode == 13) { ajax_save_for_edit( $pid ); return false; }\'  style=\'width:108px;font-size:10px;padding-right:2px;text-align:left\'><a href=\'#\' style=\'text-decoration:none\' onclick=\'ajax_save_for_edit( $pid ); return false\'><img src=\'style_images/<#IMG_DIR#>/folder_editor_images/rte-ok.png\' style=\'vertical-align:middle;padding-bottom:2px\' alt=\'\' /> {$this->ipsclass->lang[\'qe_complete_edit\']}</a></div>\n	   </div>\n		\" . (($show_reason) ? (\"\n			<div style=\'text-align:left\'>\n				{$this->ipsclass->lang[\'reason_for_edit\']}: <input type=\'text\' size=\'35\' maxlength=\'250\' id=\'post_edit_reason\' name=\'post_edit_reason\' value=\'$post_edit_reason\' />\n			</div>\n		\") : (\"\")) . \"\n   </div>\n</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mod_options:desc::trigger:>\n//===========================================================================\nfunction mod_options($jump=\"\",$can_set_open_time=\"\",$can_set_close_time=\"\",$mytimes=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--start-->\n\" . (($jump != \"\") ? (\"\n<tr>\n	<td class=\'row1\' style=\'text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'mod_options\']}</strong>\n	</td>\n	<td class=\'row2\'>\n		&nbsp;{$jump}</select>\n	</td>\n</tr>\n\") : (\"\")) . \"\n<!--middle-->\n\" . (($can_set_open_time == 1) ? (\"\n<tr>\n	<td class=\'row1\' style=\'text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'mod_open_time\']}</strong><br />\n		<span class=\'desc\'>{$this->ipsclass->lang[\'post_optional\']}</span>\n	</td>\n	<td class=\'row2\'>\n		<span class=\'desc\'>{$this->ipsclass->lang[\'mod_date_format\']}</span> &nbsp; <input type=\'text\' size=\'11\' name=\'open_time_date\' value=\'{$mytimes[\'open_date\']}\' /> &nbsp; <span class=\'desc\'>{$this->ipsclass->lang[\'mod_time_format\']}</span> &nbsp; <input type=\'text\' size=\'5\' name=\'open_time_time\' value=\'{$mytimes[\'open_time\']}\' />\n	</td>\n</tr>\n\") : (\"\")) . \"\n\n\" . (($can_set_close_time == 1) ? (\"\n<tr>\n	<td class=\'row1\' style=\'text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'mod_close_time\']}</strong><br />\n		<span class=\'desc\'>{$this->ipsclass->lang[\'post_optional\']}</span>\n	</td>\n	<td class=\'row2\'>\n		<span class=\'desc\'>{$this->ipsclass->lang[\'mod_date_format\']}</span> &nbsp; <input type=\'text\' size=\'11\' name=\'close_time_date\' value=\'{$mytimes[\'close_date\']}\' /> &nbsp; <span class=\'desc\'>{$this->ipsclass->lang[\'mod_time_format\']}</span> &nbsp; <input type=\'text\' size=\'5\' name=\'close_time_time\' value=\'{$mytimes[\'close_time\']}\' /></span>\n	</td>\n</tr>\n\") : (\"\")) . \"\n<!--end-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:nameField_reg:desc::trigger:>\n//===========================================================================\nfunction nameField_reg() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- REG NAME -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:nameField_unreg:desc::trigger:>\n//===========================================================================\nfunction nameField_unreg($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'subtitle\' colspan=\'2\'>Name</td>\n</tr>\n<tr>\n	<td class=\'row1\' style=\'text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'guest_name\']}</strong>\n	</td>\n	<td class=\'row2\'>\n		<input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"40\\\" name=\\\"UserName\\\" value=\\\"$data\\\" class=\\\"textinput\\\" />\n	</td>\n</tr>\n<!--GUEST.CAPTCHA-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_box:desc::trigger:>\n//===========================================================================\nfunction poll_box($max_poll_questions=\"\",$max_poll_choices=\"\",$poll_questions=\"\",$poll_choices=\"\",$poll_votes=\"\",$show_open=\"\",$poll_question=\"\",$is_mod=0,$poll_multi=\"\",$poll_only=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_poll.js\\\"></script>\n <script type=\\\"text/javascript\\\">\n  var showfullonload     = parseInt(\\\"{$show_open}\\\");\n  var is_mod             = parseInt(\\\"{$is_mod}\\\");\n  \n  // Questions\n  var poll_questions     =\n  {\n{$poll_questions}\n  };\n  \n  var poll_choices       = \n  {\n{$poll_choices}\n  };\n  \n  var poll_votes       = \n  {\n{$poll_votes}\n  };\n  var poll_multi       = \n  {\n{$poll_multi}\n  };\n  \n  // Setting elements\n  var max_poll_questions = parseInt(\\\"{$max_poll_questions}\\\");\n  var max_poll_choices   = parseInt(\\\"{$max_poll_choices}\\\");\n  \n  // HTML elements\n  var html_add_question     = \\\"[<a href=\'#\' title=\'{$this->ipsclass->lang[\'poll_tt_add_question\']}\' style=\'color:green;font-weight:bold\' onclick=\'return poll_add_question()\'>{$this->ipsclass->lang[\'poll_tt_add_question\']}</a>]\\\";\n  var html_add_choice       = \\\"<li>&nbsp;[<a href=\'#\' title=\'{$this->ipsclass->lang[\'poll_tt_add_choice\']}\' style=\'color:green;font-weight:bold\' onclick=\'return poll_add_choice(\\\"+\'\\\"\'+\'<%1>\'+\'\\\"\'+\\\")\'>{$this->ipsclass->lang[\'poll_tt_add_choice\']}</a>]</li>\\\";\n  var html_question_box     = \\\"<input type=\'text\' id=\'question_<%1>\' name=\'question[<%1>]\' size=\'50\' class=\'input\' value=\'<%2>\' /> [<a href=\'#\' title=\'{$this->ipsclass->lang[\'poll_tt_remove_question\']}\' style=\'color:red;font-weight:bold\' onclick=\'return poll_remove_question(\\\"+\'\\\"\'+\'<%1>\'+\'\\\"\'+\\\")\'>X</a>]<br /><input class=\'checkbox\' type=\'checkbox\' id=\'multi_<%1>\' name=\'multi[<%1>]\' value=\'1\' <%3> /><span class=\'forumdesc\'>{$this->ipsclass->lang[\'poll_multichoice\']}</span>\\\";\n  var html_votes_box        = \\\"&nbsp;<input type=\'text\' id=\'votes_<%1>_<%2>\' name=\'votes[<%1>_<%2>]\' size=\'5\' class=\'input\' value=\'<%3>\' />\\\";\n  var html_choice_box       = \\\"<li><input type=\'text\' id=\'choice_<%1>_<%2>\' name=\'choice[<%1>_<%2>]\' size=\'35\' class=\'input\' value=\'<%3>\' /><%4> [<a href=\'#\' title=\'{$this->ipsclass->lang[\'poll_tt_remove_choice\']}\' style=\'color:red;font-weight:bold\' onclick=\'return poll_remove_choice(\\\"+\'\\\"\'+\'<%1>_<%2>\'+\'\\\"\'+\\\")\'>X</a>]</li>\\\";\n  var html_choice_wrap      = \\\"<ol><%1></ol>\\\";\n  var html_question_wrap    = \\\"<div><%1></div>\\\";\n  var html_stat_wrap        = \\\"<br /><div><%1></div>\\\";\n  \n  // Lang elements\n  var js_lang_confirm    = \\\"{$this->ipsclass->lang[\'poll_tt_confirm\']}\\\";\n  var poll_stat_lang     = \\\"{$this->ipsclass->lang[\'poll_tt_stat_lang\']}\\\";\n </script>\n\n<tr>\n        <td class=\'subtitle\' colspan=\'2\'>{$this->ipsclass->lang[\'pro_poll\']}</td>\n</tr>\n<tr>\n	<td class=\'row1\' style=\'text-align: right; vertical-align: top\'>\n		<strong>{$this->ipsclass->lang[\'poll_fs_options\']}</strong>\n	</td>\n	<td class=\'row2\'>\n		<div id=\'poll-box-closed\' style=\'display: none\'>\n			<a href=\'#\' onclick=\'show_poll_form(); return false;\'>{$this->ipsclass->lang[\'poll_manage_link\']}</a>\n		</div>\n		<div id=\'poll-box-open\' style=\'display: none\'>\n			<fieldset>\n		     	<legend><strong>{$this->ipsclass->lang[\'poll_fs_title\']}</strong></legend>\n		     	<input type=\'text\' size=\'40\' class=\'input\' name=\'poll_question\' value=\'{$poll_question}\' />\n		    </fieldset>\n		\" . (($this->ipsclass->vars[\'ipb_poll_only\']==1) ? (\"\n			<fieldset>\n		     	<legend><strong>{$this->ipsclass->lang[\'poll_only_title\']}</strong></legend>\n		     	<input class=\'checkbox\' type=\'checkbox\' name=\'poll_only\' value=\'1\' {$poll_only} /> <span class=\'forumdesc\'>{$this->ipsclass->lang[\'poll_only_desc\']}<span>\n		    </fieldset>\n		\") : (\"\")) . \"\n		    <!-- MAIN POLL AREA -->\n		    <fieldset>\n		     	<legend><strong>{$this->ipsclass->lang[\'poll_fs_content\']}</strong></legend>\n		      	<div id=\'poll-box-main\'>\n\n		     	</div>\n		    </fieldset>\n		    <!-- MAIN POLL AREA -->\n		    <br />\n		    <a href=\'#\' onclick=\'close_poll_form(); return false;\'>{$this->ipsclass->lang[\'poll_fs_close\']}</a>\n		    <div id=\'poll-box-stat\'></div>\n		</div>\n	</td>\n</tr>\n<!-- INIT DIVS -->\n <script type=\\\"text/javascript\\\">\n  poll_init_state();\n </script>\n <!--/ INIT DIVS -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_end_form:desc::trigger:>\n//===========================================================================\nfunction poll_end_form($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"$data\\\" tabindex=\\\"4\\\" class=\\\"button\\\" accesskey=\\\"s\\\" />&nbsp;</td>\n	</tr>\n</table>\n</form>\n<br style=\\\"clear: all;\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:poll_options:desc::trigger:>\n//===========================================================================\nfunction poll_options() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<input type=\\\"checkbox\\\" size=\\\"40\\\" value=\\\"1\\\" name=\\\"allow_disc\\\" class=\\\"checkbox\\\" />&nbsp;{$this->ipsclass->lang[\'poll_only\']}\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:postbox_wrap:desc::trigger:>\n//===========================================================================\nfunction postbox_wrap($editor_html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'subtitle\' colspan=\'2\'>{$this->ipsclass->lang[\'pro_post\']}</td>\n</tr>\n<tr>\n	<td class=\'row2\' colspan=\'2\'>\n		\" . (($this->ipsclass->browser[\'browser\'] == \'ie\' AND $this->ipsclass->browser[\'version\'] >= 7.0) ? (\"\n			<div>\n		\") : (\"\n			<div>\n		\")) . \"			 				\n				{$editor_html}\n				<!--UPLOAD FIELD-->\n			</div>\n	</td>\n</tr>\n<tr>\n	<td class=\'subtitle\' colspan=\'2\'>{$this->ipsclass->lang[\'pro_postops\']}</td>\n</tr>\n<tr>\n	<td class=\'row1\' style=\'text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'po_options\']}</strong>\n	</td>\n	<td class=\'row2\'>\n		<!--IBF.HTML-->\n		<!--IBF.EMO-->\n		<!--IBF.SIG-->\n		<!--IBF.TRACK-->\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:PostIcons:desc::trigger:>\n//===========================================================================\nfunction PostIcons() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'row1\' style=\'text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'post_icon\']}</strong><br />\n		<span class=\'desc\'>{$this->ipsclass->lang[\'post_optional\']}</span>\n	</td>\n	<td class=\'row2\'>\n		<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"1\\\" />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon1.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"2\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon2.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"3\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon3.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"4\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon4.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"5\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon5.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"6\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon6.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"7\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon7.gif\\\"  align=\'middle\' alt=\'\' /><br />\n		  <input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"8\\\" />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon8.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"9\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon9.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"10\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon10.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"11\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon11.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"12\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon12.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"13\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon13.gif\\\"  align=\'middle\' alt=\'\' />&nbsp;&nbsp;&nbsp;<input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"14\\\"  />&nbsp;&nbsp;<img src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_post_icons/icon14.gif\\\"  align=\'middle\' alt=\'\' /><br />\n	      <input type=\\\"radio\\\" class=\\\"radiobutton\\\" name=\\\"iconid\\\" value=\\\"0\\\" checked=\\\"checked\\\" />&nbsp;&nbsp;{$this->ipsclass->lang[\'picons_none\']}\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:preview:desc::trigger:>\n//===========================================================================\nfunction preview($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'post_preview\']}</div>\n	<div class=\\\"row1\\\" style=\'padding-bottom:1px;\'>\n		<div class=\\\"postcolor\\\" style=\'padding:4px;\'>$data</div>\n	</div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:table_structure:desc::trigger:>\n//===========================================================================\nfunction table_structure() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--FORUM RULES--><br />\n<!--START TABLE-->\n<!--NAME FIELDS-->\n<!--TOPIC TITLE-->\n<!--POLL BOX-->\n<!--POST BOX-->\n<!--MOD OPTIONS-->\n<!--POST ICONS-->\n<!--END TABLE-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:table_top:desc::trigger:>\n//===========================================================================\nfunction table_top($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n<table cellspacing=\\\"0\\\" class=\'ipbtable\'>\n<tr>\n	<td class=\\\"maintitle\\\" colspan=\\\"2\\\">$data</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:TopicSummary_body:desc::trigger:>\n//===========================================================================\nfunction TopicSummary_body($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"post_head\\\" valign=\\\"top\\\" width=\\\"20%\\\"><b>{$data[\'author\']}</b></td>\n		<td class=\\\"post_head\\\" valign=\\\"top\\\" width=\\\"80%\\\">{$this->ipsclass->lang[\'posted_on\']} {$data[\'date\']}</td>\n	</tr>\n	<tr>\n		<td class=\\\"post1 post_left\\\" valign=\\\"top\\\" width=\\\"20%\\\">&nbsp;</td>\n		<td class=\\\"post1\\\" valign=\\\"top\\\" width=\\\"80%\\\"><span class=\\\"postcolor\\\">{$data[\'post\']}</span></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topicsummary_body_hidden:desc::trigger:>\n//===========================================================================\nfunction topicsummary_body_hidden($data=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"post_head\\\" valign=\\\"top\\\" width=\\\"20%\\\"><b>{$data[\'author\']}</b></td>\n		<td class=\\\"post_head\\\" valign=\\\"top\\\" width=\\\"80%\\\">{$this->ipsclass->lang[\'posted_on\']} {$data[\'date\']}</td>\n	</tr>\n	<tr>\n		<td class=\\\"post1 post_left\\\" valign=\\\"top\\\" width=\\\"20%\\\">&nbsp;</td>\n		<td class=\\\"post1\\\" valign=\\\"top\\\" width=\\\"80%\\\"><span class=\\\"postcolor\\\">{$this->ipsclass->lang[\'ignore_first_line\']} {$data[\'members_display_name\']}.</span></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:TopicSummary_bottom:desc::trigger:>\n//===========================================================================\nfunction TopicSummary_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><a href=\\\"javascript:PopUp(\'index.{$this->ipsclass->vars[\'php_ext\']}?act=ST&amp;f={$this->ipsclass->input[\'f\']}&amp;t={$this->ipsclass->input[\'t\']}\',\'TopicSummary\',700,450,1,1)\\\">{$this->ipsclass->lang[\'review_topic\']}</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:TopicSummary_top:desc::trigger:>\n//===========================================================================\nfunction TopicSummary_top() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\n<br />\n<div class=\\\"borderwrap\\\">\n  <div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'last_posts\']}</div>\n  <table class=\'ipbtable\' cellspacing=\\\"0\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topictitle_fields:desc::trigger:>\n//===========================================================================\nfunction topictitle_fields($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'subtitle\' colspan=\'2\'>Topic Details</td>\n</tr>\n<tr>\n 	<td class=\'row1\' style=\'width: 20%; text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'topic_title\']}</strong>\n 	</td>\n	<td class=\'row2\'>\n		<input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"{$this->ipsclass->vars[\'topic_title_max_len\']}\\\" name=\\\"TopicTitle\\\" value=\\\"{$data[\'TITLE\']}\\\" tabindex=\\\"1\\\" />\n	</td>\n</tr>\n<tr>\n	<td class=\'row1\' style=\'text-align: right\'>\n		<strong>{$this->ipsclass->lang[\'topic_desc\']}</strong>\n	</td>\n	<td class=\'row2\'>\n		<input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"70\\\" name=\\\"TopicDesc\\\" value=\\\"{$data[\'DESC\']}\\\" tabindex=\\\"2\\\" />\n		<span class=\'desc\'>{$this->ipsclass->lang[\'post_optional\']}</span>\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Upload_field:desc::trigger:>\n//===========================================================================\nfunction Upload_field($post_key=\"\",$type=\"\",$id=\"\",$forum_id=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\'subtitle\' colspan=\'2\'>{$this->ipsclass->lang[\'pro_attach\']}</td>\n</tr>\n<tr>\n	<td class=\'row2\' colspan=\'2\'>\n		\n\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ips_attach.js\'></script>\n	\n		<!-- ATTACH -->\n		 <div id=\'ips-attach-div-parent\' class=\'attach-parentdiv\' style=\'display:none;clear:both\'>\n		 	<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\" style=\'padding:0px\'>\n			 <tr>\n			  <td width=\'1%\' style=\'padding:0px\' nowrap=\'nowrap\'><img class=\\\"ipd\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_attach_images/attach_logo.png\\\"  border=\\\"0\\\" alt=\\\"\\\" /> <strong>{$this->ipsclass->lang[\'attach_header\']}</strong></td>\n			  <td width=\'99%\' style=\'padding:0px\' align=\'right\'>\n				<div class=\'attach-menubutton\' id=\'ips-attach-menu\' style=\'margin-right:2px;width:293px;\'>\n					<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\" style=\'padding:0px\'>\n					<tr>\n						<td style=\'padding:0px\'><div style=\'width:265px;text-align:left;font-size:10px;\'>{$this->ipsclass->lang[\'attach_manage_current\']} <span id=\'ips-attach-menu-text\'>(0)</span></div></td>\n						<td style=\'padding:0px\' align=\'right\'><img class=\\\"ipd\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_editor_images/icon_open.gif\\\"  border=\\\"0\\\" alt=\\\"\\\" /></td>\n					</tr>\n					</table>\n				</div>\n			  </td>\n			 </tr>\n			 </table>\n		 	 <div id=\'ips-attach-div-iframe\' style=\'height:67px;width:100%;text-align:center\'></div>\n			 <div id=\'ips-attach-div-status\' style=\'height:20px;width:100%;text-align:left;font-weight:bold\'></div>\n		 </div>\n		 <!-- ATTACH -->\n		 <!-- Status DIV -->\n		 <div id=\\\"ips-attach-message\\\" style=\'display:none;z-index:999;\' class=\'attach-messagediv\'>\n			<br />\n			<br />\n			<img class=\\\"ipd\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/folder_attach_images/attach_wait.gif\\\"  border=\\\"0\\\" alt=\\\"\\\" />\n			<br />\n			<br />\n			<span class=\'attach-msg-span\' id=\'ips-attach-message-span\'>&nbsp;</span><br clear=\'all\' /><br />\n		 </div>\n			<script type=\\\"text/javascript\\\">\n			//<![CDATA[\n			// INIT and such\n			ipsattach.iframe_init_url    = \\\"{$this->ipsclass->base_url}&act=attach&code=attach_upload_show&attach_rel_module={$type}&attach_rel_id={$id}&attach_post_key={$post_key}&--ff--forum_id=$forum_id\\\";\n			ipsattach.iframe_remove_url  = \\\"{$this->ipsclass->base_url}&act=attach&code=attach_upload_remove&attach_rel_module={$type}&attach_rel_id={$id}&attach_post_key={$post_key}&--ff--forum_id=$forum_id\\\";\n			ipsattach.iframe_classname   = \'attach-iframe\';\n			ipsattach.images_url         = ipb_skin_url;\n			ipsattach.lang =\n			{\n				\'no_items\'            : \'{$this->ipsclass->lang[\'attach_js__no_items\']}\',\n				\'uploading_file\'      : \'{$this->ipsclass->lang[\'attach_js__uploading\']}\',\n				\'init_progress\'       : \'{$this->ipsclass->lang[\'attach_js__init\']}\',\n				\'upload_ok\'           : \\\"{$this->ipsclass->lang[\'attach_js__upload_success\']}\\\",\n				\'upload_failed\'       : \\\"{$this->ipsclass->lang[\'attach_js__upload_fail\']}\\\",\n				\'upload_too_big\'      : \\\"{$this->ipsclass->lang[\'attach_js__upload_fail1\']}\\\",\n				\'invalid_mime_type\'   : \\\"{$this->ipsclass->lang[\'attach_js__upload_fail2\']}\\\",\n				\'no_upload_dir\'       : \\\"{$this->ipsclass->lang[\'attach_js__upload_fail3\']}\\\",\n				\'no_upload_dir_perms\' : \\\"{$this->ipsclass->lang[\'attach_js__upload_fail4\']}\\\",\n				\'upload_no_file\' 	  : \\\"{$this->ipsclass->lang[\'attach_js__upload_fail5\']}\\\",\n				\'ready\'               : \\\"{$this->ipsclass->lang[\'attach_js__ready\']}\\\",\n				\'attach_remove\'       : \\\"{$this->ipsclass->lang[\'attach_js__delete\']}\\\",\n				\'attach_insert\'       : \\\"{$this->ipsclass->lang[\'attach_js__insert\']}\\\",\n				\'remove_warn\'	 	  : \\\"{$this->ipsclass->lang[\'attach_js__confirm\']}\\\",\n				\'attach_removed\'      : \\\"{$this->ipsclass->lang[\'attach_js__isremoved\']}\\\",\n				\'attach_removal\'      : \\\"{$this->ipsclass->lang[\'attach_js__removing\']}\\\"\n			};\n			ipsattach.init();\n			ipsattach.show_attach_box();\n			//]]>\n			</script>\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:uploadbox_entry:desc::trigger:>\n//===========================================================================\nfunction uploadbox_entry($attach=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td width=\\\"1%\\\"><img src=\\\"{$this->ipsclass->vars[\'mime_img\']}/{$attach[\'image\']}\\\" alt=\\\"\\\" /></td>\n		<td width=\\\"35%\\\"><b>{$attach[\'attach_file\']}</b></td>\n		<td width=\\\"20%\\\">({$attach[\'size\']})</td>\n		<td width=\\\"10%\\\"><input type=\\\"submit\\\" name=\\\"removeattach_{$attach[\'attach_id\']}\\\" class=\\\"codebuttons\\\" onclick=\\\"removeattach({$attach[\'attach_id\']})\\\" value=\\\"{$this->ipsclass->lang[\'attach_remove\']}\\\" /></a>\n		<td width=\\\"10%\\\"><input type=\\\"button\\\" name=\\\"id{$attach[\'attach_id\']}\\\" class=\\\"codebuttons\\\" onclick=\\\"insert_attach_to_textarea({$attach[\'attach_id\']})\\\" value=\\\"{$this->ipsclass->lang[\'attach_button\']}\\\" title=\\\"{$this->ipsclass->lang[\'attach_button_title\']}\\\" /></a>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:uploadbox_tableend:desc::trigger:>\n//===========================================================================\nfunction uploadbox_tableend($spaceleft=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</tr>\n</table>\n<i>$spaceleft</i>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:uploadbox_tabletop:desc::trigger:>\n//===========================================================================\nfunction uploadbox_tabletop() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n  <div class=\'borderwrap\' style=\'padding:4px;width:70%;margin-left:4px\'>\n  	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('4720fe04a03d52e359e1fcfb6bd7fbc2','skin_printpage','class skin_printpage_3 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:choose_form:desc::trigger:>\n//===========================================================================\nfunction choose_form($fid=\"\",$tid=\"\",$title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'tvo_title\']}&nbsp;$title</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th>{$this->ipsclass->lang[\'please_choose\']}</th>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\"><b><a href=\\\"{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f=$fid&amp;t=$tid\\\">{$this->ipsclass->lang[\'o_print_title\']}</a></b><br />{$this->ipsclass->lang[\'o_print_desc\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row2\\\"><b><a href=\\\"{$this->ipsclass->base_url}act=Print&amp;client=html&amp;f=$fid&amp;t=$tid\\\">{$this->ipsclass->lang[\'o_html_title\']}</a></b><br />{$this->ipsclass->lang[\'o_html_desc\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\"><b><a href=\\\"{$this->ipsclass->base_url}act=Print&amp;client=wordr&amp;f=$fid&amp;t=$tid\\\">{$this->ipsclass->lang[\'o_word_title\']}</a></b><br />{$this->ipsclass->lang[\'o_word_desc\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"formbuttonrow\\\"><a href=\\\"{$this->ipsclass->base_url}showtopic=$tid\\\">{$this->ipsclass->lang[\'back_topic\']}</a></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:pp_end:desc::trigger:>\n//===========================================================================\nfunction pp_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--Copyright-->\n\" . (($this->ipsclass->vars[\'ipb_copy_number\'] == \'\') ? (\"\n<p class=\\\"printcopy\\\">{$this->ipsclass->lang[\'powered_by\']}Invision Power Board (http://www.invisionboard.com)<br />&copy; Invision Power Services (http://www.invisionpower.com)</p>\n\") : (\"\")) . \"\n	</div>\n</body>\n</html>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pp_header:desc::trigger:>\n//===========================================================================\nfunction pp_header($forum_name=\"\",$topic_title=\"\",$topic_starter=\"\",$fid=\"\",$tid=\"\") {\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={$this->ipsclass->vars[\'gb_char_set\']}\\\" />\n		<title>{$this->ipsclass->vars[\'board_name\']} [{$this->ipsclass->lang[\'powered_by\']}Invision Power Board]</title>\n		<!--IPB.CSS-->\n	</head>\n	<body>\n	<div id=\\\"print\\\">\n		<h1>{$this->ipsclass->lang[\'title\']}</h1>\n		<h2><a href=\\\"{$this->ipsclass->base_url}showtopic=$tid\\\" title=\\\"{$this->ipsclass->lang[\'click_toview\']}\\\">{$this->ipsclass->lang[\'topic_here\']}</a></h2>\n		<h3>{$this->ipsclass->vars[\'board_name\']} _ $forum_name _ $topic_title</h3>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pp_postentry:desc::trigger:>\n//===========================================================================\nfunction pp_postentry($poster=\"\",$entry=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"printpost\\\">\n			<h4>{$this->ipsclass->lang[\'by\']}: <b>{$entry[\'author_name\']}</b> {$this->ipsclass->lang[\'on\']} {$entry[\'post_date\']}</h4>\n			<p>{$entry[\'post\']}\n			<br />\n			<!--IBF.ATTACHMENT_{$entry[\'pid\']}-->\n			</p>\n		</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('05181e7d01ce4d842056a0577c131976','skin_profile','class skin_profile_3 {\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_4903095c3f6ff948145061($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_4903095c3f6ff948145061($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_4903095c40241488527932($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_4903095c40241488527932($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_4903095c4068c154415947($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_4903095c4068c154415947($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\') {\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\' class=\'ipbtable\'>\n<tr>\n	<td style=\'width:210px\' valign=\'top\'>\n	<!-- LEFT TABLE -->\n		<div class=\\\"borderwrap\\\">\n			<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'m_profile_title\']}</div>\n			<div class=\'subtitle\'>{$this->ipsclass->lang[\'get_photo\']}</div>\n			<table cellpadding=\'0\' 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=\'subtitle\'>{$this->ipsclass->lang[\'rating\']}</div>\n				<div class=\'row1\' style=\'padding:6px; padding-left:10px; text-align: center\' id=\'pp-rating-wrapper\'>\n					&nbsp;\n				</div>\n				<!-- / Rating -->\n			\") : (\"\")) . \"\n			\n			<!-- Options -->\n			<div class=\'subtitle\'>{$this->ipsclass->lang[\'options\']}</div>\n			<div class=\'row1\' style=\'padding:6px; 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=\'subtitle\'>{$this->ipsclass->lang[\'m_personal_statement\']}</div>\n			<div class=\'row1\' style=\'padding:6px; 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=\'subtitle\'>{$this->ipsclass->lang[\'m_personal_info\']}</div>\n			<div class=\'row1\' style=\'padding:6px; padding-left:10px\'>{$member[\'members_display_name\']}</div>\n			\" . (($member[\'_title\']!=\'\') ? (\"\n				<div class=\'row1\' style=\'padding:6px; padding-left:10px\'>{$member[\'_title\']}</div>\n			\") : (\"\")) . \"\n			<div class=\'row1\' style=\'padding:6px; 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=\'row1\' style=\'padding:6px; 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=\'row1\' style=\'padding:6px; 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						{$this->ipsclass->lang[\'born_key\']} <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=\'subtitle\'>{$this->ipsclass->lang[\'interests\']}</div>\n				<div class=\'row1\' style=\'padding:6px; 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=\'subtitle\'>{$this->ipsclass->lang[\'m_other_info\']}</div>\n				\".$this->__foreach_loop__id_4903095c413ff507410503($tabs,$member,$comments,$friends,$visitors,$default_tab).\"\n			\") : (\"\")) . \"\n			<!-- / Custom Fields -->\n			\n			<!-- Statistics --> \n			<div class=\'subtitle\'>{$this->ipsclass->lang[\'m_stats_title\']}</div>\n			<div class=\'row1\' style=\'padding:6px; padding-left:10px\'>{$this->ipsclass->lang[\'m_member_since\']} {$member[\'_joined\']}</div>\n			<div class=\'row1\' style=\'padding:6px; 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; 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; padding-left:10px\'>{$this->ipsclass->lang[\'m_local_time_is\']} {$member[\'_local_time\']}</div>\n			\") : (\"\")) . \"\n			<div class=\'row1\' style=\'padding:6px; 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=\'subtitle\'>{$this->ipsclass->lang[\'m_contact_info\']}</div>\n			<div class=\'row1\' style=\'padding:6px; 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; 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; 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; 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; 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_4903095c414bf591492185($tabs,$member,$comments,$friends,$visitors,$default_tab).\"\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 id=\'pp-main-tab-content\' class=\'pp-contentbox-back\'>\n				&nbsp;\n			</div>\n		<!-- / My Stuff -->\n		\n	<!-- / MAIN TABLE -->\n	</td>\n	<td style=\'width:210px;\' valign=\'top\'>\n	<!-- RIGHT TABLE -->\n	<!-- Recent Visitors -->\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'m_title_visitors\']}</div>\n		\" . ((is_array($visitors) and count($visitors)) ? (\"\n			\".$this->__foreach_loop__id_4903095c41573285150687($tabs,$member,$comments,$friends,$visitors,$default_tab).\"\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		\n	</div>\n	<!-- / Recent Visitors -->\n	\n	<br />\n	\n	<!-- Comments -->\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$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		\n	</div>\n	<!-- / Comments -->\n	\n	<br />\n	\n	<!-- Friends -->\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'m_title_friends\']}</div>\n		\" . ((is_array($friends) and count($friends)) ? (\"\n			\".$this->__foreach_loop__id_4903095c41688709574193($tabs,$member,$comments,$friends,$visitors,$default_tab).\"\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	<!-- / Friends -->\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	<!-- / RIGHT TABLE -->\n	</td>\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\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\']}\';\n\n// INIT\nips_personal_portal.init();\n\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//]]>\n</script>\n\" . ((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_4903095c413ff507410503($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\')\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; 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_4903095c414bf591492185($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\')\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_4903095c41573285150687($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\')\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_4903095c41688709574193($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\')\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_4903095c429e3347421506($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_4903095c429e3347421506($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	//]]>\n	</script>\n\") : (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		ips_personal_portal.show_friend_add_or_remove( 1 );\n	//]]>\n	</script>\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:user_edit:desc::trigger:>\n//===========================================================================\nfunction user_edit($info=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\" style=\\\"padding: 5px;\\\">\n		<a href=\\\"{$info[\'base_url\']}act=UserCP&amp;CODE=22\\\">{$this->ipsclass->lang[\'edit_my_sig\']}</a> &middot;\n		<a href=\\\"{$info[\'base_url\']}act=UserCP&amp;CODE=24\\\">{$this->ipsclass->lang[\'edit_avatar\']}</a> &middot;\n		<a href=\\\"{$info[\'base_url\']}act=UserCP&amp;CODE=01\\\">{$this->ipsclass->lang[\'edit_profile\']}</a>\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_level:desc::trigger:>\n//===========================================================================\nfunction warn_level($mid=\"\",$img=\"\",$percent=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'warn_title\']} (<a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=warn&amp;mid={$mid}&amp;CODE=view\',\'Pager\',\'500\',\'450\',\'0\',\'1\',\'1\',\'1\')\\\">{$percent}</a>%) <a href=\\\"{$this->ipsclass->base_url}act=warn&amp;type=minus&amp;mid={$mid}\\\" title=\\\"{$this->ipsclass->lang[\'tt_warn_minus\']}\\\"><{WARN_MINUS}></a>{$img}<a href=\\\"{$this->ipsclass->base_url}act=warn&amp;type=add&amp;mid={$mid}\\\" title=\\\"{$this->ipsclass->lang[\'tt_warn_add\']}\\\"><{WARN_ADD}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_level_no_mod:desc::trigger:>\n//===========================================================================\nfunction warn_level_no_mod($mid=\"\",$img=\"\",$percent=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'warn_level\']}: (<a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=warn&amp;mid={$mid}&amp;CODE=view\',\'Pager\',\'500\',\'450\',\'0\',\'1\',\'1\',\'1\')\\\">{$percent}</a>%) {$img}\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_level_rating:desc::trigger:>\n//===========================================================================\nfunction warn_level_rating($mid=\"\",$level=\"\",$min=0,$max=10) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'warn_level\']}: <a href=\\\"{$this->ipsclass->base_url}act=warn&amp;type=minus&amp;mid={$mid}\\\" title=\\\"{$this->ipsclass->lang[\'tt_warn_minus\']}\\\"><{WARN_MINUS}></a> &lt;&nbsp;$min ( <a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=warn&amp;mid={$mid}&amp;CODE=view\',\'Pager\',\'500\',\'450\',\'0\',\'1\',\'1\',\'1\')\\\">{$level}</a> ) $max&nbsp;&gt; <a href=\\\"{$this->ipsclass->base_url}act=warn&amp;type=add&amp;mid={$mid}\\\" title=\\\"{$this->ipsclass->lang[\'tt_warn_add\']}\\\"><{WARN_ADD}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:warn_level_rating_no_mod:desc::trigger:>\n//===========================================================================\nfunction warn_level_rating_no_mod($mid=\"\",$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={$mid}&amp;CODE=view\',\'Pager\',\'500\',\'450\',\'0\',\'1\',\'1\',\'1\')\\\">{$level}</a> ) $max&nbsp;&gt;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('71fb13c1b47c0053e2741548a56a627f','skin_register','class skin_register_3 {\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_4903095d7262d136279576($coppadate).\"\n			</select>\n			\n			<select name=\'d\'>\n			 <option value=\'0\'>{$this->ipsclass->lang[\'select_day\']}</option>\n			 \".$this->__foreach_loop__id_4903095d726b8296357278($coppadate).\"\n			</select>\n			\n			<select name=\'y\'>\n			 <option value=\'0\'>{$this->ipsclass->lang[\'select_year\']}</option>\n			 \".$this->__foreach_loop__id_4903095d72743021966787($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_4903095d7262d136279576($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_4903095d726b8296357278($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_4903095d72743021966787($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=\\\"subtitle\\\">{$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\\\">{$this->ipsclass->lang[\'lost_pass_form\']}</div>\n	<div class=\\\"subtitle\\\">{$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=\\\"subtitle\\\">{$this->ipsclass->lang[\'complete_form\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td class=\\\"row1\\\" 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=\\\"row1\\\">\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=\\\"formbuttonrow\\\" 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\\\">{$this->ipsclass->lang[\'clogin_title\']}</div>\n	<div class=\\\"subtitle\\\">{$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[\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\']}\\\");\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\\\">{$this->ipsclass->lang[\'registration_process\']}</div>\n	<div class=\\\"subtitle\\\">{$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=\\\"subtitle\\\">{$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=\\\"formbuttonrow\\\" 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=\\\"subtitle\\\">{$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=\\\"subtitle\\\" 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=\\\"subtitle\\\">{$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\\\">{$this->ipsclass->lang[\'lpf_title\']}</div>\n	<div class=\\\"subtitle\\\">{$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\\\">{$this->ipsclass->lang[\'lpf_title\']}</div>\n	<div class=\\\"subtitle\\\">{$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\\\">{$this->ipsclass->lang[\'registration_process\']}</div>\n	<div class=\\\"subtitle\\\">{$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\\\">{$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=\\\"formbuttonrow\\\" 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\\\">{$this->ipsclass->lang[\'rv_title\']}</div>\n	<div class=\\\"subtitle\\\">{$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=\\\"0\\\">\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\\\">{$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}',3),('29ab58ad420df3063f931a44e30059dd','skin_search','class skin_search_3 {\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=\\\"subtitle\\\" width=\\\"50%\\\">{$this->ipsclass->lang[\'key_search\']}</td>\n			<td class=\\\"subtitle\\\" 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=\\\"row2\\\" 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=\\\"subtitle\\\" width=\\\"50%\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'search_where\']}</td>\n			<td class=\\\"subtitle\\\" 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=\\\"row2\\\" 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=\\\"formbuttonrow\\\" 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=\\\"0\\\">\n		<tr>\n			<td width=\\\"150\\\" class=\\\"post_head\\\">\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=\\\"post_head\\\" width=\\\"100%\\\"><span class=\'postdetails\'>{$this->ipsclass->lang[\'rp_postedon\']} {$data[\'post_date\']}</span></td>\n		</tr>\n		<tr>\n			<td class=\\\"{$data[\'class2\']} post_left\\\" 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:auto\'>{$data[\'post\']} <!--IBF.ATTACHMENT_{$data[\'pid\']}--></div></td>\n        </tr>\n        <tr>\n        	<td class=\\\"formbuttonrow\\\">&nbsp;</td>\n        	<td class=\\\"formbuttonrow\\\" style=\'text-align: left\'>\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=\\\"subtitle\\\">\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\\\">{$this->ipsclass->lang[\'search_results\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\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=\\\"subtitle\\\" 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=\\\"subtitle\\\" 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=\\\"formbuttonrow\\\" 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;\\\">{$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=\\\"0\\\">\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}',3),('bce0da7958c85e91b6932fe9405fb4ae','skin_stats','class skin_stats_3 {\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\\\">$group</div>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\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=\\\"row2\\\">$forums</td>\n				<td align=\\\"center\\\" class=\\\"row1\\\">{$info[\'location\']}</td>\n				<td align=\\\"center\\\" class=\\\"row2\\\">{$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\\\">{$this->ipsclass->lang[\'todays_posters\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\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=\\\"row2\\\" valign=\\\"middle\\\">{$info[\'joined\']}</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$info[\'posts\']}</td>\n			<td align=\\\"center\\\" class=\\\"row2\\\" 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=\\\"0\\\">\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=\\\"row2\\\" valign=\\\"middle\\\">{$row[\'pcount\']}</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',3),('f80e9cc8a1c33074730fe428101faa8c','skin_subscriptions','class skin_subscriptions_3 {\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}',3),('aade89f454900d8dbb3f22b316440c29','skin_topic','class skin_topic_3 {\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\\\">{$this->ipsclass->lang[\'announce_title\']}: {$announce[\'announce_title\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td valign=\\\"middle\\\" class=\\\"post_head\\\" 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=\\\"post_head\\\" 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 post_left\\\">\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=\\\"0\\\">\n	<tr>\n		<td valign=\\\"middle\\\" class=\\\"post_head\\\" 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=\\\"post_head\\\" 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\']}&view=findpost&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\']} post_left\\\">\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\\\">\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><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>&nbsp;\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>&nbsp;\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}',3),