\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}',2),('63fec2f0eb77d9cf1520b10b08942cbc','skin_post','class skin_post_2 {\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 colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'edit_ops\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 <input type=\\\"checkbox\\\" name=\\\"add_edit\\\" value=\\\"1\\\" $checked class=\\\"checkbox\\\" />&nbsp;{$this->ipsclass->lang[\'append_edit\']}\n	</td>\n   </tr>\n	\" . (($show_reason) ? (\"\n	<tr>\n		<td align=\\\"right\\\" width=\'20%\'>\n		 	{$this->ipsclass->lang[\'reason_for_edit\']}\n		</td>\n		<td align=\\\"left\\\" width=\'80%\'>\n		 	<input type=\\\"input\\\" name=\\\"post_edit_reason\\\" value=\\\"{$post_edit_reason}\\\" size=\'40\' maxlength=\'250\' />\n		</td>\n	</tr>\n	\") : (\"\")) . \"\n  </table>\n </div>\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 align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'guest_captcha\']}</strong>\n	</td>\n	<td 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 colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'mod_options\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 &nbsp;{$jump}</select>\n	</td>\n   </tr>\n  </table>\n </div>\n </td>\n</tr>\n\") : (\"\")) . \"\n<!--middle-->\n\" . (($can_set_open_time == 1) ? (\"\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'mod_open_time\']}</strong>\n	 <br /><span class=\'desc\'>{$this->ipsclass->lang[\'post_optional\']}</span>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\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  </table>\n </div>\n </td>\n</tr>\n\") : (\"\")) . \"\n\" . (($can_set_close_time == 1) ? (\"\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'mod_close_time\']}</strong>\n	 <br /><span class=\'desc\'>{$this->ipsclass->lang[\'post_optional\']}</span>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\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  </table>\n </div>\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 colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'guest_name\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 <input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"{$this->ipsclass->vars[\'max_user_name_length\']}\\\" name=\\\"UserName\\\" value=\\\"$data\\\" class=\\\"textinput\\\" />\n	</td>\n   </tr>\n   <!--GUEST.CAPTCHA-->\n  </table>\n </div>\n </td>\n</tr>\";\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 .= \"<tr>\n <td colspan=\'2\' align=\'left\' class=\'bg1\'>\n <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 <!--CLOSED DIV-->\n <div align=\'center\' id=\'poll-box-closed\' style=\'display:none\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n  <tr>\n   <td align=\\\"right\\\" valign=\'top\' width=\'20%\'>\n	<strong>{$this->ipsclass->lang[\'poll_fs_options\']}</strong>\n   </td>\n   <td valign=\\\"top\\\" align=\'left\'>\n	<a href=\'#\' onclick=\'show_poll_form(); return false;\'>{$this->ipsclass->lang[\'poll_manage_link\']}</a>\n   </td>\n  </tr>\n </table>\n </div>\n <!--/CLOSED DIV-->\n \n <!--OPEN DIV-->\n <div align=\'center\' id=\'poll-box-open\' style=\'display:none\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n  <tr>\n   <td align=\\\"right\\\" valign=\'top\' width=\'20%\'>\n	<strong>{$this->ipsclass->lang[\'poll_fs_options\']}</strong>\n   </td>\n   <td align=\'left\' valign=\\\"top\\\">\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   </td>\n  </tr>\n </table>\n </div>\n <!--/OPEN DIV-->\n \n <!-- INIT DIVS -->\n <script type=\\\"text/javascript\\\">\n  poll_init_state();\n </script>\n <!--/ INIT DIVS -->\n </td>\n</tr>\";\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 .= \"</table>\n\" . (($this->ipsclass->browser[\'browser\'] == \'ie\' AND $this->ipsclass->browser[\'version\'] >= 7.0) ? (\"\n	<div style=\'padding:0px 4px 0px 4px\' class=\'bg1\'>\n\") : (\"\n	<div style=\'padding:0px 1px 0px 1px\' class=\'bg1\'>\n\")) . \"\n<table cellspacing=\\\"0\\\"  width=\'100%\' style=\'padding:3px\'>\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\' style=\'padding:5px;\'>\n  <tr>\n   <td align=\'center\' valign=\\\"top\\\" width=\'100%\'>\n	{$editor_html}\n	<!--UPLOAD FIELD-->\n   </td>\n  </tr>\n </table>\n </div>\n </td>\n</tr>\n</table>\n</div>\n<table cellspacing=\\\"0\\\" class=\'ipbtable\'>\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" valign=\'top\' width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'po_options\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	    <!--IBF.HTML-->\n		<!--IBF.EMO-->\n		<!--IBF.SIG-->\n		<!--IBF.TRACK-->\n	</td>\n   </tr>\n  </table>\n </div>\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 colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" valign=\'top\' width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'post_icon\']}</strong>\n	 <br /><span class=\'desc\'>{$this->ipsclass->lang[\'post_optional\']}</span>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\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  </table>\n </div>\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=\\\"formsubtitle\\\">{$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\\\">&nbsp;&nbsp;$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=\\\"row2\\\" valign=\\\"top\\\" width=\\\"20%\\\"><b>{$data[\'author\']}</b></td>\n		<td class=\\\"row2\\\" valign=\\\"top\\\" width=\\\"80%\\\">{$this->ipsclass->lang[\'posted_on\']} {$data[\'date\']}</td>\n	</tr>\n	<tr>\n		<td class=\\\"row1\\\" valign=\\\"top\\\" width=\\\"20%\\\">&nbsp;</td>\n		<td class=\\\"row1\\\" 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=\\\"row2\\\" valign=\\\"top\\\" width=\\\"20%\\\"><b>{$data[\'author\']}</b></td>\n		<td class=\\\"row2\\\" valign=\\\"top\\\" width=\\\"80%\\\">{$this->ipsclass->lang[\'posted_on\']} {$data[\'date\']}</td>\n	</tr>\n	<tr>\n		<td class=\\\"row1\\\" valign=\\\"top\\\" width=\\\"20%\\\">&nbsp;</td>\n		<td class=\\\"row1\\\" 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=\\\"1\\\">\";\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 colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'topic_title\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\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 align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'topic_desc\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\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  </table>\n </div>\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 .= \"<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//--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}',2),('7a97baeb46ef0209c5938ad3dbaa4907','skin_printpage','class skin_printpage_2 {\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}',2),('5f1bdf1c27722526687c2af1c7f6f258','skin_poll','class skin_poll_2 {\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=\\\"1\\\">\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=\'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: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\\\" width=\\\"$width\\\" height=\\\"11\\\" 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=\\\"row1\\\" 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}',2),('a3805dbad4afd32173f4d07d1328440f','skin_portal','class skin_portal_2 {\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}',2),('eae7d2a09c208e198c882807c1ffbd9f','skin_msg','class skin_msg_2 {\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=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'member_add\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td 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 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=\\\"formsubtitle\\\" 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=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'member_edit\']}</div>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td valign=\\\"middle\\\"><b>{$data[MEMBER][\'contact_name\']}</b></td>\n			<td 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=\\\"formsubtitle\\\" 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=\\\"formsubtitle\\\">{$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=\\\"1\\\">\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=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'archive_title\']}</div>\n	<p>{$this->ipsclass->lang[\'archive_text\']}</p>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td><b>{$this->ipsclass->lang[\'arc_folders\']}</b></td>\n				<td>$jump_html</td>\n			</tr>\n			<tr>\n				<td><b>{$this->ipsclass->lang[\'arc_dateline\']}</b></td>\n				<td 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><b>{$this->ipsclass->lang[\'arc_max\']}</b></td>\n				<td 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><b>{$this->ipsclass->lang[\'arc_delete\']}</b></td>\n				<td 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><b>{$this->ipsclass->lang[\'arc_type\']}</b></td>\n				<td 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=\\\"formsubtitle\\\" 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=\\\"formsubtitle\\\" 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=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'mi_prune_msg\']}</div>\n	<p>{$this->ipsclass->lang[\'fd_text\']}</p>\n	<div class=\\\"borderwrapm\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\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=\\\"row1\\\" 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=\\\"row1\\\" 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>\";\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=\\\"row1\\\">{$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=\\\"row1\\\">{$msg[\'date\']}</td>\n			<td align=\\\"center\\\" class=\\\"row2\\\"><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=\\\"formsubtitle\\\">$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=\\\"11\\\" align=\\\"middle\\\" alt=\\\"\\\" /><{BAR_RIGHT}></td>\n					</tr>\n					<tr>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" valign=\\\"middle\\\">0%</td>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" align=\\\"center\\\" valign=\\\"middle\\\">50%</td>\n						<td class=\\\"row1\\\" width=\\\"33%\\\" align=\\\"right\\\" valign=\\\"middle\\\">100%</td>\n					</tr>\n				</table>\n			</td>\n			\n			<!-- RIGHT -->\n			<td align=\\\"right\\\" valign=\\\"bottom\\\">\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=\\\"1\\\" 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 colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" valign=\'top\' width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'carbon_copy_title\']}</strong><div class=\'desc\'>{$this->ipsclass->lang[\'carbon_copy_desc\']}</div>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 <textarea name=\\\"carbon_copy\\\" rows=\\\"5\\\" cols=\\\"40\\\" tabindex=\\\"2\\\">$names</textarea><br />\n	 <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;<b>{$this->ipsclass->lang[\'cc_hide_users\']}</b>\n	</td>\n   </tr>\n  </table>\n </div>\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 .= \"</table>\n<table cellspacing=\\\"0\\\" width=\'100%\' style=\'padding:3px\'>\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\' style=\'padding:5px;\'>\n  <tr>\n   <td align=\'center\' valign=\\\"top\\\" style=\'padding:0px\'>\n	{$editor_html}\n	<!--UPLOAD FIELD-->\n   </td>\n  </tr>\n </table>\n </div>\n </td>\n</tr>\n</table>\n<table cellspacing=\\\"0\\\" class=\'ipbtable\'>\";\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=\\\"formsubtitle\\\">{$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=\\\"formsubtitle\\\" 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=\\\"formsubtitle\\\">{$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=\\\"formsubtitle\\\">{$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=\\\"row1\\\" 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=\\\"formsubtitle\\\">{$post[\'mt_title\']}</div>\n	<div class=\\\"borderwrapm\\\">\n		<div class=\\\"subtitle\\\">{$this->ipsclass->lang[\'m_pmessage\']}</div>\n			<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n				<tr>\n					<td valign=\\\"middle\\\" class=\\\"row2\\\">\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=\\\"row2\\\" valign=\\\"middle\\\">\n						<!-- POSTED DATE DIV -->\n						<div class=\\\"row2\\\" style=\'float:left\'>\n							<span class=\\\"postdetails\\\"><b>{$post[\'mt_title\']}</b>, {$post[\'msg_date\']}</span>\n						</div>\n					</td>\n				</tr>\n				<tr>\n					<td valign=\\\"top\\\" class=\\\"post1\\\">\n						<span class=\\\"postdetails\\\">\n							\" . (($author[\'id\'] AND $author[\'avatar\']) ? (\"\n								<a href=\\\"{$this->ipsclass->base_url}showuser={$author[\'id\']}\\\" title=\\\"{$this->ipsclass->lang[\'dd_view_profile\']}\\\">{$author[\'avatar\']}</a><br /><br />\n							\") : (\"\n			        			{$author[\'avatar\']}<br /><br />\n							\")) . \"\n							{$author[\'title\']}<br />\n							{$author[\'member_rank_img\']}<br /><br />\n							{$author[\'member_group\']}<br />\n							{$author[\'member_posts\']}<br />\n							{$author[\'member_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			</table>\n		</div>	\n		<div align=\'right\' style=\'padding:4px;\'>\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		<br />\";\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 class=\'ipbtable\' cellspacing=\\\"0\\\">\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'to_whom\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\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  </table>\n </div>\n </td>\n</tr>\n<!--IBF.MASS_PM_BOX-->\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'msg_title\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 <input type=\\\"text\\\" name=\\\"msg_title\\\" size=\\\"40\\\" tabindex=\\\"3\\\" maxlength=\\\"40\\\" value=\\\"{$data[\'O_TITLE\']}\\\" />\n	</td>\n   </tr>\n  </table>\n </div>\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 colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" valign=\'top\' width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'msg_options\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\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  </table>\n </div>\n </td>\n</tr>\n <tr>\n	 <td class=\\\"formbuttonrow\\\" align=\\\"center\\\" colspan=\\\"2\\\">\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=\\\"row1\\\">{$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=\\\"row1\\\">{$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=\\\"formsubtitle\\\">{$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=\\\"1\\\">\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=\\\"row1\\\">{$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=\\\"row1\\\">{$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=\\\"formsubtitle\\\">{$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=\\\"1\\\">\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=\\\"row1\\\">{$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=\\\"row1\\\">{$data[\'msg\'][\'date\']}</td>\n			<td class=\\\"row1\\\" align=\\\"center\\\">{$data[\'msg\'][\'cc_users\']}</td>\n			<td class=\\\"row1\\\"><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=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'pms_saved_title\']}</div>\n<br />\n<div class=\\\"borderwrapm\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\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}',2),('4af5a99e4fc374ec35ddbe1e40e295d6','skin_online','class skin_online_2 {\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\\\">&nbsp;&nbsp;{$this->ipsclass->lang[\'page_title\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\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=\\\"row1\\\">{$session[\'where_line\']}</td>\n				<td class=\\\"row1\\\" align=\\\"center\\\">{$session[\'running_time\']}</td>\n				<td class=\\\"row1\\\" align=\\\"center\\\">{$session[\'msg_icon\']}</td>\n			</tr>\n<!-- End of Entry -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('21ca94b746ba61d3a96658dc473dced6','skin_mlist','class skin_mlist_2 {\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\\\" style=\'padding:1px;\'>\n		<div class=\\\"pp-title\\\" 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=\\\"formsubtitle\\\">{$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\\\" style=\'padding:1px\'>\n	<div class=\\\"pp-title\\\" 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_4903094cb6971765884679($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_4903094cb6971765884679($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}',2),('338d2a940ee82aaf7d2f1125349d7a22','skin_mod','class skin_mod_2 {\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=\\\"pformleftw\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'w_reason\']}</b><br />{$this->ipsclass->lang[\'w_reason2\']}</td>\n			<td class=\\\"pformright\\\"><textarea rows=\\\"6\\\" cols=\\\"70\\\" class=\\\"textinput\\\" name=\\\"reason\\\">{$this->ipsclass->input[\'reason\']}</textarea></td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'w_c_subj\']}</b></td>\n			<td class=\\\"pformright\\\"><input type=\\\"text\\\" name=\\\"subject\\\" value=\\\"{$this->ipsclass->input[\'subject\']}\\\" size=\\\"30\\\" /></td>\n		</tr>\n		<tr>\n			<td class=\\\"pformleftw\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'w_contact\']}</b><br />{$this->ipsclass->lang[\'w_contact2\']}</td>\n			<td class=\\\"pformright\\\">\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\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'w_warnfor\']} <a href=\\\"{$this->ipsclass->base_url}showuser=$mid\\\">$name</a> ( $min &lt; $cur &gt; $max )</div>\n			<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'w_complete\']}</div>\n				<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					<tr>\n						<td class=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'w_adjust_level\']}</b></td>\n						<td class=\\\"pformright\\\">\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=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'w_modq\']}</b></td>\n						<td class=\\\"pformright\\\">\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=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'w_resposts\']}</b></td>\n						<td class=\\\"pformright\\\">\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\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'w_done_t\']}</div>\n	<div class=\\\"formsubtitle\\\">&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=\\\"pformleftw\\\"><b>{$this->ipsclass->lang[\'w_suspend\']}</b></td>\n		<td class=\\\"pformright\\\">\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\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'w_v_title\']}: <a href=\\\"{$this->ipsclass->base_url}showuser=$id\\\">$name</a></div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th class=\\\"formsubtitle\\\" width=\\\"30%\\\">{$this->ipsclass->lang[\'w_v_warnby\']}</th>\n			<th class=\\\"formsubtitle\\\" 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}',2),('941aeec503ff89e769ba427ccae0c9fd','skin_help','class skin_help_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:display:desc::trigger:>\n//===========================================================================\nfunction display($text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"row2\\\">$text</td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:help_end:desc::trigger:>\n//===========================================================================\nfunction help_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"catend\\\"></td>\n		</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:no_results:desc::trigger:>\n//===========================================================================\nfunction no_results() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"row2\\\" align=\\\"center\\\"><b>{$this->ipsclass->lang[\'no_results\']}</b></td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:row:desc::trigger:>\n//===========================================================================\nfunction row($entry=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n		<td class=\\\"row1\\\"><a href=\\\"{$this->ipsclass->base_url}act=Help&amp;CODE=01&amp;HID={$entry[\'id\']}\\\"><b>{$entry[\'title\']}</b></a><br />{$entry[\'description\']}</td>\n	</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:start:desc::trigger:>\n//===========================================================================\nfunction start($one_text=\"\",$two_text=\"\",$three_text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Help\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"02\\\" />\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;$one_text</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<th>$two_text</th>\n			</tr>\n			<tr>\n				<td class=\\\"row2\\\">{$this->ipsclass->lang[\'search_txt\']}&nbsp;&nbsp;<input type=\\\"text\\\" maxlength=\\\"60\\\" size=\\\"30\\\" name=\\\"search_q\\\" />&nbsp;<input class=\\\"gobutton\\\" type=\\\"image\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"catend\\\"></td>\n			</tr>\n		</table>\n	</div>\n</form>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;$three_text</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th>$two_text</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('5a530d551b8e3b5d81255489d3b49efa','skin_legends','class skin_legends_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:bbcode_header:desc::trigger:>\n//===========================================================================\nfunction bbcode_header() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>{$this->ipsclass->lang[\'bbc_intro\']}</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bbcode_row:desc::trigger:>\n//===========================================================================\nfunction bbcode_row($before=\"\",$after=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"row1\\\" valign=\\\"middle\\\">$before</td>\n	<td class=\\\"row1\\\" valign=\\\"middle\\\">$after</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bbcode_row_footer:desc::trigger:>\n//===========================================================================\nfunction bbcode_row_footer() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n	</div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bbcode_row_header:desc::trigger:>\n//===========================================================================\nfunction bbcode_row_header($title=\"\",$desc=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">$title</div>\n		<div class=\\\"row2\\\">$desc</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<td width=\\\"50%\\\" align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'bbc_before\']}</td>\n				<td width=\\\"50%\\\" align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'bbc_after\']}</td>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:emoticon_javascript:desc::trigger:>\n//===========================================================================\nfunction emoticon_javascript($editor_id=\'ed-0\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\'javascript\'>\n\" . (($editor_id != \'\' ) ? (\"\n	\" . (($_REQUEST[\'_lite\']) ? (\"\n			function add_smilie(scode, smid)\n			{\n				var _image = document.getElementById(smid).src;\n				_image     = _image.replace( /.*\\\\/(.+?)$/, \\\"$1\\\" );\n				try\n				{\n					opener.IPS_Lite_Editor[ \'{$editor_id}\' ].insert_emoticon( smid.replace( \'smid_\', \'\' ), _image, scode, this );\n				}\n				catch(error)\n				{\n				}\n			}\n	\") : (\"\n		function add_smilie(scode, smid)\n		{\n			var _image = document.getElementById(smid).src;\n			_image     = _image.replace( /.*\\\\/(.+?)$/, \\\"$1\\\" );\n			try\n			{\n				opener.IPS_editor[ \'{$editor_id}\' ].insert_emoticon( smid.replace( \'smid_\', \'\' ), _image, scode, this );\n			}\n			catch(error)\n			{\n			}\n		}\n	\")) . \"\n\") : (\"\n	function add_smilie(scode, smid)\n	{\n		surl = document.getElementById(smid).src;\n		opener.emoticon( scode, \'\', surl );\n	}\n\")) . \"\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:emoticons_row:desc::trigger:>\n//===========================================================================\nfunction emoticons_row($code=\"\",$image=\"\",$in=\"\'\",$out=\"\'\",$smilie_id=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\"><a href={$out}javascript:add_smilie({$in}$code{$in},{$in}smid_$smilie_id{$in}){$out}>$code</a></td>\n	<td align=\\\"center\\\" class=\\\"row1\\\" valign=\\\"middle\\\"><a href={$out}javascript:add_smilie({$in}$code{$in},{$in}smid_$smilie_id{$in}){$out}><img src=\\\"{$this->ipsclass->vars[\'EMOTICONS_URL\']}/$image\\\" id=\'smid_$smilie_id\' valign=\\\"absmiddle\\\" alt=\\\"$image\\\" /></a></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:find_user_error:desc::trigger:>\n//===========================================================================\nfunction find_user_error($msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form name=\\\"finduser\\\" method=\\\"post\\\" action=\\\"{$this->ipsclass->base_url}entry=$entry&amp;name=$name&amp;sep=$sep&amp;CODE=finduser_two\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"pagetitle\\\">{$this->ipsclass->lang[\'fu_error\']}<hr noshade=\'noshade\' /></td>\n		</tr>\n		<tr>\n			<td align=\\\"center\\\" valign=\\\"middle\\\">{$msg}</td>\n		</tr>\n		<tr>\n			<td class=\\\"pcen\\\"><a href=\\\"javascript:history.go(-1);\\\">{$this->ipsclass->lang[\'fu_back\']}</a> :: <a href=\\\"javascript:window.close();\\\">{$this->ipsclass->lang[\'fu_close_win\']}</a></td>\n		</tr>\n	</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:find_user_final:desc::trigger:>\n//===========================================================================\nfunction find_user_final($names=\"\",$entry=\"\",$name=\"\",$sep=\"line\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nvar separator = \'$sep\';\nvar entry     = \'$entry\';\nvar in_name   = \'$name\';\n-->\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_finduser.js\\\"></script>\n<form name=\\\"finduser\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"pagetitle\\\">{$this->ipsclass->lang[\'fu_title\']}<hr noshade=\'noshade\' /></td>\n		</tr>\n		<tr>\n			<td align=\\\"center\\\" valign=\\\"middle\\\">{$this->ipsclass->lang[\'fu_add_desc\']}<br /><br /><select name=\\\"username\\\">$names</select><br /><br /><input type=\\\"button\\\" name=\\\"add\\\" onClick=\\\"add_to_form()\\\" value=\\\"{$this->ipsclass->lang[\'fu_add_mem\']}\\\"></td>\n		</tr>\n		<tr>\n			<td class=\\\"pcen\\\"><a href=\\\"javascript:history.go(-1);\\\">{$this->ipsclass->lang[\'fu_back\']}</a> :: <a href=\\\"javascript:window.close();\\\">{$this->ipsclass->lang[\'fu_close_win\']}</a></td>\n		</tr>\n	</table>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:find_user_one:desc::trigger:>\n//===========================================================================\nfunction find_user_one($entry=\"\",$name=\"\",$sep=\"comma\") {\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:252px;display:none;z-index:1\'></div>\n<form name=\\\"finduser\\\" method=\\\"post\\\" action=\\\"{$this->ipsclass->base_url}act=legends&amp;entry=$entry&amp;name=$name&amp;sep=$sep&amp;CODE=finduser_two\\\" id=\\\"postingform\\\">\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"pagetitle\\\">{$this->ipsclass->lang[\'fu_title\']}<hr noshade=\'noshade\' /></td>\n		</tr>\n		<tr>\n			<td align=\\\"center\\\" valign=\\\"middle\\\"><b>{$this->ipsclass->lang[\'fu_enter_name\']}</b><br /><br /><input type=\\\"text\\\" size=\\\"40\\\" id=\\\"username\\\" name=\\\"username\\\" /><br /><br /><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'fu_search_but\']}\\\" /></td>\n		</tr>\n		<tr>\n			<td class=\\\"pcen\\\"><a href=\\\"javascript:window.close();\\\">{$this->ipsclass->lang[\'fu_close_win\']}</a></td>\n		</tr>\n	</table>\n</form>\n<script type=\\\"text/javascript\\\">\n// INIT find names\ninit_js( \'postingform\', \'username\', \'get-member-names\');\n// Run main loop\nsetTimeout( \'main_loop()\', 10 );\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:page_footer:desc::trigger:>\n//===========================================================================\nfunction page_footer() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</table>\n	</div>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:page_header:desc::trigger:>\n//===========================================================================\nfunction page_header($title=\"\",$row1=\"\",$row2=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">$title</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<td width=\\\"50%\\\" align=\\\"center\\\" class=\\\"formsubtitle\\\" valign=\\\"middle\\\">$row1</td>\n				<td width=\\\"50%\\\" align=\\\"center\\\" class=\\\"formsubtitle\\\" valign=\\\"middle\\\">$row2</td>\n			</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:wrap_tag:desc::trigger:>\n//===========================================================================\nfunction wrap_tag($tag=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div><b>$tag</b></div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('1464a601129d8a367c4ce95ef1971c47','skin_login','class skin_login_2 {\n\n var $ipsclass;\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:ShowForm:desc::trigger:>\n//===========================================================================\nfunction ShowForm($message=\"\",$referer=\"\",$extra_form=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\'JavaScript\' type=\\\"text/javascript\\\">\n<!--\nfunction ValidateForm() {\n	var Check = 0;\n	if (document.LOGIN.UserName.value == \'\') { Check = 1; }\n	if (document.LOGIN.PassWord.value == \'\') { Check = 1; }\n	if (Check == 1) {\n\" . (($this->ipsclass->vars[\'ipbli_usertype\']==\'username\') ? (\"\nalert(\\\"{$this->ipsclass->lang[\'blank_fields_user\']}\\\");\n\") : (\"\nalert(\\\"{$this->ipsclass->lang[\'blank_fields_email\']}\\\");\n\")) . \"\n		return false;\n	} else {\n		document.LOGIN.submit.disabled = true;\n		return true;\n	}\n}\n//-->\n</script>\n\" . (($extra_form != \'\') ? (\"\n$extra_form\n\") : (\"\")) . \"\n<form action=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=01\\\" method=\\\"post\\\" name=\\\"LOGIN\\\" onsubmit=\\\"return ValidateForm()\\\">\n	<input type=\\\"hidden\\\" name=\\\"referer\\\" value=\\\"$referer\\\" />\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'log_in\']}</div>\n		<div class=\'row2\'>\n			<div class=\\\"formsubtitle\\\">$message</div>\n			<div class=\\\"errorwrap\\\" style=\'margin-bottom:0px;padding-bottom:0px\'>\n				<h4>{$this->ipsclass->lang[\'form_title_attention\']}</h4>\n				<p>{$this->ipsclass->lang[\'login_text\']}</p>\n				<p><b>{$this->ipsclass->lang[\'forgot_pass\']} <a href=\\\"{$this->ipsclass->vars[\'board_url\']}/index.{$this->ipsclass->vars[\'php_ext\']}?act=Reg&amp;CODE=10\\\">{$this->ipsclass->lang[\'pass_link\']}</a></b></p>\n			</div>\n		</div>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\\\"60%\\\" valign=\\\"top\\\" class=\'row2\'>\n					<fieldset>\n						<legend><b>{$this->ipsclass->lang[\'log_in\']}</b></legend>\n						<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n							<tr>\n\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'enter_name\']}</b></td>\n								<td width=\\\"50%\\\"><input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"64\\\" name=\\\"UserName\\\" /></td>\n\") : (\"\n<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'enter_email\']}</b></td>\n								<td width=\\\"50%\\\"><input type=\\\"text\\\" size=\\\"25\\\" maxlength=\'150\' value=\\\"{$this->ipsclass->input[\'UserName\']}\\\" name=\\\"UserName\\\" /></td>\n\")) . \"\n							</tr>\n							<tr>\n								<td width=\\\"50%\\\"><b>{$this->ipsclass->lang[\'enter_pass\']}</b></td>\n								<td width=\\\"50%\\\"><input type=\\\"password\\\" size=\\\"25\\\" name=\\\"PassWord\\\" /></td>\n							</tr>\n						</table>\n					</fieldset>\n				</td>\n				<td width=\\\"40%\\\" valign=\\\"top\\\" class=\'row2\'>\n					<fieldset>\n						<legend><b>{$this->ipsclass->lang[\'options\']}</b></legend>\n						<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n							<tr>\n								<td width=\\\"10%\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"CookieDate\\\" value=\\\"1\\\" checked=\\\"checked\\\" /></td>\n								<td width=\\\"90%\\\"><b>{$this->ipsclass->lang[\'rememberme\']}</b><br /><span class=\\\"desc\\\">{$this->ipsclass->lang[\'notrecommended\']}</span></td>\n							</tr>\n\" . (($this->ipsclass->vars[\'disable_anonymous\'] != 1) ? (\"\n<tr>\n								<td width=\\\"10%\\\"><input class=\'checkbox\' type=\\\"checkbox\\\" name=\\\"Privacy\\\" value=\\\"1\\\" /></td>\n								<td width=\\\"90%\\\"><b>{$this->ipsclass->lang[\'form_invisible\']}</b><br /><span class=\\\"desc\\\">{$this->ipsclass->lang[\'anon_name\']}</span></td>\n							</tr>\n\") : (\"\")) . \"\n						</table>\n					</fieldset>\n				</td>\n			</tr>\n			<tr>\n				<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input class=\\\"button\\\" type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'log_in_submit\']}\\\" /></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\n}',2),('9c8c0e0ec102f91289112b8332e361fb','skin_forum','class skin_forum_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:announcement_row:desc::trigger:>\n//===========================================================================\nfunction announcement_row($data=\"\",$inforum=1) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"row1\\\"><{B_PIN}></td>\n	<td class=\\\"row1\\\">&nbsp;</td>\n	<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'announce_row\']}: <a href=\\\"{$this->ipsclass->base_url}act=announce&amp;f={$data[\'forum_id\']}&amp;id={$data[\'announce_id\']}\\\">{$data[\'announce_title\']}</a></b></td>\n	<td class=\\\"row1\\\" align=\\\"center\\\">-</td>\n	<td class=\\\"row1\\\" align=\\\"center\\\"><a href=\\\"{$this->ipsclass->base_url}showuser={$data[\'member_id\']}\\\">{$data[\'member_name\']}</a></td>\n	<td class=\\\"row1\\\" align=\\\"center\\\">{$data[\'announce_views\']}</td>\n	<td class=\\\"row1\\\"><span class=\\\"desc\\\">{$data[\'announce_start\']}\n	<br /><a href=\\\"{$this->ipsclass->base_url}act=announce&amp;f={$data[\'forum_id\']}&amp;id={$data[\'announce_id\']}\\\">{$this->ipsclass->lang[\'last_post_by\']}</a> <b><a href=\\\"{$this->ipsclass->base_url}showuser={$data[\'member_id\']}\\\">{$data[\'member_name\']}</a></b></span>\n	</td>\n\" . (($this->ipsclass->member[\'is_mod\'] and $inforum == 1) ? (\"\n<td align=\\\"center\\\" class=\\\"row1\\\">&nbsp;</td>\n\") : (\"\")) . \"\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:announcement_wrap:desc::trigger:>\n//===========================================================================\nfunction announcement_wrap($announce=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"darkrow1\\\" colspan=\\\"8\\\"><b>{$this->ipsclass->lang[\'announce_start\']}</b></td>\n</tr>\n$announce\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_active_users:desc::trigger:>\n//===========================================================================\nfunction forum_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<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_password_log_in:desc::trigger:>\n//===========================================================================\nfunction forum_password_log_in($fid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"SF\\\" />\n	<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"$fid\\\" />\n	<input type=\\\"hidden\\\" name=\\\"L\\\" value=\\\"1\\\" />\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'need_password\']}</div>\n		<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'need_password_txt\']}</div>\n		<div class=\\\"tablepad\\\">\n			<b>{$this->ipsclass->lang[\'enter_pass\']}</b>\n			<input type=\\\"password\\\" size=\\\"20\\\" name=\\\"f_password\\\" />\n		</div>\n		<div class=\\\"pformstrip\\\" align=\\\"center\\\"><input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'f_pass_submit\']}\\\" class=\\\"button\\\" /></div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forums_attachments_bottom:desc::trigger:>\n//===========================================================================\nfunction forums_attachments_bottom() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forums_attachments_row:desc::trigger:>\n//===========================================================================\nfunction forums_attachments_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr id=\\\"{$data[\'attach_id\']}\\\">\n	<td align=\\\"center\\\" class=\\\"row1\\\"><img src=\\\"{$this->ipsclass->vars[\'mime_img\']}/{$data[\'image\']}\\\" alt=\\\"{$this->ipsclass->lang[\'attached_file\']}\\\" /></td>\n	<td class=\\\"row2\\\">\n		<a href=\\\"{$this->ipsclass->base_url}act=Attach&amp;type=post&amp;id={$data[\'attach_id\']}\\\" title=\\\"{$data[\'attach_file\']}\\\" target=\\\"_blank\\\">{$data[\'short_name\']}</a>\n		<div class=\\\"desc\\\">( {$this->ipsclass->lang[\'attach_hits\']}: {$data[\'attach_hits\']} )<br />( {$this->ipsclass->lang[\'attach_post_date\']} {$data[\'attach_date\']} )</div>\n	</td>\n	<td align=\\\"center\\\" class=\\\"row1\\\">{$data[\'real_size\']}</td>\n	<td class=\\\"row2\\\" align=\\\"center\\\"><a href=\\\"#\\\" onclick=\\\"opener.location=\'{$this->ipsclass->base_url}act=findpost&amp;pid={$data[\'pid\']}\';\\\">{$data[\'pid\']}</a></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forums_attachments_top:desc::trigger:>\n//===========================================================================\nfunction forums_attachments_top($title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- inbox folder -->\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'attach_page_title\']}: $title</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th width=\\\"2%\\\">&nbsp;</th>\n			<th width=\\\"73%\\\"><b>{$this->ipsclass->lang[\'attach_title\']}</b></th>\n			<th width=\\\"5%\\\">{$this->ipsclass->lang[\'attach_size\']}</b></a></th>\n			<th width=\\\"15%\\\"><b>{$this->ipsclass->lang[\'attach_post\']}</b></th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mm_end:desc::trigger:>\n//===========================================================================\nfunction mm_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- end multimod -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mm_entry:desc::trigger:>\n//===========================================================================\nfunction mm_entry($id=\"\",$title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\\\"t_{$id}\\\">--  $title</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mm_start:desc::trigger:>\n//===========================================================================\nfunction mm_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\\\"-1\\\">------------------------------</option>\n<option value=\\\"-1\\\">{$this->ipsclass->lang[\'mm_title\']}</option>\n<option value=\\\"-1\\\">------------------------------</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:OLD_render_pinned_row:desc::trigger:>\n//===========================================================================\nfunction OLD_render_pinned_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Begin Pinned Topic Entry {$data[\'tid\']} -->\n<tr> \n	<td align=\\\"center\\\" class=\\\"row2\\\">{$data[\'folder_img\']}</td>\n	<td align=\\\"center\\\" class=\\\"row2\\\">{$data[\'topic_icon\']}</td>\n	<td class=\\\"row2\\\">\n	<div>\n		{$data[\'go_new_post\']}{$data[\'prefix\']} {$data[\'attach_img\']}<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}\\\" title=\\\"{$this->ipsclass->lang[\'topic_started_on\']} {$data[\'start_date\']}\\\">{$data[\'title\']}</a> {$data[PAGES]}\n		<div class=\\\"desc\\\">{$data[\'description\']}</div>\n	</div>\n	<td align=\\\"center\\\" class=\\\"row2\\\">{$data[\'posts\']}</td>\n	<td align=\\\"center\\\" class=\\\"row2\\\">{$data[\'starter\']}</td>\n	<td align=\\\"center\\\" class=\\\"row2\\\">{$data[\'views\']}</td>\n	<td class=\\\"row2\\\"><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 Pinned Topic Entry {$data[\'tid\']} -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:page_title:desc::trigger:>\n//===========================================================================\nfunction page_title($title=\"\",$pages=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div><span class=\\\"pagetitle\\\">$title</span>$pages</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:PageTop:desc::trigger:>\n//===========================================================================\nfunction PageTop($data=\"\",$can_edit=0,$can_open=0,$can_close=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\\\"javascript\\\" type=\\\"text/javascript\\\">\n<!--\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 lang_otherpage    = \\\"{$this->ipsclass->lang[\'jscript_otherpage\']}\\\";\nvar lang_clickhold    = \\\"{$this->ipsclass->lang[\'js_clickhold\']}\\\";\nvar perm_can_edit     = $can_edit;\nvar perm_can_open     = $can_open;\nvar perm_can_close    = $can_close;\nvar perm_max_length   = {$this->ipsclass->vars[\'topic_title_max_len\']};\n// Set up img vars\nvar img_markers = {\n	\'bc_new.gif\' : \'bc_nonew.gif\',\n	\'bf_new.gif\' : \'bf_nonew.gif\',\n	\'br_new.gif\' : \'br_nonew.gif\'\n};\nvar regex_markers = \'bc_new.gif|bf_new.gif|br_new.gif\';\n//-->\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_forum.js\\\"></script>\n<!--IBF.SUBFORUMS-->\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td style=\'padding-left:0px\' width=\\\"60%\\\">{$data[\'SHOW_PAGES\']}</td>\n		<td class=\'nopad\' style=\'padding:0px 0px 5px 0px\' align=\\\"right\\\" nowrap=\\\"nowrap\\\"><a href=\\\"{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data[\'id\']}\\\"><{A_POST}></a></td>\n	</tr>\n</table>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\" style=\'padding:4px\'>\n	<!-- TABLE FIX FOR MOZILLA WRAPPING-->\n	<table width=\'100%\' cellspacing=\'0\' cellpadding=\'0\'>\n	<tr>\n	 <td width=\'99%\'><div><{CAT_IMG}>&nbsp;{$data[\'name\']}</div></td>\n	 <td width=\'1%\' nowrap=\'nowrap\' align=\'right\'>\n	  <div class=\'popmenubutton\' id=\'forummenu-options\'><a href=\'#forumoptions\'>{$this->ipsclass->lang[\'forum_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   </div>\n   <table class=\'ipbtable\' cellspacing=\\\"1\\\">\n	<tr> \n		<th align=\\\"center\\\">&nbsp;</th>\n		<th align=\\\"center\\\">&nbsp;</th>\n		<th width=\\\"50%\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_topic_title\']}</th>\n		<th width=\\\"7%\\\" style=\\\"text-align:center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_replies\']}</th>\n		<th width=\\\"14%\\\" style=\\\"text-align:center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_topic_starter\']}</th>\n		<th width=\\\"7%\\\" style=\\\"text-align:center\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_hits\']}</th>\n		<th width=\\\"22%\\\" nowrap=\\\"nowrap\\\">{$this->ipsclass->lang[\'h_last_action\']}</th>\n\" . (($this->ipsclass->member[\'is_mod\'] == 1) ? (\"\n<th width=\\\"1%\\\" align=\\\"center\\\"><a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'click_for_mod\']}\\\" onclick=\\\"forum_select_all(); return false;\\\"><img name=\\\"imgall\\\" id=\'ipb-topics-all\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_unselected.gif\\\" alt=\'\' /></th>\n\") : (\"\")) . \"\n	</tr>\n	<!-- Forum page unique top -->\n	<!--IBF.ANNOUNCEMENTS-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_show_lastpage:desc::trigger:>\n//===========================================================================\nfunction pagination_show_lastpage($tid=\"\",$st=\"\",$page=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<span class=\\\"minipagelinklast\\\"><a href=\\\"{$this->ipsclass->base_url}showtopic={$tid}&amp;st=$st&amp;start=$st\\\">&raquo; $page</a></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_show_page:desc::trigger:>\n//===========================================================================\nfunction pagination_show_page($tid=\"\",$st=\"\",$page=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<span class=\\\"minipagelink\\\"><a href=\\\"{$this->ipsclass->base_url}showtopic={$tid}&amp;st=$st&amp;start=$st\\\">$page</a></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_wrap_pages:desc::trigger:>\n//===========================================================================\nfunction pagination_wrap_pages($tid=\"\",$pages=\"\",$posts=\"\",$perpage=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<a href=\\\"javascript:multi_page_jump(\'{$this->ipsclass->base_url}showtopic={$tid}\', $posts, $perpage );\\\" title=\\\"{$this->ipsclass->lang[\'multipage_alt\']}\\\"><img src=\'{$this->ipsclass->vars[\'img_url\']}/pages_icon.gif\' alt=\'*\' border=\'0\' /></a> $pages\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_forum_row:desc::trigger:>\n//===========================================================================\nfunction render_forum_row($data=\"\",$class1=\'row2\',$class2=\'row1\',$classposts=\'row2\',$inforum=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Begin Topic Entry {$data[\'tid\']} -->\n<tr> \n	<td align=\\\"center\\\" class=\\\"$class2\\\" id=\'tid-folder-{$data[\'tid\']}\' onclick=\'return topic_toggle_folder(\\\"{$data[\'tid\']}\\\", \\\"{$data[\'state\']}\\\");\'>{$data[\'folder_img\']}</td>\n	<td align=\\\"center\\\" class=\\\"$class2\\\">{$data[\'topic_icon\']}</td>\n	<td class=\\\"$class2\\\" valign=\\\"middle\\\">\n	    <div style=\'float:right\'>{$data[\'_rate_img\']}</div>\n		<div>\n			{$data[\'go_new_post\']}{$data[\'prefix\']} {$data[\'attach_img\']}<span id=\'tid-span-{$data[\'tid\']}\'><a id=\\\"tid-link-{$data[\'tid\']}\\\" href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}\\\" title=\\\"{$this->ipsclass->lang[\'topic_started_on\']} {$data[\'start_date\']}\\\">{$data[\'title\']}</a></span> {$data[\'PAGES\']}\n			<div class=\\\"desc\\\"><span onclick=\'return span_desc_to_input(\\\"{$data[\'tid\']}\\\");\' id=\'tid-desc-{$data[\'tid\']}\'>{$data[\'description\']}</span></div>\n		</div>\n	</td>\n	<td align=\'center\' class=\\\"$classposts\\\">\n     {$data[\'posts\']}\n\" . (($data[\'_hasqueued\'] == 1 and $inforum == 1) ? (\"\n&nbsp;<a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;modfilter=invisible_posts\\\"><{BC_QUEUED_POSTS}></a>\n\") : (\"\")) . \"\n    </td>\n	<td align=\\\"center\\\" class=\\\"$class1\\\">{$data[\'starter\']}</td>\n	<td align=\\\"center\\\" class=\\\"$class1\\\">{$data[\'views\']}</td>\n	<td class=\\\"$class1\\\"><span class=\\\"lastaction\\\">{$data[\'last_post\']}<br /><a href=\\\"{$this->ipsclass->base_url}showtopic={$data[\'tid\']}&amp;view=getlastpost\\\">{$data[\'last_text\']}</a> <b>{$data[\'last_poster\']}</b></span></td>\n\" . (($this->ipsclass->member[\'is_mod\'] == 1 and $inforum == 1 and $data[\'tidon\'] == 1) ? (\"\n<td align=\\\"center\\\" class=\\\"$class1\\\"><input type=\'hidden\' name=\'tid_{$data[\'real_tid\']}\' id=\'tid_{$data[\'real_tid\']}\' /><a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'click_for_mod\']}\\\" onclick=\\\"forum_toggle_tid(\'{$data[\'real_tid\']}\'); return false;\\\"><img name=\\\"img{$data[\'real_tid\']}\\\" id=\'ipb-topic-{$data[\'real_tid\']}\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_selected.gif\\\" alt=\'\' /></a></td>\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'is_mod\'] == 1 and $inforum == 1 and $data[\'tidon\'] == 0) ? (\"\n<td align=\\\"center\\\" class=\\\"$class1\\\"><input type=\'hidden\' name=\'tid_{$data[\'real_tid\']}\' id=\'tid_{$data[\'real_tid\']}\' /><a href=\\\"#\\\" title=\\\"{$this->ipsclass->lang[\'click_for_mod\']}\\\" onclick=\\\"forum_toggle_tid(\'{$data[\'real_tid\']}\'); return false;\\\"><img name=\\\"img{$data[\'real_tid\']}\\\" id=\'ipb-topic-{$data[\'real_tid\']}\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/topic_unselected.gif\\\" alt=\'\' /></a></td>\n\") : (\"\")) . \"\n</tr>\n<!-- End Topic Entry {$data[\'tid\']} -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_pinned_end:desc::trigger:>\n//===========================================================================\nfunction render_pinned_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- END PINNED -->\n<tr>\n   <td class=\\\"darkrow1\\\" colspan=\\\"8\\\"><b>{$this->ipsclass->lang[\'regular_topics\']}</b></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:render_pinned_start:desc::trigger:>\n//===========================================================================\nfunction render_pinned_start($show=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--PINNED-->\n\" . (($show == 1) ? (\"\n<tr>\n	<td class=\\\"darkrow1\\\" colspan=\\\"8\\\"><b>{$this->ipsclass->lang[\'pinned_start\']}</b></td>\n</tr>\n\") : (\"\")) . \"\n    <!-- END PINNED -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_no_matches:desc::trigger:>\n//===========================================================================\nfunction show_no_matches() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr> \n	<td class=\\\"row2\\\" colspan=\\\"8\\\" align=\\\"center\\\">\n		<br />\n		<b>{$this->ipsclass->lang[\'no_topics\']}</b>\n		<br /><br />\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_page_jump:desc::trigger:>\n//===========================================================================\nfunction show_page_jump($total=\"\",$pp=\"\",$qe=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:multi_page_jump( $total, $pp, \'$qe\' )\\\" title=\\\"{$this->ipsclass->lang[\'tpl_jump\']}\\\">{$this->ipsclass->lang[\'multi_page_forum\']}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_rules:desc::trigger:>\n//===========================================================================\nfunction show_rules($rules=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<h3><{CAT_IMG}>&nbsp;{$rules[\'title\']}, <a href=\\\"{$this->ipsclass->base_url}act=SF&amp;f={$rules[\'fid\']}\\\">{$this->ipsclass->lang[\'back_to_forum\']}</a></h3>\n	<p>{$rules[\'body\']}</p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:TableEnd:desc::trigger:>\n//===========================================================================\nfunction TableEnd($data=\"\",$auth_key=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td colspan=\\\"8\\\" class=\\\"darkrow1\\\">\n				<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					<tr>\n						<td width=\\\"50%\\\" class=\\\"nopad\\\">\n							<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"search\\\">\n								<input type=\\\"hidden\\\" name=\\\"forums\\\" value=\\\"{$data[\'id\']}\\\" />\n								<input type=\\\"hidden\\\" name=\\\"cat_forum\\\" value=\\\"forum\\\" />\n								<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Search\\\" />\n								<input type=\\\"hidden\\\" name=\\\"joinname\\\" value=\\\"1\\\" />\n								<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"01\\\" />\n								<input type=\\\"text\\\" size=\\\"30\\\" name=\\\"keywords\\\" value=\\\"{$this->ipsclass->lang[\'enter_keywords\']}\\\" onfocus=\\\"this.value = \'\';\\\" /> <input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'search_forum\']}\\\" class=\\\"button\\\" />\n							</form>\n						</td>\n\" . (($this->ipsclass->member[\'is_mod\'] == 1) ? (\"\n<td width=\\\"50%\\\" align=\\\"right\\\" nowrap=\\\"nowrap\\\" class=\\\"nopad\\\">\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=\\\"topicchoice\\\" />\n								<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"{$data[\'id\']}\\\" />\n								<input type=\\\"hidden\\\" name=\\\"auth_key\\\" value=\\\"{$auth_key}\\\" />\n								<input type=\\\"hidden\\\" name=\\\"modfilter\\\" value=\\\"{$this->ipsclass->input[\'modfilter\']}\\\" />\n								<input type=\\\"hidden\\\" value=\\\"{$this->ipsclass->input[\'selectedtids\']}\\\" name=\\\"selectedtids\\\" />\n								<select name=\\\"tact\\\">\n									<option value=\\\"close\\\">{$this->ipsclass->lang[\'cpt_close\']}</option>\n									<option value=\\\"open\\\">{$this->ipsclass->lang[\'cpt_open\']}</option>\n									<option value=\\\"pin\\\">{$this->ipsclass->lang[\'cpt_pin\']}</option>\n									<option value=\\\"unpin\\\">{$this->ipsclass->lang[\'cpt_unpin\']}</option>\n									<option value=\\\"move\\\">{$this->ipsclass->lang[\'cpt_move\']}</option>\n									<option value=\\\"merge\\\">{$this->ipsclass->lang[\'cpt_merge\']}</option>\n									<option value=\\\"delete\\\">{$this->ipsclass->lang[\'cpt_delete\']}</option>\n									<option value=\\\"approve\\\">{$this->ipsclass->lang[\'cpt_approve\']}</option>\n									<option value=\\\"unapprove\\\">{$this->ipsclass->lang[\'cpt_unapprove\']}</option>\n									<!--IBF.MMOD-->\n								</select>&nbsp;\n								<input type=\\\"submit\\\" name=\\\"gobutton\\\" value=\\\"{$this->ipsclass->lang[\'f_go\']}\\\" class=\\\"button\\\" />\n							</form>\n						</td>\n\") : (\"\")) . \"\n					</tr>\n				</table>\n			</td>\n		</tr>\n		<tr> \n			<td class=\\\"catend\\\" colspan=\\\"8\\\"><!-- no content --></td>\n		</tr>\n	</table>\n</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td style=\'padding-left:0px\' width=\\\"50%\\\" nowrap=\\\"nowrap\\\">{$data[\'SHOW_PAGES\']}</td>\n		<td class=\'nopad\' style=\'padding:5px 0px 5px 0px\' align=\\\"right\\\" width=\\\"50%\\\"><a href=\\\"{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data[\'id\']}\\\"><{A_POST}></a></td>\n	</tr>\n</table>\n<!--IBF.FORUM_ACTIVE-->\n<div class=\\\"activeusers\\\">\n	<div class=\\\"row2\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\\\"5%\\\" nowrap=\\\"nowrap\\\">\n					<{B_NEW}>&nbsp;&nbsp;<span class=\\\"desc\\\">{$this->ipsclass->lang[\'pm_open_new\']}</span>\n					<br /><{B_NORM}>&nbsp;&nbsp;<span class=\\\"desc\\\">{$this->ipsclass->lang[\'pm_open_no\']}</span>\n					<br /><{B_HOT}>&nbsp;&nbsp;<span class=\\\"desc\\\">{$this->ipsclass->lang[\'pm_hot_new\']}</span>\n					<br /><{B_HOT_NN}>&nbsp;&nbsp;<span class=\\\"desc\\\">{$this->ipsclass->lang[\'pm_hot_no\']}</span>&nbsp;\n				</td>\n				<td width=\\\"5%\\\" nowrap=\\\"nowrap\\\">\n					<{B_POLL}>&nbsp;&nbsp;<span class=\\\"desc\\\">{$this->ipsclass->lang[\'pm_poll\']}</span>\n					<br /><{B_POLL_NN}>&nbsp;&nbsp;<span class=\\\"desc\\\">{$this->ipsclass->lang[\'pm_poll_no\']}</span>\n					<br /><{B_LOCKED}>&nbsp;&nbsp;<span class=\\\"desc\\\">{$this->ipsclass->lang[\'pm_locked\']}</span>\n					<br /><{B_MOVED}>&nbsp;&nbsp;<span class=\\\"desc\\\">{$this->ipsclass->lang[\'pm_moved\']}</span>\n				</td>\n				<td align=\\\"right\\\" width=\\\"90%\\\">\n					{$data[\'FORUM_JUMP\']}<br /><br />\n					<form action=\\\"{$this->ipsclass->base_url}act=SF&amp;f={$data[\'id\']}&amp;st={$this->ipsclass->input[\'st\']}&amp;changefilters=1\\\" method=\\\"post\\\">\n						<select name=\\\"sort_key\\\">{$this->ipsclass->show[\'sort_by\']}</select>\n						<select name=\\\"sort_by\\\">{$this->ipsclass->show[\'sort_order\']}</select>\n						<select name=\\\"prune_day\\\">{$this->ipsclass->show[\'sort_prune\']}</select>\n						<select name=\\\"topicfilter\\\">{$this->ipsclass->show[\'topic_filter\']}</select>\n						<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'sort_submit\']}\\\" class=\\\"button\\\" />\n					<br /> <input type=\'checkbox\' value=\'1\' name=\'remember\' class=\'checkbox\' /> {$this->ipsclass->lang[\'remember_options\']}\n					</form>\n				</td>\n			</tr>\n		</table>\n	</div>\n</div>\n<script type=\\\"text/javascript\\\">\n<!--\n  menu_build_menu(\n  \\\"forummenu-options\\\",\n  new Array(\n\" . (($this->ipsclass->member[\'is_mod\'] == 1) ? (\"\n\\\"~~NODIV~~<div class=\'popupmenu-category\' align=\'center\'>{$this->ipsclass->lang[\'moderator_options\']}</div>\\\",\n			img_item + \\\" <a href=\'{$this->ipsclass->base_url}showforum={$data[\'id\']}&amp;modfilter=invisible_topics\'>{$this->ipsclass->lang[\'mod_showallinvisible\']}</a>\\\",\n			img_item + \\\" <a href=\'{$this->ipsclass->base_url}showforum={$data[\'id\']}&amp;modfilter=invisible_posts\'>{$this->ipsclass->lang[\'mod_showallposts\']}</a>\\\",\n			img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=mod&amp;CODE=resync&amp;f={$data[\'id\']}&amp;auth_key={$this->ipsclass->md5_check}\'>{$this->ipsclass->lang[\'mod_resync\']}</a>\\\",\n			img_item + \\\" <a href=\'#\' onclick=\'forum_mod_pop({$data[\'id\']});\'>{$this->ipsclass->lang[\'mod_prune\']}</a>\\\",\n			 \\\"~~NODIV~~<div class=\'popupmenu-category\' align=\'center\'>{$this->ipsclass->lang[\'forum_options\']}</div>\\\",\n\") : (\"\")) . \"\n  			 img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=Login&amp;CODE=04&amp;f={$data[\'id\']}&amp;fromforum={$this->ipsclass->input[\'f\']}\'>{$this->ipsclass->lang[\'mark_as_read\']}</a>\\\",\n  			 img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=Login&amp;CODE=04&amp;f={$data[\'id\']}&amp;fromforum=0\'>{$this->ipsclass->lang[\'mark_as_read2\']}</a>\\\",\n  			 img_item + \\\" <a href=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=forum&amp;fid={$data[\'id\']}\'>{$this->ipsclass->lang[\'ft_title\']}</a>\\\"\n		    ) );\n//-->\n </script>\n<br clear=\\\"all\\\" />\n\" . (($this->ipsclass->member[\'is_mod\']) ? (\"\n<br />\n<a name=\'forumoptions\'></a>\n<div align=\\\"center\\\" id=\'forumoptionsjs\'>\n	<a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'id\']}&amp;modfilter=invisible_topics\\\">{$this->ipsclass->lang[\'mod_showallinvisible\']}</a>\n	&middot;\n	<a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'id\']}&amp;modfilter=invisible_posts\\\">{$this->ipsclass->lang[\'mod_showallposts\']}</a>\n	&middot;\n	<a href=\\\"{$this->ipsclass->base_url}act=mod&amp;CODE=resync&amp;f={$data[\'id\']}&amp;auth_key={$auth_key}\\\">{$this->ipsclass->lang[\'mod_resync\']}</a>\n	&middot;\n	<a href=\\\"javascript:PopUp(\'{$this->ipsclass->base_url}act=mod&amp;CODE=prune_start&amp;f={$data[\'id\']}&amp;auth_key={$auth_key}\', \'PRUNE\', 600,500)\\\">{$this->ipsclass->lang[\'mod_prune\']}</a>\n</div>\n<script type=\'text/javascript\'>\n//<![CDATA[\n document.getElementById(\'forumoptionsjs\').style.display = \'none\';\n//]]>\n</script>\n\") : (\"\")) . \"\n<script type=\'text/javascript\'>\n//<![CDATA[\n // INIT links for editing\n \n if ( use_enhanced_js && perm_can_edit )\n {\n 	forum_init_topic_links();\n }\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_attach_icon:desc::trigger:>\n//===========================================================================\nfunction topic_attach_icon($tid=\"\",$count=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"#\\\" onclick=\\\"PopUp(\'{$this->ipsclass->base_url}act=attach&amp;code=showtopic&amp;tid={$tid}\', \'Attach{$tid}\', 500,400); return false;\\\" title=\\\"{$count} {$this->ipsclass->lang[\'topic_attach\']}\\\"><{ATTACH_ICON}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:topic_rating_image:desc::trigger:>\n//===========================================================================\nfunction topic_rating_image($rating_id=1) {\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:who_link:desc::trigger:>\n//===========================================================================\nfunction who_link($tid=\"\",$posts=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:who_posted($tid);\\\">$posts</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('3fa18e8ffe7af47d12a52f736d2598c8','skin_global','class skin_global_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:bbcode_wrap_end:desc::trigger:>\n//===========================================================================\nfunction bbcode_wrap_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bbcode_wrap_start:desc::trigger:>\n//===========================================================================\nfunction bbcode_wrap_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'<!--css.top-->\'><!--title--><!--extra--></div><div class=\'<!--css.main-->\'>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:board_offline:desc::trigger:>\n//===========================================================================\nfunction board_offline($message=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<form action=\\\"{$this->ipsclass->vars[\'board_url\']}/index.{$this->ipsclass->vars[\'php_ext\']}\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Login\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"01\\\" />\n	<input type=\\\"hidden\\\" name=\\\"s\\\" value=\\\"{$this->ipsclass->session_id}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"referer\\\" value=\\\"\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CookieDate\\\" value=\\\"1\\\" />\n	<div class=\\\"borderwrap\\\">\n		<h3><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'offline_title\']}</h3>\n		<p>$message</p>\n		<div class=\\\"fieldwrap\\\">\n\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n<h4>{$this->ipsclass->lang[\'erl_enter_name\']}</h4>\n		<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"64\\\" name=\\\"UserName\\\" />\n\") : (\"\n<h4>{$this->ipsclass->lang[\'erl_email\']}</h4>\n		<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"128\\\" name=\\\"UserName\\\" />\n\")) . \"\n			<h4>{$this->ipsclass->lang[\'erl_enter_pass\']}</h4>\n			<input type=\\\"password\\\" size=\\\"20\\\" name=\\\"PassWord\\\" />\n		</div>\n		<p class=\\\"formbuttonrow\\\"><input class=\\\"button\\\" type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'erl_log_in_submit\']}\\\" /></p>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:captchaGD:desc::trigger:>\n//===========================================================================\nfunction captchaGD($regid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($this->ipsclass->input[\'act\'] == \'xmlout\') ? (\"\n$regid\n\") : (\"\n	<input type=\\\"hidden\\\" name=\\\"regid\\\" id=\'regid\' value=\\\"$regid\\\" />\n	<fieldset>\n	<legend><b>{$this->ipsclass->lang[\'las_title\']}</b></legend>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\\\"1%\\\">\n					{$this->ipsclass->lang[\'las_input\']}<div class=\\\"desc\\\">{$this->ipsclass->lang[\'las_input_text\']}</div>\n					<input type=\\\"text\\\" size=\\\"25\\\" maxlength=\\\"32\\\" name=\\\"reg_code\\\" />\n				</td>\n				<td align=\\\"center\\\" ><img id=\'gd-antispam\' src=\\\"{$this->ipsclass->base_url}act=captcha&amp;do=showImage&amp;regid={$regid}\\\" title=\'{$this->ipsclass->lang[\'gbl_gd_reload\']}\' alt=\\\"{$this->ipsclass->lang[\'alt_loadingimg\']}\\\" />\n					<script type=\'text/javascript\'>\n						init_gd_image();\n					</script>\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:captchaRecaptcha:desc::trigger:>\n//===========================================================================\nfunction captchaRecaptcha($html=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<fieldset>\n<legend><strong>{$this->ipsclass->lang[\'las_title\']}</strong></legend>\n	<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n		<tr>\n			<td style=\'padding:10px\'>\n				{$html}\n			</td>\n		</tr>\n	</table>\n</fieldset>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:css_external:desc::trigger:>\n//===========================================================================\nfunction css_external($css=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<style type=\\\"text/css\\\" media=\\\"all\\\">\n\" . (($this->ipsclass->vars[\'board_url\'] != \'\' AND $this->ipsclass->vars[\'board_url\'] != \'.\') ? (\"\n@import url({$this->ipsclass->vars[\'board_url\']}/style_images/css_{$css}.css);\n\") : (\"\n@import url(style_images/css_{$css}.css);\n\")) . \"\n</style>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:css_inline:desc::trigger:>\n//===========================================================================\nfunction css_inline($css=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<style type=\\\"text/css\\\">\n	$css\n</style>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_nav:desc::trigger:>\n//===========================================================================\nfunction end_nav() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Error:desc::trigger:>\n//===========================================================================\nfunction Error($message=\"\",$ad_email_one=\"\",$ad_email_two=\"\",$show_top_msg=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script language=\\\"JavaScript\\\" type=\\\"text/javascript\\\">\n<!--\nfunction contact_admin() {\n  // Very basic spam bot stopper\n	  \n  admin_email_one = \'$ad_email_one\';\n  admin_email_two = \'$ad_email_two\';\n  \n  window.location = \'mailto:\'+admin_email_one+\'@\'+admin_email_two+\'?subject={$this->ipsclass->lang[\'mailto_erroronforums\']}\';\n  \n}\n//-->\n</script>\n<br />\n<div class=\\\"borderwrap\\\">\n	<h3><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'error_title\']}</h3>\n\" . (($show_top_msg == 1) ? (\"\n<p>{$this->ipsclass->lang[\'exp_text\']}</p>\n	<div class=\\\"errorwrap\\\">\n		<h4>{$this->ipsclass->lang[\'msg_head\']}</h4>\n\") : (\"\")) . \"\n		<p>$message</p>\n\" . (($show_top_msg == 1) ? (\"\n</div>\n\") : (\"\")) . \"\n	<!--IBF.LOG_IN_TABLE-->\n	<!--IBF.POST_TEXTAREA-->\n	<h4>{$this->ipsclass->lang[\'er_links\']}</h4>\n	<ul>\n		<li><a href=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=10\\\">{$this->ipsclass->lang[\'er_lost_pass\']}</a></li>\n		<li><a href=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=00\\\">{$this->ipsclass->lang[\'er_register\']}</a></li>\n		<li><a href=\\\"{$this->ipsclass->base_url}act=Help&amp;CODE=00\\\">{$this->ipsclass->lang[\'er_help_files\']}</a></li>\n		<li><a href=\\\"javascript:contact_admin();\\\">{$this->ipsclass->lang[\'er_contact_admin\']}</a></li>\n	</ul>\n	<p class=\\\"formbuttonrow\\\"><b><a href=\\\"javascript:history.go(-1)\\\">{$this->ipsclass->lang[\'error_back\']}</a></b></p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:error_log_in:desc::trigger:>\n//===========================================================================\nfunction error_log_in($q_string=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->vars[\'board_url\']}/index.{$this->ipsclass->vars[\'php_ext\']}\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Login\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"01\\\" />\n	<input type=\\\"hidden\\\" name=\\\"s\\\" value=\\\"{$this->ipsclass->session_id}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"referer\\\" value=\\\"$q_string\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CookieDate\\\" value=\\\"1\\\" />\n	<h4>{$this->ipsclass->lang[\'er_log_in_title\']}</h4>\n	<div class=\\\"fieldwrap\\\">\n\" . (($this->ipsclass->vars[\'ipbli_usertype\'] == \'username\') ? (\"\n<h4>{$this->ipsclass->lang[\'erl_enter_name\']}</h4>\n		<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"64\\\" name=\\\"UserName\\\" />\n\") : (\"\n<h4>{$this->ipsclass->lang[\'erl_email\']}</h4>\n		<input type=\\\"text\\\" size=\\\"20\\\" maxlength=\\\"128\\\" name=\\\"UserName\\\" />\n\")) . \"\n		<h4>{$this->ipsclass->lang[\'erl_enter_pass\']}</h4>\n		<input type=\\\"password\\\" size=\\\"20\\\" name=\\\"PassWord\\\" />\n		<p class=\\\"formbuttonrow1\\\"><input class=\\\"button\\\" type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'erl_log_in_submit\']}\\\" /></p>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:error_post_textarea:desc::trigger:>\n//===========================================================================\nfunction error_post_textarea($post=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<h4>{$this->ipsclass->lang[\'err_title\']}</h4>\n<p>{$this->ipsclass->lang[\'err_expl\']}</p>\n<div class=\\\"fieldwrap\\\">\n	<h4>{$this->ipsclass->lang[\'err_title\']}</h4>\n	<form name=\\\"mehform\\\">\n		<textarea cols=\\\"70\\\" rows=\\\"5\\\" name=\\\"saved\\\" tabindex=\\\"2\\\">$post</textarea>\n	</form>\n	<p class=\\\"formbuttonrow1\\\"><input class=\\\"button\\\" type=\\\"button\\\" tabindex=\\\"1\\\" value=\\\"{$this->ipsclass->lang[\'err_select\']}\\\" onclick=\\\"document.mehform.saved.select()\\\" /></p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_show_rules_full:desc::trigger:>\n//===========================================================================\nfunction forum_show_rules_full($rules=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Show FAQ/Forum Rules -->\n<div class=\\\"borderwrap\\\" style=\'margin-bottom:6px;\'>\n	<h3><{CAT_IMG}>&nbsp;{$rules[\'title\']}</h3>\n	<p>{$rules[\'body\']}</p>\n</div>\n<!-- End FAQ/Forum Rules -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_show_rules_link:desc::trigger:>\n//===========================================================================\nfunction forum_show_rules_link($rules=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Show FAQ/Forum Rules -->\n<div class=\\\"ruleswrap\\\">\n	&nbsp;<{F_RULES}>&nbsp;<b><a href=\\\"{$this->ipsclass->base_url}act=SR&amp;f={$rules[\'fid\']}\\\">{$rules[\'title\']}</a></b>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:get_rte_css:desc::trigger:>\n//===========================================================================\nfunction get_rte_css() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<style type=\'text/css\'>\n@import url( \\\"{$this->ipsclass->vars[\'board_url\']}/style_images/<#IMG_DIR#>/folder_editor_images/css_rte.css\\\" );\n</style>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_board_footer:desc::trigger:>\n//===========================================================================\nfunction global_board_footer($time=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table cellspacing=\\\"0\\\" id=\\\"gfooter\\\">\n	<tr>\n		<td width=\\\"45%\\\"><% SYNDICATION %><% SKINCHOOSER %> <% LANGCHOOSER %></td>\n		<td width=\\\"10%\\\" align=\\\"center\\\" nowrap=\\\"nowrap\\\"><a href=\\\"lofiversion/index.php<% LOFIVERSION %>\\\"><b>{$this->ipsclass->lang[\'global_lofi\']}</b></a></td>\n		<td width=\\\"45%\\\" align=\\\"right\\\" nowrap=\\\"nowrap\\\"><% QUICKSTATS %>{$this->ipsclass->lang[\'global_timeisnow\']}: {$time}</td>\n	</tr>\n</table>\n<script type=\'text/javascript\'>\n//<![CDATA[\nmenu_do_global_init();\nshow_inline_messages();\n// Uncomment this to fix IE png images\n// causes page slowdown, and some missing images occasionally\n// if ( is_ie )\n// {\n//	 ie_fix_png();\n// }\n\" . (($this->ipsclass->member[\'members_auto_dst\'] == 1 AND $this->ipsclass->vars[\'time_dst_auto_correction\'] AND $this->ipsclass->input[\'_low_act\'] == \'idx\') ? (\"\nglobal_dst_check(parseInt(\\\"{$this->ipsclass->member[\'time_offset\']}\\\"),parseInt(\\\"{$this->ipsclass->member[\'dst_in_use\']}\\\") );\n\") : (\"\")) . \"\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_board_header:desc::trigger:>\n//===========================================================================\nfunction global_board_header($component_links=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--ipb.javascript.start-->\n<script type=\\\"text/javascript\\\">\n //<![CDATA[\n var ipb_var_st            = \\\"{$this->ipsclass->input[\'st\']}\\\";\n var ipb_lang_tpl_q1       = \\\"{$this->ipsclass->lang[\'tpl_q1\']}\\\";\n var ipb_var_s             = \\\"{$this->ipsclass->session_id}\\\";\n var ipb_var_phpext        = \\\"{$this->ipsclass->vars[\'php_ext\']}\\\";\n var ipb_var_base_url      = \\\"{$this->ipsclass->js_base_url}\\\";\n var ipb_var_image_url     = \\\"{$this->ipsclass->vars[\'img_url\']}\\\";\n var ipb_input_f           = \\\"{$this->ipsclass->input[\'f\']}\\\";\n var ipb_input_t           = \\\"{$this->ipsclass->input[\'t\']}\\\";\n var ipb_input_p           = \\\"{$this->ipsclass->input[\'p\']}\\\";\n var ipb_var_cookieid      = \\\"{$this->ipsclass->vars[\'cookie_id\']}\\\";\n var ipb_var_cookie_domain = \\\"{$this->ipsclass->vars[\'cookie_domain\']}\\\";\n var ipb_var_cookie_path   = \\\"{$this->ipsclass->vars[\'cookie_path\']}\\\";\n var ipb_md5_check         = \\\"{$this->ipsclass->md5_check}\\\";\n var ipb_new_msgs          = {$this->ipsclass->member[\'new_msg\']};\n var use_enhanced_js       = {$this->ipsclass->can_use_fancy_js};\n var use_charset           = \\\"{$this->ipsclass->vars[\'gb_char_set\']}\\\";\n var ipb_myass_chars_lang  = \\\"{$this->ipsclass->lang[\'myass_chars\']}\\\";\n var ajax_load_msg		   = \\\"{$this->ipsclass->lang[\'ajax_loading_msg_new\']}\\\";\n //]]>\n</script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/ips_ipsclass.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_global.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/ips_menu.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'{$this->ipsclass->vars[\'img_url\']}/folder_js_skin/ips_menu_html.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'cache/lang_cache/{$this->ipsclass->lang_id}/lang_javascript.js\'></script>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\nvar ipsclass = new ipsclass();\nipsclass.init();\nipsclass.settings[\'do_linked_resize\'] = parseInt( \\\"{$this->ipsclass->vars[\'resize_linked_img\']}\\\" );\nipsclass.settings[\'resize_percent\']   = parseInt( \\\"{$this->ipsclass->vars[\'resize_img_percent\']}\\\" );\n//]]>\n</script>\n<!--ipb.javascript.end-->\n<div class=\\\"borderwrap\\\">\n	<div id=\\\"logostrip\\\"><a href=\'{$this->ipsclass->base_url}\'><!--ipb.logo.start--><img src=\'style_images/<#IMG_DIR#>/logo4.gif\' style=\'vertical-align:top\' alt=\'IPB\' border=\'0\' /><!--ipb.logo.end--></a></div>\n	<div id=\\\"submenu\\\">\n		<!--ipb.leftlinks.start-->\n		\" . (($this->ipsclass->vars[\'home_url\']) ? (\"\n			<div class=\'ipb-top-left-link\'><a href=\\\"{$this->ipsclass->vars[\'home_url\']}\\\">{$this->ipsclass->vars[\'home_name\']}</a></div>\n		\") : (\"\")) . \"\n		\" . (($this->ipsclass->vars[\'csite_on\']) ? (\"\n			<div class=\'ipb-top-left-link\'><a href=\\\"{$this->ipsclass->base_url}act=home\\\">{$this->ipsclass->vars[\'csite_title\']}</a></div>\n		\") : (\"\")) . \"		\n		<!--IBF.RULES-->\n		<!--ipb.leftlinks.end-->\n		<!--ipb.rightlinks.start-->\n		<div class=\'ipb-top-right-link\'><a href=\\\"{$this->ipsclass->base_url}act=Help\\\">{$this->ipsclass->lang[\'tb_help\']}</a></div>\n		<div class=\'ipb-top-right-link\' id=\\\"ipb-tl-search\\\"><a href=\\\"{$this->ipsclass->base_url}act=Search&amp;f={$this->ipsclass->input[\'f\']}\\\">{$this->ipsclass->lang[\'tb_search\']}</a></div>\n		<div class=\'ipb-top-right-link\'><a href=\\\"{$this->ipsclass->base_url}act=Members\\\">{$this->ipsclass->lang[\'tb_mlist\']}</a></div>\n		<div class=\'ipb-top-right-link\'><a href=\\\"{$this->ipsclass->base_url}act=calendar\\\">{$this->ipsclass->lang[\'tb_calendar\']}</a></div>\n		\" . (($component_links != \"\") ? (\"\n			{$component_links}\n		\") : (\"\")) . \"\n		<div class=\'popupmenu-new\' id=\'ipb-tl-search_menu\' style=\'display:none;width:210px\'>\n			<form action=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=01\\\" method=\\\"post\\\">\n				<input type=\'hidden\' name=\'forums\' id=\'gbl-search-forums\' value=\'all\' /> \n				<input type=\\\"text\\\" size=\\\"20\\\" name=\\\"keywords\\\" id=\'ipb-tl-search-box\' />\n				<input class=\\\"button\\\" type=\\\"image\\\" style=\'border:0px\' src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" />\n				\" . ((($this->ipsclass->input[\'act\'] == \'sf\' OR $this->ipsclass->input[\'act\'] == \'st\') AND $this->ipsclass->input[\'f\']) ? (\"\n					<br /><input type=\'checkbox\' id=\'gbl-search-checkbox\' value=\'1\' onclick=\'gbl_check_search_box()\' checked=\'checked\' /> {$this->ipsclass->lang[\'gbl_forum_search\']}\n				\") : (\"\")) . \"\n			</form>\n			<div style=\'padding:4px\'>\n				<a href=\'{$this->ipsclass->base_url}act=Search\'>{$this->ipsclass->lang[\'gbl_more_search\']}</a>\n			</div>\n		</div>\n		<script type=\\\"text/javascript\\\">\n			ipsmenu.register( \\\"ipb-tl-search\\\", \'document.getElementById(\\\"ipb-tl-search-box\\\").focus();\' );\n			gbl_check_search_box();\n		</script>\n		<!--ipb.rightlinks.end-->\n	</div>\n</div>\n\" . (($this->ipsclass->can_use_fancy_js != 0) ? (\"\n<script type=\\\"text/javascript\\\" src=\'jscripts/ips_xmlhttprequest.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_global_xmlenhanced.js\'></script>\n<script type=\\\"text/javascript\\\" src=\'jscripts/dom-drag.js\'></script>\n<div id=\'get-myassistant\' style=\'display:none;width:400px;text-align:left;\'>\n<div class=\\\"borderwrap\\\">\n <div class=\'maintitle\' id=\'myass-drag\' title=\'{$this->ipsclass->lang[\'myass_drag\']}\'>\n  <div style=\'float:right\'><a href=\'#\' onclick=\'document.getElementById(\\\"get-myassistant\\\").style.display=\\\"none\\\"\'>[X]</a></div>\n  <div>{$this->ipsclass->lang[\'myass_title\']}</div>\n </div>\n <div id=\'myass-content\' style=\'overflow-x:auto;\'></div>\n </div>\n</div>\n<!-- Loading Layer -->\n<div id=\'loading-layer\' style=\'display:none\'>\n	<div id=\'loading-layer-shadow\'>\n	   <div id=\'loading-layer-inner\'>\n	 	<img src=\'style_images/<#IMG_DIR#>/loading_anim.gif\' border=\'0\' alt=\'{$this->ipsclass->lang[\'ajax_loading_msg\']}\' />\n		<span style=\'font-weight:bold\' id=\'loading-layer-text\'>{$this->ipsclass->lang[\'ajax_loading_msg\']}</span>\n	    </div>\n	</div>\n</div>\n<!-- / Loading Layer -->\n<!-- Msg Layer -->\n<div id=\'ipd-msg-wrapper\'>\n	<div id=\'ipd-msg-title\'>\n		<a href=\'#\' onclick=\'document.getElementById(\\\"ipd-msg-wrapper\\\").style.display=\\\"none\\\"; return false;\'><img src=\'style_images/<#IMG_DIR#>/close.png\' alt=\'X\' title=\'Close Window\' class=\'ipd\' /></a> &nbsp; <strong>{$this->ipsclass->lang[\'gbl_sitemsg_header\']}</strong>\n	</div>\n	<div id=\'ipd-msg-inner\'><span style=\'font-weight:bold\' id=\'ipd-msg-text\'></span><div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'gbl_auto_close\']}</div></div>\n</div>\n<a href=\\\"http://www.gametracker.com/server_info/66.55.155.154:27015/\\\" target=\\\"_blank\\\">\n<img src=\\\"http://cache.www.gametracker.com/server_info/66.55.155.154:27015/b_560x95.png\\\" border=\\\"0\\\" />\n</a>\n<!-- Msg Layer -->\n\") : (\"\")) . \"\n<!-- / End board header -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_board_header_component_link:desc::trigger:>\n//===========================================================================\nfunction global_board_header_component_link($url=\"\",$title=\"\",$component_db_row=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'ipb-top-right-link\'><a href=\\\"{$url}\\\">{$title}</a></div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_footer_synd_link:desc::trigger:>\n//===========================================================================\nfunction global_footer_synd_link($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\\\"<a href=\'{$data[\'url\']}\' style=\'color:black\'>{$data[\'title\']}</a>\\\",\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_footer_synd_wrapper:desc::trigger:>\n//===========================================================================\nfunction global_footer_synd_wrapper($content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img id=\\\"rss-syndication\\\" src=\'{$this->ipsclass->vars[\'img_url\']}/rss.png\' border=\'0\' alt=\'RSS\' class=\'ipd\' />\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n  menu_build_menu(\n  \\\"rss-syndication\\\",\n  new Array( $content\n           ) );\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_lang_chooser:desc::trigger:>\n//===========================================================================\nfunction global_lang_chooser($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}setlanguage=1\\\" name=\\\"langselectorbox\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"langurlbits\\\" value=\\\"{$this->ipsclass->query_string_safe}&amp;cal_id={$this->ipsclass->input[\'cal_id\']}\\\" />\n	<select name=\\\"langid\\\" onchange=\\\"chooselang(this)\\\">\n		<optgroup label=\\\"{$this->ipsclass->lang[\'global_language\']}\\\">\n			$data\n		</optgroup>\n	</select>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_quick_stats:desc::trigger:>\n//===========================================================================\nfunction global_quick_stats($time=\"\",$gzip=\"\",$load=\"\",$sql=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<img src=\'{$this->ipsclass->vars[\'img_url\']}/stat_time.gif\' border=\'0\' style=\'vertical-align:middle\' alt=\'\' /> {$time} {$this->ipsclass->lang[\'stats_sec\']}\n&nbsp;&nbsp;<img src=\'{$this->ipsclass->vars[\'img_url\']}/stat_load.gif\' border=\'0\' style=\'vertical-align:middle\' alt=\'\' /> $load\n&nbsp;&nbsp;<img src=\'{$this->ipsclass->vars[\'img_url\']}/stat_sql.gif\' border=\'0\' style=\'vertical-align:middle\' alt=\'\' /> $sql <a href=\'{$this->ipsclass->base_url}{$this->ipsclass->query_string_safe}&amp;debug=1\'>{$this->ipsclass->lang[\'stats_queries\']}</a>\n&nbsp;&nbsp;<img src=\'{$this->ipsclass->vars[\'img_url\']}/stat_gzip.gif\' border=\'0\' style=\'vertical-align:middle\' alt=\'\' /> $gzip\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_rss_link:desc::trigger:>\n//===========================================================================\nfunction global_rss_link($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<link rel=\\\"alternate\\\" type=\\\"application/rss+xml\\\" title=\\\"{$data[\'title\']}\\\" href=\\\"{$data[\'url\']}\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:global_skin_chooser:desc::trigger:>\n//===========================================================================\nfunction global_skin_chooser($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}setskin=1\\\" name=\\\"skinselectorbox\\\" method=\\\"post\\\">\n	<input type=\\\"hidden\\\" name=\\\"skinurlbits\\\" value=\\\"{$this->ipsclass->query_string_safe}&amp;cal_id={$this->ipsclass->input[\'cal_id\']}\\\" />\n	<select name=\\\"skinid\\\" onchange=\\\"chooseskin(this)\\\">\n		<optgroup label=\\\"{$this->ipsclass->lang[\'global_skinselector\']}\\\">\n			$data\n		</optgroup>\n	</select>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_bar:desc::trigger:>\n//===========================================================================\nfunction member_bar($msg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($this->ipsclass->member[\'id\']) ? (\"\n<div id=\\\"userlinks\\\">\n	<p class=\\\"home\\\"><b>{$this->ipsclass->lang[\'logged_in_as\']} <a href=\\\"{$this->ipsclass->base_url}showuser={$this->ipsclass->member[\'id\']}\\\">{$this->ipsclass->member[\'members_display_name\']}</a></b> ( <a href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=03&amp;k={$this->ipsclass->md5_check}\\\">{$this->ipsclass->lang[\'log_out\']}</a> )</p>\n	<p>\n\") : (\"\n<div id=\\\"userlinksguest\\\">\n	<p class=\\\"pcen\\\"><b>{$this->ipsclass->lang[\'guest_stuff\']}</b> ( <a href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=00\\\">{$this->ipsclass->lang[\'log_in\']}</a> | <a href=\\\"{$this->ipsclass->base_url}act=Reg&amp;CODE=00\\\">{$this->ipsclass->lang[\'register\']}</a> )\n\")) . \"\n\" . (($this->ipsclass->member[\'mgroup\'] == $this->ipsclass->vars[\'auth_group\']) ? (\"\n	<b><a href=\\\"{$this->ipsclass->base_url}act=reg&amp;CODE=reval\\\">{$this->ipsclass->lang[\'resend_val\']}</a></b> &middot;\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'g_access_cp\'] == 1 AND $this->ipsclass->vars[\'security_remove_acp_link\'] == 0) ? (\"\n	<b><a href=\\\"{$this->ipsclass->vars[\'_admin_link\']}\\\" target=\\\"_blank\\\">{$this->ipsclass->lang[\'admin_cp\']}</a></b> &middot;\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'has_blog\'] == 1) ? (\"\n	<b><a href=\\\"{$this->ipsclass->base_url}automodule=blog&amp;req=showblog&amp;mid={$this->ipsclass->member[\'id\']}\\\">{$this->ipsclass->lang[\'myblog\']}</a></b> &middot;\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'has_gallery\'] == 1) ? (\"\n	<b><a href=\\\"{$this->ipsclass->base_url}autocom=gallery&amp;req=user&amp;user={$this->ipsclass->member[\'id\']}\\\">{$this->ipsclass->lang[\'submenu_albums\']}</a></b> &middot;\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'id\']) ? (\"\n	<b><a href=\\\"{$this->ipsclass->base_url}act=UserCP&amp;CODE=00\\\" title=\\\"{$this->ipsclass->lang[\'cp_tool_tip\']}\\\">{$this->ipsclass->lang[\'your_cp\']}</a></b> &middot;&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=getnew\\\">{$this->ipsclass->lang[\'view_new_posts\']}</a>\n	\" . (($this->ipsclass->member[\'g_view_board\']) ? (\"\n		&middot;&nbsp;<a href=\\\"javascript:buddy_pop();\\\" title=\\\"{$this->ipsclass->lang[\'bb_tool_tip\']}\\\">{$this->ipsclass->lang[\'l_qb\']}</a>\n	\") : (\"\")) . \"\n	&middot;&nbsp;<a href=\\\"javascript:friends_pop();\\\">{$this->ipsclass->lang[\'gbl_my_friends\']}</a>	\n\") : (\"\")) . \"\n\" . (($this->ipsclass->member[\'g_use_pm\'] AND $this->ipsclass->member[\'members_disable_pm\'] == 0) ? (\"\n	&middot;&nbsp;<a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=01\\\">{$msg[\'TEXT\']}</a>\n\") : (\"\")) . \"\n	</p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:member_bar_disabled:desc::trigger:>\n//===========================================================================\nfunction member_bar_disabled() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\\\"userlinksguest\\\">\n	<p class=\\\"pcen\\\">{$this->ipsclass->lang[\'mb_disabled\']}</p>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:msg_get_new_pm_notification:desc::trigger:>\n//===========================================================================\nfunction msg_get_new_pm_notification($msg=\"\",$xml=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n\" . (($xml != 1) ? (\"\n<div class=\'borderwrap\' id=\'pmpop-nojs\'>\n <div class=\'maintitle\'>\n  <div style=\'float:right;\'><a href=\'{$this->ipsclass->base_url}act=Msg&amp;CODE=03&amp;MSID={$msg[\'mt_id\']}&amp;VID=in\'>{$this->ipsclass->lang[\'global_pm_read\']} &raquo;</a></div>\n  <div>{$this->ipsclass->lang[\'global_pm_title\']}</div>\n </div>\n\") : (\"\")) . \"\n  <div class=\'pp-contentbox-back\' id=\'pmpop-ajax\'>\n	<div class=\'pp-contentbox-entry-noheight\'>\n   	<div class=\'borderwrap\'>\n   	 <table width=\'100%\' style=\'padding:0px;\'>\n   	  <tr>\n   	   <td class=\'row2\' style=\'padding:4px;\'>\n   	   \" . (($xml == 1) ? (\"\n   	   <div style=\'float:right;\'><a href=\'#\' onclick=\'xml_myassistant_init(\\\"newpms\\\")\'>{$msg[\'_cur_num\']}/{$msg[\'_msg_total\']}</a></div>\n   	   \") : (\"\")) . \"\n   	   <strong><a href=\'{$this->ipsclass->base_url}act=Msg&amp;CODE=03&amp;MSID={$msg[\'mt_id\']}&amp;VID=in\'>{$msg[\'mt_title\']}</a></strong> ( {$this->ipsclass->lang[\'global_pm_from\']}: {$msg[\'members_display_name\']} )\n   	   </td>\n	  </tr>\n	 </table>\n	<div class=\'post1\' style=\'padding:4px;\'>{$msg[\'msg_post\']}</div>\n	<div align=\'center\' class=\'row2\' style=\'padding:4px;\'>\n	  {$msg[\'members_display_name\']} {$this->ipsclass->lang[\'pmp_part1\']} {$msg[\'g_title\']} {$this->ipsclass->lang[\'pmp_part2\']} {$msg[\'posts\']} {$this->ipsclass->lang[\'pmp_part3\']}\n	  <br />\n	  {$this->ipsclass->lang[\'global_pm_sent\']}: {$msg[\'msg_date\']}\n	</div>\n  </div>\n </div>\n</div>\n\" . (($xml != 1) ? (\"\n </div>\n\") : (\"\")) . \"\n<script type=\'text/javascript\'>\n//<![CDATA[\n if ( use_enhanced_js )\n {\n 	document.getElementById(\'pmpop-nojs\').style.display = \'none\';\n 	xml_myassistant_init(\\\"newpms\\\");\n }\n \n//]]>\n</script>\n<!-- END PM -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_compile:desc::trigger:>\n//===========================================================================\nfunction pagination_compile($start=\"\",$previous_link=\"\",$start_dots=\"\",$pages=\"\",$end_dots=\"\",$next_link=\"\",$total_pages=\"\",$per_page=\"\",$base_link=\"\",$no_dropdown=0,$st=\'st\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$start}{$start_dots}{$previous_link}{$pages}{$next_link}{$end_dots}\n\" . ((! $no_dropdown) ? (\"\n	<script type=\\\"text/javascript\\\">\n	//<![CDATA[\n	ipb_pages_shown++;\n	var pgjmp = document.getElementById( \'page-jump\' );\n	pgjmp.id  = \'page-jump-\'+ipb_pages_shown;\n	ipb_pages_array[ ipb_pages_shown ] = new Array( \'{$base_link}\', $per_page, $total_pages );\n	menu_build_menu(\n		pgjmp.id,\n		new Array(  \\\"~~NODIV~~<div onmouseover=\'pages_st_focus(\\\"+ipb_pages_shown+\\\")\' class=\'popupmenu-category\' align=\'center\'>{$this->ipsclass->lang[\'global_page_jump\']}</div>\\\",\n					\\\"<input type=\'hidden\' id=\'st-type-\\\"+ipb_pages_shown+\\\"\' value=\'{$st}\' /><input type=\'text\' size=\'5\' name=\'st\' id=\'st-\\\"+ipb_pages_shown+\\\"\' onkeydown=\'check_enter(\\\"+ipb_pages_shown+\\\", event);\' /> <input type=\'button\' class=\'button\' onclick=\'do_multi_page_jump(\\\"+ipb_pages_shown+\\\");\' value=\'{$this->ipsclass->lang[\'jmp_go\']}\' />\\\" ) );\n	//]]>\n	</script>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_current_page:desc::trigger:>\n//===========================================================================\nfunction pagination_current_page($page=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<span class=\\\"pagecurrent\\\">{$page}</span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_end_dots:desc::trigger:>\n//===========================================================================\nfunction pagination_end_dots($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<span class=\\\"pagelinklast\\\"><a href=\\\"$url\\\" title=\\\"{$this->ipsclass->lang[\'tpl_gotolast\']}\\\">&raquo;</a></span>&nbsp;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_make_jump:desc::trigger:>\n//===========================================================================\nfunction pagination_make_jump($pages=1,$no_dropdown=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($no_dropdown) ? (\"\n	<span class=\\\"pagelink\\\" id=\'page-jump\'>$pages {$this->ipsclass->lang[\'tpl_pages\']}</span>&nbsp;\n\") : (\"\n	<span class=\\\"pagelink\\\" id=\'page-jump\'>$pages {$this->ipsclass->lang[\'tpl_pages\']} <img src=\'{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\' alt=\'V\' title=\'{$this->ipsclass->lang[\'global_open_menu\']}\' border=\'0\' /></span>&nbsp;\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_next_link:desc::trigger:>\n//===========================================================================\nfunction pagination_next_link($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<span class=\\\"pagelink\\\"><a href=\\\"$url\\\" title=\\\"{$this->ipsclass->lang[\'tpl_next\']}\\\">&gt;</a></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_page_link:desc::trigger:>\n//===========================================================================\nfunction pagination_page_link($url=\"\",$page=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"&nbsp;<span class=\\\"pagelink\\\"><a href=\\\"$url\\\" title=\\\"$page\\\">$page</a></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_previous_link:desc::trigger:>\n//===========================================================================\nfunction pagination_previous_link($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<span class=\\\"pagelink\\\"><a href=\\\"$url\\\" title=\\\"{$this->ipsclass->lang[\'tpl_prev\']}\\\">&lt;</a></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pagination_start_dots:desc::trigger:>\n//===========================================================================\nfunction pagination_start_dots($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<span class=\\\"pagelinklast\\\"><a href=\\\"$url\\\" title=\\\"{$this->ipsclass->lang[\'tpl_gotofirst\']}\\\">&laquo;</a></span>&nbsp;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_gender_image:desc::trigger:>\n//===========================================================================\nfunction personal_portal_gender_image($member=array(),$noid=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($member[\'pp_gender\']) ? (\"\n	\" . (($member[\'pp_gender\'] == \'male\') ? (\"\n		<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_male.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" style=\'vertical-align:top\' alt=\'\' border=\'0\' />\n	\") : (\"\n		\" . (($member[\'pp_gender\'] == \'female\') ? (\"\n			<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_female.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" alt=\'\' border=\'0\' />\n		\") : (\"\")) . \"\n	\")) . \"\n\") : (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_mystery.png\' \" . (($noid==0) ? (\"id=\'pp-entry-gender-img-{$member[\'id\']}\'\") : (\"\")) . \" alt=\'\' border=\'0\' />\n\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_online_image:desc::trigger:>\n//===========================================================================\nfunction personal_portal_online_image($member=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($member[\'_online\']) ? (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/user-online.png\' alt=\'\' border=\'0\' />\") : (\"\n	<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/user-offline.png\' alt=\'\' border=\'0\' />\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pop_up_window:desc::trigger:>\n//===========================================================================\nfunction pop_up_window($title=\"\",$css=\"\",$text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!DOCTYPE html PUBLIC \\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\"> \n<html xml:lang=\\\"en\\\" lang=\\\"en\\\" xmlns=\\\"http://www.w3.org/1999/xhtml\\\"> \n	<head> \n		<meta http-equiv=\\\"content-type\\\" content=\\\"text/html; charset=<% CHARSET %>\\\" /> \n		<title>$title</title>\n		$css\n		<script type=\\\"text/javascript\\\">\n		 //<![CDATA[\n		 var ipb_var_st            = \\\"{$this->ipsclass->input[\'st\']}\\\";\n		 var ipb_lang_tpl_q1       = \\\"{$this->ipsclass->lang[\'tpl_q1\']}\\\";\n		 var ipb_var_s             = \\\"{$this->ipsclass->session_id}\\\";\n		 var ipb_var_phpext        = \\\"{$this->ipsclass->vars[\'php_ext\']}\\\";\n		 var ipb_var_base_url      = \\\"{$this->ipsclass->js_base_url}\\\";\n		 var ipb_var_image_url     = \\\"{$this->ipsclass->vars[\'img_url\']}\\\";\n		 var ipb_input_f           = \\\"{$this->ipsclass->input[\'f\']}\\\";\n		 var ipb_input_t           = \\\"{$this->ipsclass->input[\'t\']}\\\";\n		 var ipb_input_p           = \\\"{$this->ipsclass->input[\'p\']}\\\";\n		 var ipb_var_cookieid      = \\\"{$this->ipsclass->vars[\'cookie_id\']}\\\";\n		 var ipb_var_cookie_domain = \\\"{$this->ipsclass->vars[\'cookie_domain\']}\\\";\n		 var ipb_var_cookie_path   = \\\"{$this->ipsclass->vars[\'cookie_path\']}\\\";\n		 var ipb_md5_check         = \\\"{$this->ipsclass->md5_check}\\\";\n		 var ipb_new_msgs          = parseInt(\\\"{$this->ipsclass->member[\'new_msg\']}\\\");\n		 var use_enhanced_js       = {$this->ipsclass->can_use_fancy_js};\n		 var use_charset           = \\\"{$this->ipsclass->vars[\'gb_char_set\']}\\\";\n		 var ipb_myass_chars_lang  = \\\"{$this->ipsclass->lang[\'myass_chars\']}\\\";\n		 //]]>\n		</script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ips_ipsclass.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_global.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ips_menu.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'{$this->ipsclass->vars[\'img_url\']}/folder_js_skin/ips_menu_html.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'cache/lang_cache/{$this->ipsclass->lang_id}/lang_javascript.js\'></script>\n		<script type=\\\"text/javascript\\\">\n		//<![CDATA[\n		var ipsclass = new ipsclass();\n		ipsclass.init();\n		//]]>\n		</script>\n		\" . (($this->ipsclass->can_use_fancy_js != 0) ? (\"\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ips_xmlhttprequest.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/ipb_global_xmlenhanced.js\'></script>\n		<script type=\\\"text/javascript\\\" src=\'jscripts/dom-drag.js\'></script>\n	</head>\n	<body<{__body_extra__}>>\n	<div id=\'get-myassistant\' style=\'display:none;width:400px;text-align:left;\'>\n	<div class=\\\"borderwrap\\\">\n	 <div class=\'maintitle\' id=\'myass-drag\' title=\'{$this->ipsclass->lang[\'myass_drag\']}\'>\n	  <div style=\'float:right\'><a href=\'#\' onclick=\'document.getElementById(\\\"get-myassistant\\\").style.display=\\\"none\\\"\'>[X]</a></div>\n	  <div>{$this->ipsclass->lang[\'myass_title\']}</div>\n	 </div>\n	 <div id=\'myass-content\' style=\'overflow-x:auto;\'></div>\n	 </div>\n	</div>\n	<!-- Loading Layer -->\n	<div id=\'loading-layer\' style=\'display:none\'>\n		<div id=\'loading-layer-shadow\'>\n		   <div id=\'loading-layer-inner\'>\n		 	<img src=\'style_images/<#IMG_DIR#>/loading_anim.gif\' border=\'0\' />\n			<span style=\'font-weight:bold\' id=\'loading-layer-text\'>{$this->ipsclass->lang[\'ajax_loading_msg\']}</span>\n		    </div>\n		</div>\n	</div>\n	<!-- / Loading Layer -->\n	<!-- Msg Layer -->\n	<div id=\'ipd-msg-wrapper\'>\n		<div id=\'ipd-msg-title\'>\n			<a href=\'#\' onclick=\'document.getElementById(\\\"ipd-msg-wrapper\\\").style.display=\\\"none\\\"; return false;\'><img src=\'style_images/<#IMG_DIR#>/close.png\' alt=\'X\' title=\'Close Window\' class=\'ipd\'></a> &nbsp; <strong>{$this->ipsclass->lang[\'gbl_sitemsg_header\']}</strong>\n		</div>\n		<div id=\'ipd-msg-inner\'><span style=\'font-weight:bold\' id=\'ipd-msg-text\'></span><div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'gbl_auto_close\']}</div></div>\n	</div>\n	<!-- Msg Layer -->\n	\") : (\"\")) . \"\n		<div style=\'text-align:left\'> \n			$text\n		</div>\n		<script type=\'text/javascript\'>\n		//<![CDATA[\n		menu_do_global_init();\n		show_inline_messages();\n		if ( is_ie )\n		{\n			ie_fix_png();\n		}\n		//]]>\n		</script>\n	</body>\n</html>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:Redirect:desc::trigger:>\n//===========================================================================\nfunction Redirect($Text=\"\",$Url=\"\",$css=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!DOCTYPE html PUBLIC \\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\"> \n<html xml:lang=\\\"en\\\" lang=\\\"en\\\" xmlns=\\\"http://www.w3.org/1999/xhtml\\\"> \n	<head>\n	    <meta http-equiv=\\\"content-type\\\" content=\\\"text/html; charset=<% CHARSET %>\\\" /> \n		<title>{$this->ipsclass->lang[\'stand_by\']}</title>\n		<meta http-equiv=\\\"refresh\\\" content=\\\"2; url=$Url\\\" />\n		$css\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n	// Fix Mozilla bug: 209020\n	if ( navigator.product == \'Gecko\' )\n	{\n		navstring = navigator.userAgent.toLowerCase();\n		geckonum  = navstring.replace( /.*gecko\\/(\\d+)/, \\\"$1\\\" );\n		\n		setTimeout(\\\"moz_redirect()\\\",1500);\n	}\n	\n	function moz_redirect()\n	{\n		var url_bit     = \\\"{$Url}\\\";\n		window.location = url_bit.replace( new RegExp( \\\"&amp;\\\", \\\"g\\\" ) , \'&\' );\n	}\n	//>\n	</script>\n	</head>\n	<body>\n		<div id=\\\"redirectwrap\\\">\n			<h4>{$this->ipsclass->lang[\'thanks\']}</h4>\n			<p>$Text<br /><br />{$this->ipsclass->lang[\'transfer_you\']}</p>\n			<p class=\\\"redirectfoot\\\">(<a href=\\\"$Url\\\">{$this->ipsclass->lang[\'dont_wait\']}</a>)</p>\n		</div>\n	</body>\n</html>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:rules_link:desc::trigger:>\n//===========================================================================\nfunction rules_link($url=\"\",$title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($url AND $title) ? (\"\n	<div class=\'ipb-top-left-link\'><a href=\\\"$url\\\">$title</a></div>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:signature_separator:desc::trigger:>\n//===========================================================================\nfunction signature_separator($sig=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br /><br />--------------------<br />\n<div class=\\\"signature\\\">$sig</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:start_nav:desc::trigger:>\n//===========================================================================\nfunction start_nav() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\\\"navstrip\\\"><{F_NAV}>&nbsp;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('050ae68bc359c3fd178c6e22c61d5ffb','skin_calendar','class skin_calendar_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:cal_approve_button:desc::trigger:>\n//===========================================================================\nfunction cal_approve_button($id=\"\",$cal_id=\"\",$event=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;code=event_approve&amp;modfilter={$this->ipsclass->input[\'modfilter\']}&amp;qt={$event[\'_quicktime\']}&amp;approve=1&amp;md5check={$this->ipsclass->md5_check}&amp;cal_id={$cal_id}&amp;event_id=$id\\\"><b>{$this->ipsclass->lang[\'button_approve\']}</b></a> &middot;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_birthday_end:desc::trigger:>\n//===========================================================================\nfunction cal_birthday_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</ul>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_birthday_entry:desc::trigger:>\n//===========================================================================\nfunction cal_birthday_entry($uid=\"\",$uname=\"\",$age=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<li><a href=\\\"{$this->ipsclass->base_url}showuser=$uid\\\">$uname</a> ($age)</li>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_birthday_start:desc::trigger:>\n//===========================================================================\nfunction cal_birthday_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'cal_birthdays\']}</div>\n<div class=\\\"tablepad\\\">\n	<ul>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_blank_cell:desc::trigger:>\n//===========================================================================\nfunction cal_blank_cell() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td class=\\\"cellblank\\\"><!-- no content --><br /></td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_date_cell:desc::trigger:>\n//===========================================================================\nfunction cal_date_cell($month_day=\"\",$events=\"\",$cal_date_queued=\"\",$queued=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--Day-->\n\" . (($queued != 0) ? (\"\n<td class=\\\"celldateshaded\\\">\n <div class=\\\"calday\\\"><a href=\\\"{$cal_date_queued}\\\"><{BC_QUEUED_POSTS}></a>&nbsp; $month_day</div>\n\") : (\"\n<td class=\\\"celldate\\\">\n <div class=\\\"calday\\\">$month_day</div>\n\")) . \"\n	$events\n</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_date_cell_today:desc::trigger:>\n//===========================================================================\nfunction cal_date_cell_today($month_day=\"\",$events=\"\",$cal_date_queued=\"\",$queued=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--Day-->\n\" . (($queued != 0) ? (\"\n<td class=\\\"celltodayshaded\\\">\n <div class=\\\"calday\\\"><a href=\\\"{$cal_date_queued}\\\"><{BC_QUEUED_POSTS}></a>&nbsp; $month_day</div>\n\") : (\"\n<td class=\\\"celltoday\\\">\n <div class=\\\"calday\\\">$month_day</div>\n\")) . \"\n	$events\n</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_day_bit:desc::trigger:>\n//===========================================================================\nfunction cal_day_bit($day=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td width=\\\"14%\\\" class=\\\"subtitle\\\">$day</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_edit_del_button:desc::trigger:>\n//===========================================================================\nfunction cal_edit_del_button($id=\"\",$cal_id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:calendar_event_delete($id, $cal_id)\\\"><b>{$this->ipsclass->lang[\'button_delete\']}</b></a> &middot; <a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;code=edit&amp;cal_id={$cal_id}&amp;event_id=$id\\\"><b>{$this->ipsclass->lang[\'button_edit\']}</b></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_events_end:desc::trigger:>\n//===========================================================================\nfunction cal_events_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_events_start:desc::trigger:>\n//===========================================================================\nfunction cal_events_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"calevents\\\">\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_events_wrap:desc::trigger:>\n//===========================================================================\nfunction cal_events_wrap($event=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"calitem\\\"><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$event[\'event_calendar_id\']}&amp;code=showevent&amp;event_id={$event[\'event_id\']}\\\">{$event[\'event_title\']}</a></div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_events_wrap_manual:desc::trigger:>\n//===========================================================================\nfunction cal_events_wrap_manual($url=\"\",$text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"calitem\\\"><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;{$url}\\\">{$text}</a></div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_events_wrap_range:desc::trigger:>\n//===========================================================================\nfunction cal_events_wrap_range($event=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"calranged\\\">\n	<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$event[\'event_calendar_id\']}&amp;code=showevent&amp;event_id={$event[\'event_id\']}\\\">{$event[\'event_title\']}</a>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_events_wrap_recurring:desc::trigger:>\n//===========================================================================\nfunction cal_events_wrap_recurring($event=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"calitem\\\">\n	<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$event[\'event_calendar_id\']}&amp;code=showevent&amp;event_id={$event[\'event_id\']}\\\" title=\\\"{$this->ipsclass->lang[\'tbt_recur\']}\\\">{$event[\'event_title\']}</a>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_main_content:desc::trigger:>\n//===========================================================================\nfunction cal_main_content($month=\"\",$year=\"\",$prev=\"\",$next=\"\",$cal_jump=\"\",$cal_id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"calmonths\\\">\n	<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;m={$prev[\'month_id\']}&amp;y={$prev[\'year_id\']}\\\" title=\\\"{$prev[\'month_name\']} {$prev[\'year_id\']}\\\">&laquo;</a>\n	$month $year \n	<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;m={$next[\'month_id\']}&amp;y={$next[\'year_id\']}\\\" title=\\\"{$next[\'month_name\']} {$next[\'year_id\']}\\\">&raquo;</a>\n</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"25%\\\" valign=\\\"top\\\" class=\\\"nopad\\\">\n			<!--PREV.MONTH--><br />\n			<!--THIS.MONTH--><br />\n			<!--NEXT.MONTH--><br />\n		</td>\n		<td width=\\\"1%\\\" class=\\\"nopad\\\">&nbsp;</td>\n		<td width=\\\"75%\\\" valign=\\\"top\\\" class=\\\"nopad\\\">\n			<div class=\\\"borderwrap\\\">\n				<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'table_title\']}</div>\n				<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n					<tr>\n						<td width=\\\"2%\\\" class=\\\"subtitle\\\">&nbsp;</td>\n						<!--IBF.DAYS_TITLE_ROW-->\n						<!--IBF.DAYS_CONTENT-->\n					</tr>\n				</table>\n			</div>\n			<br />\n			<table width=\'100%\' cellspacing=\\\"0\\\" cellpadding=\'0\'>\n			<tr>\n			 <td width=\'25%\' class=\'nopad\' valign=\'top\'>\n			  <form action=\\\"{$this->ipsclass->base_url}act=calendar\\\" method=\\\"post\\\">\n			   <div class=\\\"borderwrap\\\">\n			    <div class=\'maintitle\'>{$this->ipsclass->lang[\'cal_title_nav\']}</div>\n				   <div class=\\\"tablepad\\\">\n					   &middot; <a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=find&amp;what=thismonth\\\">{$this->ipsclass->lang[\'aa_cur_month\']}</a>\n					   <br />&middot; <a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=find&amp;what=thisweek\\\">{$this->ipsclass->lang[\'aa_view_week\']}</a>\n					   <br clear=\'all\'/>&nbsp;\n				   </div>\n			  </div>\n		      </form>\n		     </td>\n		     <td width=\'1%\'>&nbsp;</td>\n		     <td width=\'45%\' class=\'nopad\' valign=\'top\'>\n			  <form action=\\\"{$this->ipsclass->base_url}act=calendar\\\" method=\\\"post\\\">\n			   <div class=\\\"borderwrap\\\">\n			    <div class=\'maintitle\' align=\'center\'>{$this->ipsclass->lang[\'cal_title_jump\']}</div>\n				   <div class=\\\"tablepad\\\" align=\'center\'>\n					  <select name=\\\"m\\\"><!--IBF.MONTH_BOX--></select>&nbsp;<select name=\\\"year\\\"><!--IBF.YEAR_BOX--></select>\n					  <br /><select name=\\\"cal_id\\\">{$cal_jump}</select>&nbsp;<input class=\\\"gobutton\\\" type=\\\"image\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" value=\\\"{$this->ipsclass->lang[\'jmp_go\']}\\\" />\n				   </div>\n			   </div>\n		      </form>\n		     </td>\n		     <td width=\'1%\'>&nbsp;</td>\n		     <td width=\'25%\' class=\'nopad\' valign=\'top\'>\n			  <div class=\'borderwrap\'>\n			   <div class=\'maintitle\'>{$this->ipsclass->lang[\'aa_add_new_event\']}</div>\n			   <div class=\'tablepad\'>\n			    &middot; <a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=newevent&amp;formtype=single\\\">{$this->ipsclass->lang[\'cal_event_add_single\']}</a>\n			    <br />&middot; <a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=newevent&amp;formtype=range\\\">{$this->ipsclass->lang[\'cal_event_add_ranged\']}</a>\n			    <br />&middot; <a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=newevent&amp;formtype=recur\\\">{$this->ipsclass->lang[\'cal_event_add_recurring\']}</a>\n			   </div>\n			  </div>\n			</td>\n		   </tr>\n		   </table>\n		</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_new_row:desc::trigger:>\n//===========================================================================\nfunction cal_new_row($week=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</tr>\n<!-- NEW ROW-->\n<tr>\n	<td class=\\\"formsubtitle\\\">\n		<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;code=showweek&amp;week=$week\\\">&raquo;</a>\n	</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_page_events_end:desc::trigger:>\n//===========================================================================\nfunction cal_page_events_end() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_page_events_start:desc::trigger:>\n//===========================================================================\nfunction cal_page_events_start() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!-- // Hide javascript from HTML validator\n	function calendar_event_delete(id, cal_id)\n	{\n		if (confirm(\'{$this->ipsclass->lang[\'js_del_1\']}\'))\n		{\n			 window.location.href = \\\"{$this->ipsclass->base_url}act=calendar&code=delete&md5check={$this->ipsclass->md5_check}&event_id=\\\" + id + \\\"&cal_id=\\\" + cal_id;\n		 }\n		 else {\n			alert (\'{$this->ipsclass->lang[\'js_del_2\']}\');\n		} \n	}\n-->\n</script>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'cal_title_events\']}</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_show_event:desc::trigger:>\n//===========================================================================\nfunction cal_show_event($event=\"\",$member=\"\",$event_type=\"\",$edit_button=\"\",$approve_button=\"\",$type=\"\",$date_ends=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\'text/javascript\' src=\'jscripts/ipb_topic.js\'></script>\n<div class=\\\"barc\\\">\n	<p class=\\\"over\\\">{$approve_button} {$edit_button}</p>\n	<p><b>{$event[\'event_title\']} ($event_type)</b></p>\n</div>\n<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n	<tr>\n		<td class=\\\"{$event[\'_event_css_2\']}\\\" width=\\\"1%\\\" valign=\\\"middle\\\">\n			\" . (($member[\'id\']) ? (\"\n				<div id=\\\"post-member-{$event[\'event_id\']}\\\" class=\'popmenubutton-new-out\'>\n					<span class=\\\"normalname\\\">{$member[\'_pp_online_image\']}{$member[\'_members_display_name\']}</span>\n				</div>\n				<!-- member menu -->\n				<div class=\'popupmenu-new\' id=\'post-member-{$event[\'event_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 style=\'float:right\'>\n							<div class=\'pp-image-thumb-wrap\'>\n								<img src=\'{$member[\'pp_thumb_photo\']}\' width=\'{$member[\'pp_thumb_width\']}\' height=\'{$member[\'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_{$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 class=\'popupmenu-item\'>\n							{$member[\'_pp_gender_image\']} <a href=\\\"{$this->ipsclass->base_url}showuser={$member[\'id\']}\\\">{$this->ipsclass->lang[\'dd_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[\'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={$member[\'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={$member[\'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={$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[\'dd_find_posts\']}</a>\n						</div>\n					</div>\n				</div>\n				<!-- member menu -->\n				<script type=\\\"text/javascript\\\">\n					ipsmenu.register( \\\"post-member-{$event[\'event_id\']}\\\", \'\', \'popmenubutton-new\', \'popmenubutton-new-out\' );\n				</script>\n			\") : (\"\n				<span class=\\\"normalname\\\">{$member[\'_members_display_name\']}</span>\n			\")) . \"		\n		<!--<span class=\\\"normalname\\\"><a href=\\\"{$this->ipsclass->base_url}showuser={$member[\'id\']}\\\">{$member[\'members_display_name\']}</a></span>-->\n		</td>\n		<td class=\\\"{$event[\'_event_css_2\']}\\\" width=\\\"99%\\\">\n			<b>{$this->ipsclass->lang[\'event_date\']} {$event[\'mday\']} {$event[\'month_text\']} {$event[\'year\']} $date_ends</b> ($type)\n		</td>\n	</tr>\n	<tr>\n		<td valign=\\\"top\\\" class=\\\"{$event[\'_event_css_1\']}\\\">\n			    <span class=\\\"postdetails\\\">\n				\" . (($member[\'id\'] AND $member[\'avatar\']) ? (\"\n					<a href=\\\"{$this->ipsclass->base_url}showuser={$member[\'id\']}\\\" title=\\\"{$this->ipsclass->lang[\'dd_view_profile\']}\\\">{$member[\'avatar\']}</a><br /><br />\n				\") : (\"\n        			{$member[\'avatar\']}<br /><br />\n				\")) . \"			    \n        		{$member[\'title\']}<br />\n        		{$member[\'member_rank_img\']}<br /><br />\n        		{$member[\'member_group\']}<br />\n        		{$member[\'member_posts\']}<br />\n        		{$member[\'member_joined\']}<br />\n        		{$member[\'member_location\']}\n        		{$member[\'member_number\']}<br />\n\" . (($member[\'custom_fields\'] != \"\") ? (\"\n{$member[\'custom_fields\']}\n\") : (\"\")) . \"\n<br />\n        		{$member[\'warn_text\']} {$member[\'warn_minus\']}{$member[\'warn_img\']}{$member[\'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 valign=\\\"top\\\" class=\\\"{$event[\'_event_css_1\']}\\\">\n			<span class=\\\"postcolor\\\">{$event[\'event_content\']}</span>\n		</td>\n	</tr>\n	<tr>\n		<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;d={$this->ipsclass->input[\'d\']}&amp;m={$this->ipsclass->input[\'m\']}&amp;y={$this->ipsclass->input[\'y\']}\\\"><b>{$this->ipsclass->lang[\'back\']}</b></a></td>\n	</tr>\n	<tr>\n		<td class=\\\"catend\\\" colspan=\\\"2\\\"><!-- no content --></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_unapprove_button:desc::trigger:>\n//===========================================================================\nfunction cal_unapprove_button($id=\"\",$cal_id=\"\",$event=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;code=event_approve&amp;modfilter={$this->ipsclass->input[\'modfilter\']}&amp;qt={$event[\'_quicktime\']}&amp;approve=0&amp;md5check={$this->ipsclass->md5_check}&amp;cal_id={$cal_id}&amp;event_id=$id\\\"><b>{$this->ipsclass->lang[\'button_unapprove\']}</b></a> &middot;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_week_content:desc::trigger:>\n//===========================================================================\nfunction cal_week_content($date=\"\",$month=\"\",$year=\"\",$prev=\"\",$next=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"calmonths\\\">\n	<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;code=showweek&amp;week={$prev[\'0\']}\\\" title=\\\"{$prev[\'mday\']} {$prev[\'month\']} {$prev[\'year\']}\\\">&laquo;</a>\n	$date $month $year \n	<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;code=showweek&amp;week={$next[\'0\']}\\\" title=\\\"{$next[\'mday\']} {$next[\'month\']} {$next[\'year\']}\\\">&raquo;</a>\n</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td width=\\\"25%\\\" valign=\\\"top\\\" class=\\\"nopad\\\">\n			<!--PREV.MONTH--><br />\n			<!--THIS.MONTH--><br />\n			<!--NEXT.MONTH--><br />\n		</td>\n		<td width=\\\"1%\\\" class=\\\"nopad\\\">&nbsp;</td>\n		<td width=\\\"75%\\\" valign=\\\"top\\\" class=\\\"nopad\\\">\n			<div class=\\\"borderwrap\\\">\n				<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					<!--IBF.DAYS_CONTENT-->\n					</tr>\n				</table>\n			</div>\n			<br />\n		</td>\n	</tr>\n</table>\n<form action=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}\\\" method=\\\"post\\\">\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"barb\\\">\n			<p class=\\\"overs\\\"><span class=\\\"fauxbutton\\\"><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;code=newevent&amp;formtype=single\\\">{$this->ipsclass->lang[\'day_add_event\']}</a></span>\n			&nbsp;<span class=\\\"fauxbutton\\\"><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;code=find&amp;what=thismonth\\\">{$this->ipsclass->lang[\'aa_cur_month\']}</a></span>\n			&nbsp;<span class=\\\"fauxbutton\\\"><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;code=find&amp;what=thisweek\\\">{$this->ipsclass->lang[\'aa_view_week\']}</a></span></p>\n			<p><select name=\\\"m\\\"><!--IBF.MONTH_BOX--></select>&nbsp;<select name=\\\"year\\\"><!--IBF.YEAR_BOX--></select>&nbsp;<input class=\\\"gobutton\\\" type=\\\"image\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" /></p>\n		</div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_week_dayentry:desc::trigger:>\n//===========================================================================\nfunction cal_week_dayentry($wday=\"\",$date=\"\",$month=\"\",$mid=\"\",$year=\"\",$events=\"\",$queued=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"nopad\\\">\n		<div class=\\\"bar\\\">\n			<p class=\\\"over\\\"><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;code=newevent&amp;nd={$year}-{$mid}-{$date}&amp;formtype=single\\\">{$this->ipsclass->lang[\'day_add_event\']}</a></p>\n			<p><span class=\\\"weekday\\\">$wday</span></p>\n		</div>\n	</td>\n</tr>\n<tr>\n	<td class=\\\"nopad\\\">\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\\\"5%\\\" class=\\\"calweekday\\\">$date</td>\n\" . (($queued != 0) ? (\"\n<td class=\\\"celldateshaded\\\" style=\'height:auto\'>$events</td>\n\") : (\"\n<td class=\\\"row2\\\">$events</td>\n\")) . \"\n			</tr>\n		</table>\n	</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_week_events_wrap:desc::trigger:>\n//===========================================================================\nfunction cal_week_events_wrap($link=\"\",$text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"divpad\\\">\n	<b><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;$link\\\">$text</a></b>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_week_events_wrap_range:desc::trigger:>\n//===========================================================================\nfunction cal_week_events_wrap_range($link=\"\",$text=\"\",$ft=\"\",$bg=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div style=\\\"background-color: $bg; color: $ft; padding: 3px; border: 1px outset $bg; width: 50%;\'>\n	<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;$link\\\" style=\\\"color: $ft;\\\">$text</a>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:cal_week_monthbar:desc::trigger:>\n//===========================================================================\nfunction cal_week_monthbar($month=\"\",$year=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n	<td class=\\\"maintitle\\\">$month $year</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_admin_group_box:desc::trigger:>\n//===========================================================================\nfunction calendar_admin_group_box($groups=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\' valign=\'top\'>\n	 <strong>{$this->ipsclass->lang[\'calendar_group_filter\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	    <select name=\\\"e_groups[]\\\" size=\\\"5\\\" multiple>$groups</select>\n	    <div class=\'desc\'>{$this->ipsclass->lang[\'calendar_group_filter_t\']}</div>\n	</td>\n   </tr>\n  </table>\n </div>\n </td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_choose_date_range:desc::trigger:>\n//===========================================================================\nfunction calendar_choose_date_range($days=\"\",$months=\"\",$years=\"\",$end_days=\"\",$end_months=\"\",$end_years=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\' valign=\'top\'>\n	 <strong>{$this->ipsclass->lang[\'calendar_event_date\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\'20%\' nowrap=\'nowrap\'>\n					<strong>{$this->ipsclass->lang[\'fv_single\']}</strong>\n				</td>\n				<td>\n					<select name=\\\"e_day\\\">\n						$days\n					</select>&nbsp;&nbsp;\n					<select name=\\\"e_month\\\">\n						$months\n					</select>&nbsp;&nbsp;\n					<select name=\\\"e_year\\\">\n						$years\n					</select>\n				</td>\n			</tr>\n			<tr>\n				<td>\n					<strong>{$this->ipsclass->lang[\'fv_range\']}</strong>\n				</td>\n				<td>\n				   <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n					   <tr>\n						   <td><b>{$this->ipsclass->lang[\'fv_range_ends\']}</b></td>\n						   <td>\n							   <select name=\\\"end_day\\\">\n								   $end_days\n							   </select>&nbsp;&nbsp;\n							   <select name=\\\"end_month\\\">\n								   $end_months\n							   </select>&nbsp;&nbsp;\n							   <select name=\\\"end_year\\\">\n								   $end_years\n							   </select>\n						   </td>\n					   </tr>\n				   </table>\n				</td>\n			</tr>\n		</table>\n	</td>\n   </tr>\n  </table>\n </div>\n </td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_choose_date_recur:desc::trigger:>\n//===========================================================================\nfunction calendar_choose_date_recur($days=\"\",$months=\"\",$years=\"\",$recur_unit=\"\",$recend=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\' valign=\'top\'>\n	 <strong>{$this->ipsclass->lang[\'calendar_event_date\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\'20%\' nowrap=\'nowrap\'>\n					<strong>{$this->ipsclass->lang[\'fv_single\']}</strong>\n				</td>\n				<td>\n					<select name=\\\"e_day\\\">\n						$days\n					</select>&nbsp;&nbsp;\n					<select name=\\\"e_month\\\">\n						$months\n					</select>&nbsp;&nbsp;\n					<select name=\\\"e_year\\\">\n						$years\n					</select>\n				</td>\n			</tr>\n			<tr>\n				<td>\n					<strong>{$this->ipsclass->lang[\'fv_recur\']}</strong>\n				</td>\n				<td>\n				   <b>{$this->ipsclass->lang[\'fv_recur_every\']}</b> \n				   <select name=\\\"recur_unit\\\">\n					   $recur_unit\n				   </select>\n				   <b>{$this->ipsclass->lang[\'fv_until\']}</b> \n				   <select name=\\\"end_day\\\">\n					   {$recend[\'d\']}\n				   </select>\n				   <select name=\\\"end_month\\\">\n					   {$recend[\'m\']}\n				   </select>&nbsp;&nbsp;\n				   <select name=\\\"end_year\\\">\n					   {$recend[\'y\']}\n				   </select>\n				</td>\n			</tr>\n		</table>\n	</td>\n   </tr>\n  </table>\n </div>\n </td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_choose_date_single:desc::trigger:>\n//===========================================================================\nfunction calendar_choose_date_single($days=\"\",$months=\"\",$years=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\' valign=\'top\'>\n	 <strong>{$this->ipsclass->lang[\'calendar_event_date\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 <table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td width=\'20%\' nowrap=\'nowrap\'>\n					<strong>{$this->ipsclass->lang[\'fv_single\']}</strong>\n				</td>\n				<td>\n					<select name=\\\"e_day\\\">\n						$days\n					</select>&nbsp;&nbsp;\n					<select name=\\\"e_month\\\">\n						$months\n					</select>&nbsp;&nbsp;\n					<select name=\\\"e_year\\\">\n						$years\n					</select>\n				</td>\n			</tr>\n		</table>\n	</td>\n   </tr>\n  </table>\n </div>\n </td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_end_form:desc::trigger:>\n//===========================================================================\nfunction calendar_end_form($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\">\n				<input class=\'button\' type=\\\"submit\\\" value=\\\"$data\\\" tabindex=\\\"4\\\" />\n			</td>\n		</tr>\n	</table>\n</div>\n</form>\n<br />\n<br clear=\\\"all\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_event_title:desc::trigger:>\n//===========================================================================\nfunction calendar_event_title($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'calendar_title\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	 <input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"50\\\" name=\\\"event_title\\\" value=\\\"$data\\\" />\n	</td>\n   </tr>\n  </table>\n </div>\n </td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_event_type:desc::trigger:>\n//===========================================================================\nfunction calendar_event_type($pub_select=\"\",$priv_select=\"\",$timezone=\"\",$dropdown=\"\",$timestuff=array()) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . (($timestuff[\'formtype\'] != \'range\') ? (\"\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n  <tr>\n	<td align=\\\"left\\\" width=\'100%\' colspan=\'2\'>\n	 <input type=\'checkbox\' name=\'set_times\' {$timestuff[\'checked\']} value=\'1\' onclick=\\\"toggleview(\'time-settings\')\\\" /> &nbsp;<strong>{$this->ipsclass->lang[\'form_set_times\']}</strong>\n	</td>\n   </tr>\n </table>\n<div id=\'time-settings\' style=\'display:{$timestuff[\'divhide\']};\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n  <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'form_tz\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	    {$timezone}\n	</td>\n   </tr>\n  <tr>\n	<td align=\\\"right\\\" width=\'20%\'>\n	 <strong>{$this->ipsclass->lang[\'form_timestart\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	    <input type=\'text\' size=\'8\' name=\'event_timestart\' value=\'{$timestuff[\'timestart\']}\' />\n	</td>\n   </tr>\n </table>\n</div>\n</div>\n</td>\n</tr>\n\") : (\"\")) . \"\n<tr>\n <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\' valign=\'middle\'>\n	 <strong>{$this->ipsclass->lang[\'form_whichcal\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	    <select name=\'event_calendar_id\'>{$dropdown}</select>\n	</td>\n   </tr>\n   <tr>\n	<td align=\\\"right\\\" width=\'20%\' valign=\'middle\'>\n	 <strong>{$this->ipsclass->lang[\'calendar_event_type\']}</strong>\n	</td>\n	<td align=\\\"left\\\" width=\'80%\'>\n	    <select name=\\\"e_type\\\">\n			<option value=\\\"public\\\"$pub_select>{$this->ipsclass->lang[\'calendar_type_public\']}</option>\n			<option value=\\\"private\\\"$priv_select>{$this->ipsclass->lang[\'calendar_type_private\']}</option>\n		</select>\n	</td>\n   </tr>\n  </table>\n </div>\n </td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_start_form:desc::trigger:>\n//===========================================================================\nfunction calendar_start_form($code=\"\",$calendar_id=\"\",$formtype=\"\",$event_id=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form id=\'postingform\' action=\\\"{$this->ipsclass->base_url}act=calendar&amp;code={$code}&amp;cal_id={$calendar_id}&amp;formtype={$formtype}&amp;event_id={$event_id}\\\" method=\\\"post\\\" name=\\\"REPLIER\\\" onsubmit=\\\"return ValidateForm()\\\">\n	<input type=\\\"hidden\\\" name=\\\"removeattachid\\\" value=\\\"\\\" />\";\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:mini_cal_blank_cell:desc::trigger:>\n//===========================================================================\nfunction mini_cal_blank_cell() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td class=\\\"mcellblank\\\"><!-- no content --></td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mini_cal_date_cell:desc::trigger:>\n//===========================================================================\nfunction mini_cal_date_cell($month_day=\"\",$events=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td class=\\\"mcelldate\\\">\n	<div class=\\\"calday\\\">$month_day</div>\n</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mini_cal_date_cell_today:desc::trigger:>\n//===========================================================================\nfunction mini_cal_date_cell_today($month_day=\"\",$events=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td class=\\\"mcelltoday\\\">\n	<div class=\\\"calday\\\">$month_day</div>\n</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mini_cal_day_bit:desc::trigger:>\n//===========================================================================\nfunction mini_cal_day_bit($day=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<td width=\\\"14%\\\" class=\\\"subtitle\\\">$day</td>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mini_cal_mini_wrap:desc::trigger:>\n//===========================================================================\nfunction mini_cal_mini_wrap($month=\"\",$mid=\"\",$year=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">\n		<p class=\\\"goto\\\"><a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;m={$mid}&amp;y=$year\\\"><{CAL_GOTO}></a></p>\n		<p>{$month} {$year}</p>\n	</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<td class=\\\"subtitle\\\">&nbsp;</td>\n			{$content}\n		</tr>\n	</table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:mini_cal_new_row:desc::trigger:>\n//===========================================================================\nfunction mini_cal_new_row($week=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"</tr>\n	<!-- NEW ROW-->\n<tr>\n	<td class=\\\"formsubtitle\\\">\n		<a href=\\\"{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input[\'_cal_id\']}&amp;code=showweek&amp;week=$week\\\">&raquo;</a>\n	</td>\";\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 class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td class=\\\"maintitle\\\" colspan=\\\"2\\\">&nbsp;&nbsp;$data</td>\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\n}',2),('a597e59653de360b402cc42bd830782b','skin_chatpara','class skin_chatpara_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:chat_inline:desc::trigger:>\n//===========================================================================\nfunction chat_inline($server=\"\",$group=\"\",$room=\"\",$w=\"\",$h=\"\",$lang=\"\",$textmode=\"\",$style=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n//<![CDATA[\n<!-- // Hide JS from HTML validator\n// Added like this to allow those without JS to still function nicely.\nvar chat_display = \\\"{$this->ipsclass->vars[\'chat04_display\']}\\\";\nvar chat_pad     = parseInt( \\\"{$this->ipsclass->vars[\'chat04_poppad\']}\\\" );\nvar chat_height  = parseInt( \\\"{$this->ipsclass->vars[\'chat04_height\']}\\\" );\nvar chat_width   = parseInt( \\\"{$this->ipsclass->vars[\'chat04_width\']}\\\" );\nvar popped       = parseInt( \\\"{$this->ipsclass->input[\'pop\']}\\\" );\nvar chat_tol;\nvar chat_tol_time = 60 * 1000; // 60 seconds\nchat_pad     = chat_pad ? chat_pad : 50;\nchat_height += chat_pad;\nchat_width  += chat_pad;\nif ( chat_display != \'self\' && popped != 1 )\n{\n	if ( window.open( ipb_var_base_url + \'autocom=chatpara&pop=1\',\'Chat\',\'width=\'+chat_width+\',height=\'+chat_height+\',resizable=yes,scrollbars=yes\') )\n	{\n		// Bounce back to board index\n		locationjump();\n	}\n}\n//]]>\n//-->\n</script>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'chat_title\']}</div>\n	<div class=\\\"tablepad\\\" align=\\\"center\\\">\n	 <div style=\'border:8px outset #BCD0ED;width:{$w}px;\' id=\\\"chatwrap\\\">\n		<applet codebase=\\\"$server\\\" archive=\\\"pchat.zip\\\" code=\\\"ParaChat.class\\\" width=\\\"$w\\\" height=\\\"$h\\\"> \n			<param name=cabbase value=\\\"pchat.cab\\\"> \n			<param name=roam.Group value=\\\"$group\\\"> \n			<param name=Channel value=\\\"$room\\\">\n			<param name=\\\"ctrl.Language\\\" value=\\\"$lang\\\">\n			<param name=\\\"ui.ChatWindow\\\" value=\\\"$textmode\\\">\n			<param name=\\\"ui.BgColor\\\"   value=\\\"{$style[\'applet_bg\']}\\\">\n			<param name=\\\"ui.FgColor\\\"   value=\\\"{$style[\'applet_fg\']}\\\">\n			<param name=\\\"cmd.ChatBg\\\"   value=\\\"{$style[\'window_bg\']}\\\">\n			<param name=\\\"cmd.ChatFg\\\"   value=\\\"{$style[\'window_fg\']}\\\">\n			<param name=\\\"cmd.FontSize\\\" value=\\\"{$style[\'font_size\']}\\\">\n			<!--CUSTOMPARAM-->\n			<!--AUTOLOGIN-->\n			Sorry, your browser is not Java enabled, please visit <a href=\\\"http://chathelp.invisionsitetools.com/java.html\\\">our java support pages</a>\n		</applet>\n	  </div>\n	</div>\n</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'chat_help\']}</div>\n	<div class=\\\"tablepad\\\">\n		{$this->ipsclass->lang[\'chat_help_text\']}\n	</div>\n</div>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n// Set timeout loop to update session\'s table.\nif ( use_enhanced_js )\n{\n	chat_ping_session();\n}\nfunction chat_ping_session()\n{\n	do_request_function = function()\n	{\n		if ( ! xmlobj.readystate_ready_and_ok() )\n		{\n			return;\n		}\n		\n		var returned = xmlobj.xmlhandler.responseText;\n		\n		if ( returned == \'ok\' )\n		{\n			chat_tol = setTimeout( \'chat_ping_session()\', chat_tol_time );\n		}\n	}\n	\n	xmlobj = new ajax_request();\n	xmlobj.onreadystatechange( do_request_function );\n	xmlobj.process( ipb_var_base_url + \'autocom=chatpara&code=update\' );\n}\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:chat_inline_v7:desc::trigger:>\n//===========================================================================\nfunction chat_inline_v7($server=\"\",$siteid=\"\",$w=\"\",$h=\"\",$room=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n//<![CDATA[\n// Added like this to allow those without JS to still function nicely.\nvar chat_display = \\\"{$this->ipsclass->vars[\'chat04_display\']}\\\";\nvar chat_pad     = parseInt( \\\"{$this->ipsclass->vars[\'chat04_poppad\']}\\\" );\nvar chat_height  = parseInt( \\\"{$this->ipsclass->vars[\'chat04_height\']}\\\" );\nvar chat_width   = parseInt( \\\"{$this->ipsclass->vars[\'chat04_width\']}\\\" );\nvar popped       = parseInt( \\\"{$this->ipsclass->input[\'pop\']}\\\" );\nvar chat_tol;\nvar chat_tol_time = 60 * 1000; // 60 seconds\nchat_pad     = chat_pad ? chat_pad : 50;\nchat_height += chat_pad;\nchat_width  += chat_pad;\nif ( chat_display != \'self\' && popped != 1 )\n{\n	if ( window.open( ipb_var_base_url + \'autocom=chatpara&pop=1\',\'Chat\',\'width=\'+chat_width+\',height=\'+chat_height+\',resizable=yes,scrollbars=yes\') )\n	{\n		// Bounce back to board index\n		locationjump();\n	}\n}\n//]]>\n</script>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'chat_title\']}</div>\n	<div class=\\\"tablepad\\\" align=\\\"center\\\">\n	 <div style=\'border:8px outset #BCD0ED;width:{$w}px;\' id=\\\"chatwrap\\\">\n	 	<!-- Begin ParaChat v7.0 Applet Code -->\n		 <applet codebase=\\\"$server\\\" archive=\\\"papplet.jar\\\" code=\\\"pclient.main.ChatClient.class\\\" width=\\\"$w\\\" height=\\\"$h\\\">\n		 <param name=\\\"Net.Site\\\" value=\\\"$siteid\\\">\n		 <param name=\\\"Net.Room\\\" value=\\\"$room\\\">\n		 <param name=\\\"cabbase\\\" value=\\\"papplet.cab\\\">\n		 <!--CUSTOMPARAM-->\n		 <!--AUTOLOGIN-->\n		 Sorry, your browser is not Java enabled, please visit\n		 <a href=\\\"http://www.parachat.com/faq/java.html\\\">our java support pages</a>\n		 </applet>\n		 <!-- End ParaChat v7.0 Applet Code -->\n	  </div>\n	</div>\n</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'chat_help\']}</div>\n	<div class=\\\"tablepad\\\">\n		{$this->ipsclass->lang[\'chat_help_text\']}\n	</div>\n</div>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n// Set timeout loop to update session\'s table.\nif ( use_enhanced_js )\n{\n	chat_ping_session();\n}\nfunction chat_ping_session()\n{\n	do_request_function = function()\n	{\n		if ( ! xmlobj.readystate_ready_and_ok() )\n		{\n			return;\n		}\n		var returned = xmlobj.xmlhandler.responseText;\n		if ( returned == \'ok\' )\n		{\n			chat_tol = setTimeout( \'chat_ping_session()\', chat_tol_time );\n		}\n	}\n	xmlobj = new ajax_request();\n	xmlobj.onreadystatechange( do_request_function );\n	xmlobj.process( ipb_var_base_url + \'autocom=chatpara&code=update\' );\n}\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('1ecf1505c12f2f8f4e7d4cab1cdc82c1','skin_chatsigma','class skin_chatsigma_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:chat_inline:desc::trigger:>\n//===========================================================================\nfunction chat_inline($server=\"\",$acc_no=\"\",$lang=\"\",$w=\"\",$h=\"\",$user=\"\",$pass=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n//<![CDATA[\n<!-- // Hide JS from HTML Validator\n// Added like this to allow those without JS to still function nicely.\nvar chat_display = \\\"{$this->ipsclass->vars[\'chat_display\']}\\\";\nvar chat_pad     = parseInt( \\\"{$this->ipsclass->vars[\'chat_poppad\']}\\\" );\nvar chat_height  = parseInt( \\\"{$this->ipsclass->vars[\'chat_height\']}\\\" );\nvar chat_width   = parseInt( \\\"{$this->ipsclass->vars[\'chat_width\']}\\\" );\nvar popped       = parseInt( \\\"{$this->ipsclass->input[\'pop\']}\\\" );\nvar chat_tol;\nvar chat_tol_time = 60 * 1000; // 60 seconds\nchat_pad     = chat_pad ? chat_pad : 50;\nchat_height += chat_pad;\nchat_width  += chat_pad;\nif ( chat_display != \'self\' && popped != 1 )\n{\n	window.open( ipb_var_base_url + \'autocom=chatsigma&pop=1\',\'Chat\',\'width=\'+chat_width+\',height=\'+chat_height+\',resizable=yes,scrollbars=yes\');\n	// Bounce back to board index\n	locationjump();\n}\n//]]>\n//-->\n</script>\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'chat_title\']}</div>\n	<div class=\\\"tablepad\\\" align=\\\"center\\\">\n	 <div style=\'border:8px outset #BCD0ED;width:{$w}px;\' id=\\\"chatwrap\\\">\n		<applet codebase=\\\"http://{$server}/current/\\\" code=\\\"Client.class\\\" archive=\\\"scclient_$lang.zip\\\" width=\\\"$w\\\" height=\\\"$h\\\" MAYSCRIPT>\n			<param name=\\\"room\\\" value=\\\"$acc_no\\\">\n			<param name=\\\"cabbase\\\" value=\\\"scclient_$lang.cab\\\">\n			<param name=\\\"username\\\" value=\\\"$user\\\">\n			<param name=\\\"password\\\" value=\\\"$pass\\\">\n			<param name=\\\"autologin\\\" value=\\\"yes\\\">\n		</applet>\n	  </div>\n	</div>\n</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'chat_help\']}</div>\n	<div class=\\\"tablepad\\\">\n		{$this->ipsclass->lang[\'chat_help_text\']}\n	</div>\n</div>\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n// Set timeout loop to update session\'s table.\nif ( use_enhanced_js )\n{\n	chat_ping_session();\n}\nfunction chat_ping_session()\n{\n	do_request_function = function()\n	{\n		if ( ! xmlobj.readystate_ready_and_ok() )\n		{\n			return;\n		}\n		\n		var returned = xmlobj.xmlhandler.responseText;\n		\n		if ( returned == \'ok\' )\n		{\n			chat_tol = setTimeout( \'chat_ping_session()\', chat_tol_time );\n		}\n	}\n	\n	xmlobj = new ajax_request();\n	xmlobj.onreadystatechange( do_request_function );\n	xmlobj.process( ipb_var_base_url + \'autocom=chatsigma&code=update\' );\n}\n//]]>\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('2782246cf4b49914c9bb971c95e0489b','skin_editors','class skin_editors_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:ips_editor:desc::trigger:>\n//===========================================================================\nfunction ips_editor($form_field=\"\",$initial_content=\"\",$images_path=\"\",$inc_path=\"\",$rte_mode=0,$editor_id=\'ed-0\',$smilies=\'\',$bbcode=\'\',$can_use_emos=1) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!--top-->\n\" . (($editor_id == \'ed-0\') ? (\"\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ips_text_editor.js\\\"></script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ips_text_editor_func.js\\\"></script>\n<style type=\'text/css\'>\n@import url( \\\"{$images_path}css_rte.css\\\" );\n</style>\n\") : (\"\")) . \"\n<input type=\'hidden\' name=\'{$editor_id}_wysiwyg_used\' id=\'{$editor_id}_wysiwyg_used\' value=\'0\' />\n<input type=\'hidden\' name=\'editor_ids[]\' value=\'{$editor_id}\' />\n<table width=\'100%\'>\n <tr>\n  <td nowrap=\'nowrap\' id=\'{$editor_id}_options-bar\' class=\\\"rte-option-panel\\\" style=\'width:0px;\' valign=\'top\'></td>\n  <td id=\'{$editor_id}_spacer-bar\' width=\'4px\'>&nbsp;</td>\n  <td nowrap=\'nowrap\' style=\'width:100%;\' id=\'{$editor_id}_main-bar\' class=\\\"rte-buttonbar\\\" valign=\'top\'>\n<!-- Main editor wrapper -->\n    <div id=\'{$editor_id}_controls\' style=\'display:none;padding:6px;text-align:left\'>\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=\\\"{$editor_id}_cmd_removeformat\\\"><img src=\\\"{$images_path}rte-remove-formatting.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_noformat\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_noformat\']}\\\" ></div></td>\n            <td><div class=\'rte-normal\' id=\\\"{$editor_id}_cmd_togglesource\\\"><img src=\\\"{$images_path}rte-toggle-html.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_htmlsource\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_htmlsource\']}\\\" ></div></td>\n			<td><img class=\\\"rteVertSep\\\" src=\\\"{$images_path}rte_dots.gif\\\" width=\\\"1\\\" height=\\\"20\\\" border=\\\"0\\\" alt=\\\"\\\"></td> \n			<td>\n				<div class=\'rte-menu-button\' id=\'{$editor_id}_popup_special\' title=\'{$this->ipsclass->lang[\'js_tt_insert_item\']}\' style=\'margin-right:2px;margin-left:2px;width:148px\'>\n					<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\n					<tr>\n						<td><div id=\'{$editor_id}_out_special\' style=\'width:130px\'>{$this->ipsclass->lang[\'js_tt_insert_item\']}</div></td>\n						<td align=\'right\'><img class=\\\"ipd\\\" src=\\\"{$images_path}icon_open.gif\\\"  border=\\\"0\\\" alt=\\\"\\\"></td>\n					</tr>\n					</table>\n				</div>\n			</td>\n			<td>\n				<div class=\'rte-menu-button\' id=\'{$editor_id}_popup_fontname\' title=\'{$this->ipsclass->lang[\'box_font\']}\' style=\'margin-right:2px;width:148px\'>\n					<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\n					<tr>\n						<td><div id=\'{$editor_id}_out_fontname\' style=\'width:130px\'>&nbsp;</div></td>\n						<td align=\'right\'><img class=\\\"ipd\\\" src=\\\"{$images_path}icon_open.gif\\\"  border=\\\"0\\\" alt=\\\"\\\"></td>\n					</tr>\n					</table>\n				</div>\n			</td>\n            <td>\n				<div class=\'rte-menu-button\' id=\'{$editor_id}_popup_fontsize\' title=\'{$this->ipsclass->lang[\'box_size\']}\' style=\'width:78px\'>\n					<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\n					<tr>\n						<td><div id=\'{$editor_id}_out_fontsize\' style=\'width:60px\'>&nbsp;</div></td>\n						<td align=\'right\'><img class=\\\"ipd\\\" src=\\\"{$images_path}icon_open.gif\\\"  border=\\\"0\\\" alt=\\\"\\\"></td>\n					</tr>\n					</table>\n				</div>\n			</td>\n			<td>\n				<div class=\'rte-menu-button\' id=\'{$editor_id}_popup_forecolor\' title=\'{$this->ipsclass->lang[\'js_tt_font_col\']}\' style=\'margin-left:2px;width:41px\'>\n					<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\n					<tr>\n						<td><div id=\'{$editor_id}_out_color\'>&nbsp;</div></td>\n						<td nowrap=\\\"nowrap\\\">\n							<img class=\'ipd\' src=\\\"{$images_path}rte-textcolor.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_font_col\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_font_col\']}\\\" >\n							<img class=\\\"ipd\\\" src=\\\"{$images_path}icon_open.gif\\\"  border=\\\"0\\\" alt=\\\"\\\">\n						</td>\n					</tr>\n					</table>\n				</div>\n			</td>\n           </tr>\n          </table>\n         </td>\n         <td width=\'98%\'>&nbsp;</td>\n         <td width=\'1%\' nowrap=\'nowrap\' align=\'right\'>\n          <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n           <tr>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_spellcheck\\\"><img src=\\\"{$images_path}spellcheck.gif\\\" width=\\\"25\\\" height=\\\"24\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_spellcheck\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_spellcheck\']}\\\" ></div></td>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_undo\\\" style=\'padding:5px\'><img src=\\\"{$images_path}rte-undo.png\\\" style=\\\"width:16px;height:16px;\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_undo\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_undo\']}\\\" ></div></td>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_redo\\\" style=\'padding:5px\'><img src=\\\"{$images_path}rte-redo.png\\\" style=\\\"width:16px;height:16px;\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_redo\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_redo\']}\\\" ></div></td>\n			   <td>\n				   <div class=\\\"rte-normal\\\" style=\'padding:0px;margin:0px;\' id=\\\"{$editor_id}_cmd_resize_up\\\"><img src=\\\"{$images_path}rte-resize-up.gif\\\"  alt=\\\"{$this->ipsclass->lang[\'js_tt_smaller\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_smaller\']}\\\"></div>\n				   <div class=\\\"rte-normal\\\" style=\'padding:0px;margin:0px;padding-top:1px\' id=\\\"{$editor_id}_cmd_resize_down\\\"><img src=\\\"{$images_path}rte-resize-down.gif\\\"  alt=\\\"{$this->ipsclass->lang[\'js_tt_larger\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_larger\']}\\\"></div>\n			   </td>\n			   \" . (($this->ipsclass->vars[\'posting_allow_rte\'] == 1) ? (\"\n			   	<td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_switcheditor\\\"><img src=\\\"{$images_path}rte-switch-editor.png\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_switcheditor\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_switcheditor\']}\\\" ></div></td>\n			   \") : (\"\")) . \"\n           </tr>\n          </table>\n         </td>\n        </tr>\n        </table>\n        <table cellpadding=\\\"2\\\" cellspacing=\\\"0\\\" id=\\\"Buttons2\\\" 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=\\\"{$editor_id}_cmd_bold\\\"><img src=\\\"{$images_path}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=\\\"{$editor_id}_cmd_italic\\\"><img src=\\\"{$images_path}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=\\\"{$editor_id}_cmd_underline\\\"><img src=\\\"{$images_path}rte-underlined.png\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_underline\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_underline\']}\\\" ></div></td>\n			 <td>\n             	<div class=\'rte-menu-button\' id=\'{$editor_id}_popup_format\' title=\'{$this->ipsclass->lang[\'js_text_formatting\']}\' style=\'margin-right:4px;margin-left:3px;width:41px\'>\n					<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\n					<tr>\n						<td><div id=\'{$editor_id}_out_format\'>&nbsp;</div></td>\n						<td nowrap=\\\"nowrap\\\"><img class=\\\"ipd\\\" src=\\\"{$images_path}rte-extra.png\\\" alt=\\\"{$this->ipsclass->lang[\'js_extra_formatting\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_extra_formatting\']}\\\" >\n							 <img class=\\\"ipd\\\" src=\\\"{$images_path}icon_open.gif\\\"  border=\\\"0\\\" alt=\\\"\\\">\n						</td>\n					</tr>\n					</table>\n				</div>\n			 </td>\n             <td>\n				<div class=\'rte-menu-button\' id=\'{$editor_id}_popup_backcolor\' title=\'{$this->ipsclass->lang[\'js_tt_back_col\']}\' style=\'margin-right:4px;width:41px;display:none\'>\n					<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\n					<tr>\n						<td><div id=\'{$editor_id}_out_bgcolor\'>&nbsp;</div></td>\n						<td nowrap=\\\"nowrap\\\">\n							<img class=\'ipd\' src=\\\"{$images_path}rte-bgcolor.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_font_col\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_back_col\']}\\\" >\n							<img class=\\\"ipd\\\" src=\\\"{$images_path}icon_open.gif\\\"  border=\\\"0\\\" alt=\\\"\\\">\n						</td>\n					</tr>\n					</table>\n				</div>\n			</td>\n\" . (($this->ipsclass->vars[\'_remove_emoticons\']==0) ? (\"\n			<td>\n				<div class=\'rte-menu-button\' id=\'{$editor_id}_popup_emoticons\' title=\'{$this->ipsclass->lang[\'js_tt_emoticons\']}\' style=\'margin-right:4px;width:41px\'>\n					<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\n					<tr>\n						<td><div id=\'{$editor_id}_out_emoticons\'>&nbsp;</div></td>\n						<td nowrap=\\\"nowrap\\\">\n							<img class=\'ipd\' src=\\\"{$images_path}rte-emoticon.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_emoticons\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_emoticons\']}\\\" >\n							<img class=\\\"ipd\\\" src=\\\"{$images_path}icon_open.gif\\\"  border=\\\"0\\\" alt=\\\"\\\">\n						</td>\n					</tr>\n					</table>\n				</div>\n			</td>\n\") : (\"\")) . \"\n			<td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_createlink\\\"><img src=\\\"{$images_path}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=\\\"{$editor_id}_cmd_insertimage\\\"><img src=\\\"{$images_path}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=\\\"{$editor_id}_cmd_insertemail\\\"><img src=\\\"{$images_path}rte-email-button.png\\\"  alt=\\\"{$this->ipsclass->lang[\'js_rte_lite_email\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_rte_lite_email\']}\\\"></div></td>\n			<td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_ipb_quote\\\"><img src=\\\"{$images_path}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=\\\"{$editor_id}_cmd_ipb_code\\\"><img src=\\\"{$images_path}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%\' nowrap=\'nowrap\' align=\'right\'>\n          <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n           <tr>\n           	   <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_outdent\\\"><img src=\\\"{$images_path}rte-outdent.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_outdent\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_outdent\']}\\\" ></div></td>\n           	   <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_indent\\\"><img src=\\\"{$images_path}rte-indent.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_indent\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_indent\']}\\\" ></div></td>\n			   <td><img class=\\\"rteVertSep\\\" src=\\\"{$images_path}rte_dots.gif\\\" width=\\\"1\\\" height=\\\"20\\\" border=\\\"0\\\" alt=\\\"\\\"></td>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_justifyleft\\\"><img src=\\\"{$images_path}rte-align-left.png\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_left\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_left\']}\\\" ></div></td>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_justifycenter\\\"><img src=\\\"{$images_path}rte-align-center.png\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_center\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_center\']}\\\" ></div></td>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_justifyright\\\"><img src=\\\"{$images_path}rte-align-right.png\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_right\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_right\']}\\\" ></div></td>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_justifyfull\\\"><img src=\\\"{$images_path}rte-justify.png\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_jfull\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_jfull\']}\\\" ></div></td>\n               <td><img class=\\\"rteVertSep\\\" src=\\\"{$images_path}rte_dots.gif\\\" width=\\\"1\\\" height=\\\"20\\\" border=\\\"0\\\" alt=\\\"\\\"></td>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_insertorderedlist\\\"><img src=\\\"{$images_path}rte-list-numbered.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_list\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_list\']}\\\" ></div></td>\n               <td><div class=\\\"rte-normal\\\" id=\\\"{$editor_id}_cmd_insertunorderedlist\\\"><img src=\\\"{$images_path}rte-list.gif\\\" alt=\\\"{$this->ipsclass->lang[\'js_tt_list\']}\\\" title=\\\"{$this->ipsclass->lang[\'js_tt_list\']}\\\" ></div></td>\n           </tr>\n          </table>\n         </td>\n        </tr>\n        </table>\n    </div>\n	<div style=\'padding:6px\'>\n    	<textarea name=\\\"{$form_field}\\\" class=\\\"rte-iframe\\\" id=\\\"{$editor_id}_textarea\\\" rows=\\\"10\\\" cols=\\\"60\\\" style=\\\"width:98%; height:250px\\\" tabindex=\\\"5\\\">$initial_content</textarea>\n	</div>\n	<div style=\'float:right;padding:1px 8px 4px 8px\'>\n		<div class=\'rte-menu-button\' style=\'width:108px;font-size:10px;padding-right:8px;text-align:left;\'><a href=\\\"javascript:bbc_pop()\\\" style=\'text-decoration:none;text-align:left\'><img src=\\\"{$images_path}rte-bbcode-help-sm.png\\\" style=\'vertical-align:middle\' alt=\'{$this->ipsclass->lang[\'help_alt\']}\' border=\'0\' /> {$this->ipsclass->lang[\'bbc_help\']}</a></div>\n	</div>\n	<div align=\'left\' style=\'padding:1px 8px 4px 8px; height:28px\'>\n		<div id=\'rte-toggle-side-panel-button\' class=\'rte-menu-button\' style=\'width:135px;font-size:10px;padding-right:8px\'><a href=\'#\' onclick=\\\"return show_options_panel(\'{$editor_id}\')\\\" style=\'text-decoration:none\'><img src=\\\"{$images_path}rte-toggle-options.png\\\" alt=\'{$this->ipsclass->lang[\'help_alt\']}\' border=\'0\' /> {$this->ipsclass->lang[\'toggle_side_panel\']}</a></div>\n	</div>\n	\n</td></tr></table>\n<br />\n<script type=\\\"text/javascript\\\">\n<!--\nvar MessageMax          = parseInt(\\\"{$this->ipsclass->lang[\'the_max_length\']}\\\");\nvar Override            = \\\"{$this->ipsclass->lang[\'override\']}\\\";\n// Global paths and data\nvar global_rte_remove_side_panel = parseInt(\\\"{$this->ipsclass->vars[\'_remove_side_panel\']}\\\");\nvar global_rte_side_panel_open   = parseInt(\\\"{$this->ipsclass->vars[\'rte_side_panel_open\']}\\\");\nvar global_rte_images_url        = \'$images_path\';\nvar global_rte_includes_url      = \'$inc_path\';\nvar global_rte_emoticons_url     = \'{$this->ipsclass->vars[\'EMOTICONS_URL\']}\';\nvar global_rte_char_set          = \'{$this->ipsclass->vars[\'gb_char_set\']}\';\n// Lang array\nips_language_array =\n{\n	\'js_rte_link\'          : \\\"{$this->ipsclass->lang[\'js_rte_link\']}\\\",\n	\'js_rte_unlink\'        : \\\"{$this->ipsclass->lang[\'js_rte_unlink\']}\\\",\n	\'js_rte_image\'         : \\\"{$this->ipsclass->lang[\'js_rte_image\']}\\\",\n	\'js_rte_email\'         : \\\"{$this->ipsclass->lang[\'js_rte_email\']}\\\",\n    \'js_rte_erroriespell\'  : \\\"{$this->ipsclass->lang[\'js_rte_erroriespell\']}\\\",\n	\'js_rte_errorliespell\' : \\\"{$this->ipsclass->lang[\'js_rte_errorliespell\']}\\\",\n	\'js_rte_code\'          : \\\"{$this->ipsclass->lang[\'js_rte_code\']}\\\",\n	\'js_rte_quote\'         : \\\"{$this->ipsclass->lang[\'js_rte_quote\']}\\\",\n	\'js_rte_sub\'           : \\\"{$this->ipsclass->lang[\'js_tt_sub\']}\\\",\n	\'js_rte_sup\'           : \\\"{$this->ipsclass->lang[\'js_tt_sup\']}\\\",\n	\'js_rte_strike\'        : \\\"{$this->ipsclass->lang[\'js_tt_strike\']}\\\",\n	\'emos_show_all\'		   : \\\"{$this->ipsclass->lang[\'emos_show_all\']}\\\",\n	\'emos_show_prev\'	   : \\\"{$this->ipsclass->lang[\'emos_show_prev\']}\\\",\n	\'emos_show_next\'	   : \\\"{$this->ipsclass->lang[\'emos_show_next\']}\\\",\n	\'ed_quick_access\'	   : \\\"{$this->ipsclass->lang[\'ed_quick_access\']}\\\",\n	\'insert_prefix\'		   : \\\"{$this->ipsclass->lang[\'insert_prefix\']}\\\"\n};\n// Smilies array\nips_smilie_items =\n{\n	$smilies\n};\n// BBcode items\nips_bbcode_items =\n{\n	$bbcode\n};\n// INIT item\nIPS_editor[\'{$editor_id}\'] = new ips_text_editor( \'{$editor_id}\', parseInt($rte_mode), parseInt($rte_mode) == 1 ? 0 : 1 );\n// Set up defaults\nIPS_editor[\'{$editor_id}\'].allow_advanced        = 0;\nIPS_editor[\'{$editor_id}\'].forum_fix_ie_newlines = 1;\n// Add bbcode items\nfor( var i in ips_bbcode_items )\n{\n	IPS_editor[\'{$editor_id}\'].module_add_item( \'bbcodeloader{id=\' + i + \'}\', \\\"{$this->ipsclass->lang[\'insert_prefix\']}: \\\" + ips_bbcode_items[ i ][\'title\'] , \'rte-ipd-tag.png\' );\n}\n// Bothering with the insert special menu?\nvar _c = 0;\nfor ( var i in IPS_editor[\'{$editor_id}\'].ips_special_items )\n{\n	_c++;\n}\nif ( _c < 1 )\n{\n	document.getElementById( \'{$editor_id}\' + \'_popup_special\' ).style.display = \'none\';\n}\n// Check side panel\ncheck_side_panel( \'{$editor_id}\' );\n-->\n</script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('17296ede0af26202ca3bd5fadd428295','skin_emails','class skin_emails_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:board_rules:desc::trigger:>\n//===========================================================================\nfunction board_rules($title=\"\",$body=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">$title</div>\n	<div class=\\\"tablepad\\\">$body</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:chat_inline:desc::trigger:>\n//===========================================================================\nfunction chat_inline($server=\"\",$acc_no=\"\",$lang=\"\",$w=\"\",$h=\"\",$user=\"\",$pass=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'chat_title\']}</div>\n	<div class=\\\"tablepad\\\" align=\\\"center\\\">\n		<applet codebase=\\\"http://{$server}/current/\\\" code=\\\"Client.class\\\" archive=\\\"scclient_$lang.zip\\\" width=\\\"$w\\\" height=\\\"$h\\\">\n			<param name=\\\"room\\\" value=\\\"$acc_no\\\">\n			<param name=\\\"cabbase\\\" value=\\\"scclient_$lang.cab\\\">\n			<param name=\\\"username\\\" value=\\\"$user\\\">\n			<param name=\\\"password\\\" value=\\\"$pass\\\">\n			<param name=\\\"autologin\\\" value=\\\"yes\\\">\n		</applet>\n	</div>\n</div>\n<br />\n<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'chat_help\']}</div>\n	<div class=\\\"tablepad\\\">\n		{$this->ipsclass->lang[\'chat_help_text\']}\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:chat_pop:desc::trigger:>\n//===========================================================================\nfunction chat_pop($server=\"\",$acc_no=\"\",$lang=\"\",$w=\"\",$h=\"\",$user=\"\",$pass=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div align=\\\"center\\\">\n	<applet codebase=\\\"http://{$server}/current/\\\" code=\\\"Client.class\\\" archive=\\\"scclient_$lang.zip\\\" width=\\\"$w\\\" height=\\\"$h\\\">\n		<param name=\\\"room\\\" value=\\\"$acc_no\\\">\n		<param name=\\\"cabbase\\\" value=\\\"scclient_$lang.cab\\\">\n		<param name=\\\"username\\\" value=\\\"$user\\\">\n		<param name=\\\"password\\\" value=\\\"$pass\\\">\n		<param name=\\\"autologin\\\" value=\\\"yes\\\">\n	</applet>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_table:desc::trigger:>\n//===========================================================================\nfunction end_table() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- End content Table -->\n			</table>\n		</td>\n	</tr>\n	<tr>\n		<td class=\\\"darkrow1\\\" colspan=\\\"2\\\">&nbsp;</td>\n	</tr>\n</table>\";\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=\\\"maintitle\\\">{$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:forum_jump:desc::trigger:>\n//===========================================================================\nfunction forum_jump($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n	<tr>\n		<td align=\\\"right\\\">$data</td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forward_form:desc::trigger:>\n//===========================================================================\nfunction forward_form($title=\"\",$text=\"\",$lang=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\'REPLIER\'>\n	<input type=\\\"hidden\\\" name=\\\"act\\\"  value=\\\"Forward\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"01\\\" />\n	<input type=\\\"hidden\\\" name=\\\"s\\\"    value=\\\"{$this->ipsclass->session_id}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"st\\\"   value=\\\"{$this->ipsclass->input[\'st\']}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"f\\\"    value=\\\"{$this->ipsclass->input[\'f\']}\\\" />\n	<input type=\\\"hidden\\\" name=\\\"t\\\"    value=\\\"{$this->ipsclass->input[\'t\']}\\\" />\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'title\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n			<tr>\n				<td class=\\\"row1\\\"  width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'send_lang\']}</b></td>\n				<td class=\\\"row1\\\" width=\\\"80%\\\">$lang</td>\n			</tr>\n			<tr>\n				<td class=\\\"row1\\\"  width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'to_name\']}</b></td>\n				<td class=\\\"row1\\\" width=\\\"80%\\\"><input type=\\\"text\\\" name=\\\"to_name\\\" value=\\\"\\\" size=\\\"30\\\" maxlength=\\\"100\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"row1\\\"  width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'to_email\']}</b></td>\n				<td class=\\\"row1\\\" width=\\\"80%\\\"><input type=\\\"text\\\" name=\\\"to_email\\\" value=\\\"\\\" size=\\\"30\\\" maxlength=\\\"100\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"row1\\\"  width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'subject\']}</b></td>\n				<td class=\\\"row1\\\" width=\\\"80%\\\"><input type=\\\"text\\\" name=\\\"subject\\\" value=\\\"{$title}\\\" size=\\\"30\\\" maxlength=\\\"120\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"row1\\\"  width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'message\']}</b></td>\n				<td class=\\\"row1\\\" width=\\\"80%\\\"><textarea cols=\\\"60\\\" rows=\\\"12\\\" wrap=\\\"soft\\\" name=\\\"message\\\" class=\\\"textinput\\\">{$text}</textarea>\n				</td>\n			</tr>\n			<tr>\n				<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'submit_send\']}\\\" /></td>\n			</tr>\n		</table>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:pager_header:desc::trigger:>\n//===========================================================================\nfunction pager_header($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td>\n			<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n				<tr>\n					<th colspan=\\\"2\\\" align=\\\"center\\\">{$data[TITLE]}</th>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:report_form:desc::trigger:>\n//===========================================================================\nfunction report_form($tid=\"\",$pid=\"\",$st=\"\",$topic_title=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}act=report&amp;send=1&amp;t=$tid&amp;p=$pid&amp;st=$st\\\" method=\\\"post\\\" name=\\\"REPLIER\\\">\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'report_title\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<td class=\\\"row1\\\"  width=\\\"30%\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'report_topic\']}</b></td>\n				<td class=\\\"row1\\\" width=\\\"80%\\\" style=\'padding-left:9px;\'><a href=\\\"{$this->ipsclass->base_url}showtopic=$tid&amp;st=$st&amp;&#35;entry$pid\\\">$topic_title</a>\n				</td>\n			</tr>\n			<tr>\n				<td class=\\\"row1\\\"  width=\\\"30%\\\" valign=\\\"top\\\">{$this->ipsclass->lang[\'report_message\']}</td>\n				<td class=\\\"row1\\\" width=\\\"80%\\\"><textarea cols=\\\"60\\\" rows=\\\"12\\\" wrap=\\\"soft\\\" name=\\\"message\\\" class=\\\"textinput\\\"></textarea>\n				</td>\n			</tr>\n			<tr>\n				<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'report_submit\']}\\\" /></td>\n			</tr>\n		</table>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:send_form:desc::trigger:>\n//===========================================================================\nfunction send_form($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}\\\" method=\\\"post\\\" name=\\\"REPLIER\\\">\n	<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"Mail\\\" />\n	<input type=\\\"hidden\\\" name=\\\"CODE\\\" value=\\\"01\\\" />\n	<input type=\\\"hidden\\\" name=\\\"to\\\" value=\\\"{$data[\'TO\']}\\\" />\n	<div><b>{$this->ipsclass->lang[\'imp_text\']}</b></div>\n	<br />\n	<div class=\\\"borderwrap\\\">\n		<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'send_title\']}</div>\n		<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'send_email_to\']} {$data[\'NAME\']}</div>\n		<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n			<tr>\n				<td class=\\\"pformleftw\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'subject\']}</b></td>\n				<td class=\\\"pformright\\\"><input type=\\\"text\\\" name=\\\"subject\\\" value=\\\"{$data[\'subject\']}\\\" size=\\\"50\\\" maxlength=\\\"50\\\" /></td>\n			</tr>\n			<tr>\n				<td class=\\\"pformleftw\\\" valign=\\\"top\\\"><b>{$this->ipsclass->lang[\'message\']}</b><br /><br />{$this->ipsclass->lang[\'msg_txt\']}</td>\n				<td class=\\\"pformright\\\"><textarea cols=\\\"60\\\" rows=\\\"12\\\" wrap=\\\"soft\\\" name=\\\"message\\\" class=\\\"textinput\\\">{$data[\'content\']}</textarea></td>\n			</tr>\n			<tr>\n				<td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\"><input class=\'button\' type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'submit_send\']}\\\" /></td>\n			</tr>\n		</table>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:sent_screen:desc::trigger:>\n//===========================================================================\nfunction sent_screen($member_name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'email_sent\']}</div>\n	<div class=\\\"tablepad\\\">{$this->ipsclass->lang[\'email_sent_txt\']} $member_name</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_address:desc::trigger:>\n//===========================================================================\nfunction show_address($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<div class=\\\"maintitle\\\">{$this->ipsclass->lang[\'send_email_to\']} {$data[NAME]}</div>\n	<div class=\\\"tablepad\\\">\n		{$this->ipsclass->lang[\'show_address_text\']}\n		<br />\n		&gt;&gt;<b><a href=\\\"mailto:{$data[ADDRESS]}\\\" class=\\\"misc\\\">{$this->ipsclass->lang[\'send_email_to\']} {$data[NAME]}</a></b>\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('1dba7ca0d8be91dbf71cf12049aa7e06','skin_boards','class skin_boards_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:active_user_links:desc::trigger:>\n//===========================================================================\nfunction active_user_links() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<b>{$this->ipsclass->lang[\'oul_show_more\']}</b> <a href=\\\"{$this->ipsclass->base_url}act=Online&amp;CODE=listall&amp;sort_key=click\\\">{$this->ipsclass->lang[\'oul_click\']}</a>, <a href=\\\"{$this->ipsclass->base_url}act=Online&amp;CODE=listall&amp;sort_key=name&amp;sort_order=asc&amp;show_mem=reg\\\">{$this->ipsclass->lang[\'oul_name\']}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ActiveUsers:desc::trigger:>\n//===========================================================================\nfunction ActiveUsers($active=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"formsubtitle\\\" colspan=\\\"2\\\">{$active[\'TOTAL\']} {$this->ipsclass->lang[\'active_users\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" width=\\\"1%\\\"><{F_ACTIVE}></td>\n			<td class=\\\"row2\\\">\n				<b>{$active[\'GUESTS\']}</b> {$this->ipsclass->lang[\'guests\']}, <b>{$active[\'MEMBERS\']}</b> {$this->ipsclass->lang[\'public_members\']}, <b>{$active[\'ANON\']}</b> {$this->ipsclass->lang[\'anon_members\']}\n				<div class=\\\"thin\\\">{$active[\'NAMES\']}</div>\n				{$active[\'links\']}\n			</td>\n		</tr>\n		<!--IBF.WHOSCHATTING-->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:birthdays:desc::trigger:>\n//===========================================================================\nfunction birthdays($birthusers=\"\",$total=\"\",$birth_lang=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"formsubtitle\\\" colspan=\\\"2\\\">{$this->ipsclass->lang[\'birthday_header\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" width=\\\"1%\\\"><{F_CALEN}></td>\n			<td class=\\\"row2\\\">\n			\" . (($total) ? (\"\n				<b>$total</b> $birth_lang<br />$birthusers\n			\") : (\"\n				$birth_lang\n			\")) . \"\n			</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:bottom_links:desc::trigger:>\n//===========================================================================\nfunction bottom_links() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- no content -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:calendar_events:desc::trigger:>\n//===========================================================================\nfunction calendar_events($events=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"formsubtitle\\\" colspan=\\\"2\\\">{$this->ipsclass->lang[\'calender_f_title\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" width=\\\"1%\\\"><{F_CALEN}></td>\n			<td class=\\\"row2\\\">$events</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:CatHeader_Expanded:desc::trigger:>\n//===========================================================================\nfunction CatHeader_Expanded($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\" style=\\\"display:{$data[\'div_fc\']}\\\" id=\\\"fc_{$data[\'id\']}\\\">\n	<div class=\\\"maintitlecollapse\\\">\n		<p class=\\\"expand\\\"><a href=\\\"javascript:togglecategory({$data[\'id\']}, 0);\\\"><{E_PLUS}></a></p>\n		<p><{CAT_IMG}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'id\']}\\\">{$data[\'name\']}</a></p>\n	</div>\n</div>\n<div class=\\\"borderwrap\\\" style=\\\"display:{$data[\'div_fo\']}\\\" id=\\\"fo_{$data[\'id\']}\\\">\n	<div class=\\\"maintitle\\\">\n		<p class=\\\"expand\\\"><a href=\\\"javascript:togglecategory({$data[\'id\']}, 1);\\\"><{E_MINUS}></a></p>\n		<p><{CAT_IMG}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'id\']}\\\">{$data[\'name\']}</a></p>\n	</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr> \n			<th colspan=\\\"2\\\" width=\\\"66%\\\">{$this->ipsclass->lang[\'cat_name\']}</th>\n			<th style=\'text-align:center\' width=\\\"7%\\\">{$this->ipsclass->lang[\'topics\']}</th>\n			<th style=\'text-align:center\' width=\\\"7%\\\">{$this->ipsclass->lang[\'replies\']}</th>\n			<th width=\\\"35%\\\">{$this->ipsclass->lang[\'last_post_info\']}</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_all_cats:desc::trigger:>\n//===========================================================================\nfunction end_all_cats() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:end_this_cat:desc::trigger:>\n//===========================================================================\nfunction end_this_cat() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr> \n			<td class=\\\"catend\\\" colspan=\\\"5\\\"><!-- no content --></td>\n		</tr>\n	</table>\n</div>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_img_with_link:desc::trigger:>\n//===========================================================================\nfunction forum_img_with_link($img=\"\",$id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a id=\'f-{$id}\' href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=04&amp;f={$id}&amp;fromforum={$this->ipsclass->input[\'f\']}&amp;i=1\\\" title=\\\"{$this->ipsclass->lang[\'bi_markread\']}\\\" onclick=\'boards_send_marker_update( $id, 1);return false;\'>{$img}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forum_redirect_row:desc::trigger:>\n//===========================================================================\nfunction forum_redirect_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Forum {$data[\'id\']} entry -->\n		<tr> \n			<td align=\\\"center\\\" class=\\\"row2\\\" width=\\\"1%\\\"><{BR_REDIRECT}></td>\n			<td class=\\\"row2\\\"><b><a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'id\']}\\\" target=\'{$data[\'redirect_target\']}\'>{$data[\'name\']}</a></b><br /><span class=\\\"forumdesc\\\">{$data[\'description\']}</span></td>\n			<td align=\\\"center\\\" class=\\\"row1\\\">--</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\">--</td>\n			<td class=\\\"row1\\\"><b>{$this->ipsclass->lang[\'rd_hits\']}:</b> {$data[\'redirect_hits\']}</td>\n		</tr>\n<!-- End of Forum {$data[\'id\']} entry -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ForumRow:desc::trigger:>\n//===========================================================================\nfunction ForumRow($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr> \n			<td align=\\\"center\\\" class=\\\"row2\\\" width=\\\"1%\\\">{$data[\'img_new_post\']}</td>\n			<td class=\\\"row2\\\">\n				{$data[\'_queued_img\']}<b><a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'id\']}\\\">{$data[\'name\']}</a></b>\n				<br />\n				<span class=\\\"forumdesc\\\">{$data[\'description\']}{$data[\'show_subforums\']}\n				\" . (($data[\'moderator\']) ? (\"\n					<br /><i>{$data[\'moderator\']}</i>\n				\") : (\"\")) . \"\n				</span>\n				{$data[\'_queued_info\']}\n			</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\">{$data[\'topics\']}</td>\n			<td align=\\\"center\\\" class=\\\"row1\\\">{$data[\'posts\']}</td>\n			<td class=\\\"row1\\\" nowrap=\\\"nowrap\\\">{$data[\'last_unread\']} <span>{$data[\'last_post\']}<br /><b>{$this->ipsclass->lang[\'in\']}:</b>&nbsp;{$data[\'last_topic\']}<br /><b>{$this->ipsclass->lang[\'by\']}:</b> {$data[\'last_poster\']}</span></td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:forumrow_lastunread_link:desc::trigger:>\n//===========================================================================\nfunction forumrow_lastunread_link($fid=\"\",$tid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}showtopic=$tid&amp;view=getlastpost\\\" title=\\\"{$this->ipsclass->lang[\'tt_golast\']}\\\"><{LAST_POST}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:newslink:desc::trigger:>\n//===========================================================================\nfunction newslink($fid=\"\",$title=\"\",$tid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br /><b>{$this->ipsclass->vars[\'board_name\']} {$this->ipsclass->lang[\'newslink\']}</b> <i><a href=\\\"{$this->ipsclass->base_url}showtopic=$tid\\\">$title</a></i>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:PageTop:desc::trigger:>\n//===========================================================================\nfunction PageTop($lastvisit=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n//<![CDATA[\n// Set up img vars\nvar img_markers = {\n	\'bc_new.gif\' : \'bc_nonew.gif\',\n	\'bf_new.gif\' : \'bf_nonew.gif\',\n	\'br_new.gif\' : \'br_nonew.gif\'\n};\nvar regex_markers = \'bc_new.gif|bf_new.gif|br_new.gif\';\nfunction focus_username( e )\n{\n	if ( e.value == \\\"{$this->ipsclass->lang[\'qli_name\']}\\\" )\n	{\n		e.value = \'\';\n		return false;\n	}\n}\nfunction focus_password( e )\n{\n	if ( e.value == \\\"------\\\" )\n	{\n		e.value = \'\';\n		return false;\n	}\n}\n//]]>\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_forum.js\\\"></script>\n<table cellspacing=\\\"0\\\" class=\\\"newslink\\\">\n	<tr>\n		<td><b>{$this->ipsclass->lang[\'welcome_back_text\']}: <span>$lastvisit</span></b><!-- IBF.NEWSLINK --></td>\n		<td align=\\\"right\\\" valign=\\\"middle\\\">\n		\" . (($this->ipsclass->member[\'id\'] == 0) ? (\"\n			<form action=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=01&amp;CookieDate=1\\\" method=\\\"post\\\">\n				<input type=\\\"text\\\" size=\\\"20\\\" name=\\\"UserName\\\" onfocus=\\\"focus_username(this)\\\" value=\\\"{$this->ipsclass->lang[\'qli_name\']}\\\" />\n				<input type=\\\"password\\\" size=\\\"20\\\" name=\\\"PassWord\\\" onfocus=\\\"focus_password(this)\\\" value=\\\"------\\\" />\n				<input class=\\\"button\\\" type=\\\"image\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" />\n			</form>\n		\") : (\"\")) . \"\n		</td>\n	</tr>\n</table>\n<br />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_queued_img:desc::trigger:>\n//===========================================================================\nfunction show_queued_img($id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}showforum={$id}&amp;modfilter=all\\\"><{BC_QUEUED_POSTS}></a>&nbsp;\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_queued_info:desc::trigger:>\n//===========================================================================\nfunction show_queued_info($posts=0,$topics=0) {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br /><span class=\\\"desc\\\"><b>{$this->ipsclass->lang[\'q_topics\']} $topics, {$this->ipsclass->lang[\'q_posts\']} $posts</b></span>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_subforum_all_links:desc::trigger:>\n//===========================================================================\nfunction show_subforum_all_links($links=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br /><b>{$this->ipsclass->lang[\'sub_forum_title\']}:</b> $links\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_subforum_link:desc::trigger:>\n//===========================================================================\nfunction show_subforum_link($id=\"\",$name=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}showforum={$id}\\\">{$name}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:ShowStats:desc::trigger:>\n//===========================================================================\nfunction ShowStats($text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"formsubtitle\\\" colspan=\\\"2\\\">{$this->ipsclass->lang[\'board_stats\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" width=\\\"1%\\\"><{F_STATS}></td>\n			<td class=\\\"row2\\\">$text<br />{$this->ipsclass->lang[\'most_online\']}</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:stats_footer:desc::trigger:>\n//===========================================================================\nfunction stats_footer() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr> \n			<td class=\\\"catend\\\" colspan=\\\"2\\\"><!-- no content --></td>\n		</tr>\n	</table>\n</div>\n<!-- Board Stats -->\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:stats_header:desc::trigger:>\n//===========================================================================\nfunction stats_header($active=\"\",$posts=\"\",$members=\"\",$show=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<!-- Board Stats -->\n<div class=\\\"toplinks\\\"><span><a href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=06&amp;k={$this->ipsclass->md5_check}\\\">{$this->ipsclass->lang[\'d_delete_cookies\']}</a> &middot; <a href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=05\\\">{$this->ipsclass->lang[\'d_post_read\']}</a></span></div>\n<div class=\\\"borderwrap\\\" style=\\\"display:{$show[\'div_fc\']}\\\" id=\\\"fc_stat\\\">\n	<div class=\\\"maintitle\\\">\n		<p class=\\\"expand\\\"><a href=\\\"javascript:togglecategory(\'stat\', 0);\\\"><{E_PLUS}></a></p>\n		<p><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'board_stats\']}</p>\n	</div>\n	<div class=\\\"subtitlediv\\\">\n		<a href=\\\"{$this->ipsclass->base_url}act=search&amp;CODE=getactive\\\">{$this->ipsclass->lang[\'sm_todays_posts\']}</a> &middot; <a href=\\\"{$this->ipsclass->base_url}act=Stats&amp;CODE=leaders\\\">{$this->ipsclass->lang[\'sm_forum_leaders\']}</a> &middot; <a href=\\\"{$this->ipsclass->base_url}act=stats\\\">{$this->ipsclass->lang[\'sm_today_posters\']}</a> &middot; <a href=\\\"{$this->ipsclass->base_url}act=Members&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;filter=ALL\\\">{$this->ipsclass->lang[\'sm_all_posters\']}</a>\n	</div>\n	<div class=\\\"formsubtitle\\\">\n\" . (($this->ipsclass->vars[\'show_totals\'] == 1) ? (\"\n<p class=\\\"members\\\">$posts {$this->ipsclass->lang[\'cs_posts\']} &#0124; $members {$this->ipsclass->lang[\'cs_members\']}</p>\n\") : (\"\")) . \"\n		<p>$active {$this->ipsclass->lang[\'cs_active\']}</p>\n	</div>\n</div>\n<div class=\\\"borderwrap\\\" style=\\\"display:{$show[\'div_fo\']}\\\" id=\\\"fo_stat\\\">\n	<div class=\\\"maintitle\\\">\n		<p class=\\\"expand\\\"><a href=\\\"javascript:togglecategory(\'stat\', 1);\\\"><{E_MINUS}></a></p>\n		<p><{CAT_IMG}>&nbsp;{$this->ipsclass->lang[\'board_stats\']}</p>\n	</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr>\n			<th align=\\\"right\\\" colspan=\\\"2\\\">\n				<div style=\'text-align:right\'>\n					<a href=\\\"{$this->ipsclass->base_url}act=search&amp;CODE=getactive\\\">{$this->ipsclass->lang[\'sm_todays_posts\']}</a> &middot; <a href=\\\"{$this->ipsclass->base_url}act=Stats&amp;CODE=leaders\\\">{$this->ipsclass->lang[\'sm_forum_leaders\']}</a> &middot; <a href=\\\"{$this->ipsclass->base_url}act=Stats\\\">{$this->ipsclass->lang[\'sm_today_posters\']}</a> &middot; <a href=\\\"{$this->ipsclass->base_url}act=Members&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;filter=ALL\\\">{$this->ipsclass->lang[\'sm_all_posters\']}</a>\n				</div>\n			</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subforum_img_with_link:desc::trigger:>\n//===========================================================================\nfunction subforum_img_with_link($img=\"\",$id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a id=\'f-{$id}\' href=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=04&amp;f={$id}&amp;fromforum={$this->ipsclass->input[\'f\']}&amp;i=1\\\" title=\\\"{$this->ipsclass->lang[\'bi_markallread\']}\\\" onclick=\'boards_send_marker_update( $id, 1);return false;\'>{$img}</a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:subheader:desc::trigger:>\n//===========================================================================\nfunction subheader($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<br />\n<script type=\\\"text/javascript\\\">\n//<![CDATA[\n// Set up img vars\nvar img_markers = {\n	\'bc_new.gif\' : \'bc_nonew.gif\',\n	\'bf_new.gif\' : \'bf_nonew.gif\',\n	\'br_new.gif\' : \'br_nonew.gif\'\n};\nvar regex_markers = \'bc_new.gif|bf_new.gif|br_new.gif\';\n//]]>\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_forum.js\\\"></script>   \n<div class=\\\"borderwrap\\\" style=\\\"display:{$data[\'div_fc\']}\\\" id=\\\"fc_{$data[\'id\']}\\\">\n	<div class=\\\"maintitlecollapse\\\">\n		<p class=\\\"expand\\\"><a href=\\\"javascript:togglecategory({$data[\'id\']}, 0);\\\"><{E_PLUS}></a></p>\n		<p><{CAT_IMG}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'id\']}\\\">{$data[\'name\']} {$this->ipsclass->lang[\'sub_forum_title\']}</a></p>\n	</div>\n</div>\n<div class=\\\"borderwrap\\\" style=\\\"display:{$data[\'div_fo\']}\\\" id=\\\"fo_{$data[\'id\']}\\\">\n	<div class=\\\"maintitle\\\">\n		<p class=\\\"expand\\\"><a href=\\\"javascript:togglecategory({$data[\'id\']}, 1);\\\"><{E_MINUS}></a></p>\n		<p><{CAT_IMG}>&nbsp;<a href=\\\"{$this->ipsclass->base_url}showforum={$data[\'id\']}\\\">{$data[\'name\']} {$this->ipsclass->lang[\'sub_forum_title\']}</a></p>\n	</div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n		<tr> \n			<th colspan=\\\"2\\\" width=\\\"66%\\\">{$this->ipsclass->lang[\'cat_name\']}</th>\n			<th align=\\\"center\\\" width=\\\"7%\\\">{$this->ipsclass->lang[\'topics\']}</th>\n			<th align=\\\"center\\\" width=\\\"7%\\\">{$this->ipsclass->lang[\'replies\']}</th>\n			<th width=\\\"35%\\\">{$this->ipsclass->lang[\'last_post_info\']}</th>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:whoschatting_empty:desc::trigger:>\n//===========================================================================\nfunction whoschatting_empty() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"formsubtitle\\\" colspan=\\\"2\\\">{$this->ipsclass->lang[\'whoschatting_total\']} {$this->ipsclass->lang[\'whoschatting_loadchat\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" width=\\\"1%\\\"><{F_ACTIVE}></td>\n			<td class=\\\"row2\\\">\n				<i>{$this->ipsclass->lang[\'whoschatting_none\']}</i>\n			</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:whoschatting_show:desc::trigger:>\n//===========================================================================\nfunction whoschatting_show($total=\"\",$names=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n			<td class=\\\"formsubtitle\\\" colspan=\\\"2\\\">{$total} {$this->ipsclass->lang[\'whoschatting_total\']} {$this->ipsclass->lang[\'whoschatting_loadchat\']}</td>\n		</tr>\n		<tr>\n			<td class=\\\"row1\\\" width=\\\"1%\\\"><{F_ACTIVE}></td>\n			<td class=\\\"row2\\\">\n				{$names}<div class=\\\"desc\\\">$txt</div>\n			</td>\n		</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('f5f2233497fdcb52c7d2fe3afc2f8772','skin_buddy','class skin_buddy_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:append_view:desc::trigger:>\n//===========================================================================\nfunction append_view($url=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"( <b><a href=\\\"javascript:redirect_to(\'$url\', 0)\\\">{$this->ipsclass->lang[\'view_link\']}</a></b> )\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:buddy_js:desc::trigger:>\n//===========================================================================\nfunction buddy_js() {\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 function check_form(helpform)\n {\n 	opener.name = \\\"ibfmain\\\";\n \n 	if (helpform == 1) {\n 		document.theForm2.target = \'ibfmain\';\n 	} else {\n 		document.theForm.target = \'ibfmain\';\n 	}\n 	\n 	return true;\n }\n \n function shrink()\n {\n 	window.resizeTo(\'200\',\'75\');\n }\n \n function expand()\n {\n 	window.resizeTo(\'200\',\'450\');\n }\n \n \n-->\n </script>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:build_away_msg:desc::trigger:>\n//===========================================================================\nfunction build_away_msg() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"{$this->ipsclass->lang[\'new_posts\']}\n<br />\n{$this->ipsclass->lang[\'my_replies\']}\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:closelink:desc::trigger:>\n//===========================================================================\nfunction closelink() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<p><a href=\\\"javascript:window.location=window.location;\\\">{$this->ipsclass->lang[\'refresh\']}</a> / <a href=\\\"javascript:self.close();\\\">{$this->ipsclass->lang[\'close_win\']}</a></p>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:login:desc::trigger:>\n//===========================================================================\nfunction login() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\\\"{$this->ipsclass->base_url}act=Login&amp;CODE=01&amp;CookieDate=1&amp;buddy=1\\\" method=\\\"post\\\" name=\\\"theForm\\\" onSubmit=\\\"return check_form();\\\">\n	<div class=\\\"borderwrap\\\">\n		<h3>{$this->ipsclass->lang[\'page_title\']}</h3>\n		<div class=\\\"formsubtitle\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'log_in_needed\']}</div>\n			<p>{$this->ipsclass->lang[\'no_guests\']}</p>\n			<div class=\\\"formsubtitle\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'log_in\']}</div>\n			<div class=\\\"fieldwrap\\\">\n				<h4>{$this->ipsclass->lang[\'lin_name\']}</h4>\n				<input type=\\\"text\\\" name=\\\"UserName\\\" />\n				<h4>{$this->ipsclass->lang[\'lin_pass\']}</h4>\n				<input type=\\\"password\\\" name=\\\"PassWord\\\" />\n				<input type=\\\"submit\\\" value=\\\"{$this->ipsclass->lang[\'log_in\']}\\\" class=\\\"button\\\" />\n			</div>\n			<p>{$this->ipsclass->lang[\'reg_text\']}<br /><a href=\\\"javascript:redirect_to(\'&amp;act=Reg\', 1);\\\">{$this->ipsclass->lang[\'reg_link\']}</a></p>\n	<div align=\\\"center\\\"><!--CLOSE.LINK--></div>\n	</div>\n</form>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:main:desc::trigger:>\n//===========================================================================\nfunction main($away_text=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\\\"borderwrap\\\">\n	<h3>{$this->ipsclass->lang[\'page_title\']}</h3>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'while_away\']}</div>\n	<p>{$away_text}</p>\n	<div class=\\\"formsubtitle\\\">{$this->ipsclass->lang[\'show_me\']}</div>\n	<p><a href=\\\"javascript:redirect_to(\'&amp;act=Stats&amp;CODE=leaders\',0)\\\">{$this->ipsclass->lang[\'sm_forum_leaders\']}</a><br /><a href=\\\"javascript:redirect_to(\'&amp;act=Stats\',0)\\\">{$this->ipsclass->lang[\'sm_today_posters\']}</a><br /><a href=\\\"javascript:redirect_to(\'&amp;act=Members&amp;max_results=10&amp;sort_key=posts&amp;sort_order=desc\',0)\\\">{$this->ipsclass->lang[\'sm_all_posters\']}</a><br /><a href=\\\"javascript:redirect_to(\'&amp;act=Search&amp;CODE=lastten\',0)\\\">{$this->ipsclass->lang[\'sm_my_last_posts\']}</a></p>\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'search_forums\']}</div>\n	<div align=\\\"center\\\">\n		<form action=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=01&amp;forums=all&amp;cat_forum=forum&amp;joinname=1&amp;search_in=posts&amp;result_type=topics\\\" method=\\\"post\\\" name=\\\"theForm\\\" onsubmit=\\\"return check_form();\\\">\n			<input type=\\\"text\\\" size=\\\"17\\\" name=\\\"keywords\\\" />&nbsp;<input class=\\\"gobutton\\\" type=\\\"image\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" value=\\\"{$this->ipsclass->lang[\'go\']}\\\" />\n		</form>\n	</div>\n	<div class=\\\"formsubtitle\\\" align=\\\"center\\\">{$this->ipsclass->lang[\'search_help\']}</div>\n	<div align=\\\"center\\\">\n		<form action=\\\"{$this->ipsclass->base_url}act=Help&amp;CODE=02\\\" method=\\\"post\\\" name=\\\"theForm2\\\" onsubmit=\\\"return check_form(1);\\\">\n			<input type=\\\"text\\\" size=\\\"17\\\" name=\\\"search_q\\\" />&nbsp;<input class=\\\"gobutton\\\" type=\\\"image\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" value=\\\"{$this->ipsclass->lang[\'go\']}\\\" />\n		</form>\n	</div>\n	<div><!--CLOSE.LINK--></div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xml_nonewpms:desc::trigger:>\n//===========================================================================\nfunction xml_nonewpms() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'pp-contentbox-back\'>\n	<div class=\'pp-contentbox-entry-noheight\'>\n		{$this->ipsclass->lang[\'nonew_pms_myass\']}\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xml_search:desc::trigger:>\n//===========================================================================\nfunction xml_search() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'pp-contentbox-back\'>\n	<div class=\'pp-contentbox-entry-noheight\'>\n		<strong>{$this->ipsclass->lang[\'search_forums\']}</strong>\n	  	<input type=\\\"text\\\" onmouseover=\'this.focus()\' size=\\\"17\\\" id=\'myass-search-input\' name=\\\"keywords\\\" onkeydown=\\\"if(event.keyCode == 13){xml_myassistant_search();}\\\" />\n	  	<input class=\\\"gobutton\\\" onclick=\'xml_myassistant_search()\' type=\\\"image\\\" src=\\\"{$this->ipsclass->vars[\'img_url\']}/login-button.gif\\\" value=\\\"{$this->ipsclass->lang[\'go\']}\\\" />\n	  	<div id=\'myass-search-message\'></div>\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xml_showme:desc::trigger:>\n//===========================================================================\nfunction xml_showme() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'pp-contentbox-back\'>\n	<div class=\'pp-contentbox-entry-noheight\'>\n	 <div class=\'mya-fieldwrap\'>\n	 <strong>{$this->ipsclass->lang[\'legend_forum\']}</strong><br />\n		&nbsp;&middot; <a href=\\\"{$this->ipsclass->base_url}act=Stats&amp;CODE=leaders\\\">{$this->ipsclass->lang[\'sm_forum_leaders\']}</a>\n	 </div>\n	<br />\n	 <div class=\'mya-fieldwrap\'>\n	 <strong>{$this->ipsclass->lang[\'legend_post\']}</strong><br />\n		&nbsp;&middot; <a href=\\\"{$this->ipsclass->base_url}act=Stats\\\">{$this->ipsclass->lang[\'sm_today_posters\']}</a>\n		<br />&nbsp;&middot; <a href=\\\"{$this->ipsclass->base_url}act=Members&amp;max_results=10&amp;sort_key=posts&amp;sort_order=desc\\\">{$this->ipsclass->lang[\'sm_all_posters\']}</a>\n		<br />&nbsp;&middot; <a href=\\\"{$this->ipsclass->base_url}act=Search&amp;CODE=lastten\\\">{$this->ipsclass->lang[\'sm_my_last_posts\']}</a>\n	 </div>\n	</div>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xml_tabs:desc::trigger:>\n//===========================================================================\nfunction xml_tabs($onoff=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'pp-tabwrap\' style=\'margin-left:1px\'>\n   <div class=\'{$onoff[\'info\']}\'><a href=\'#\' onclick=\'xml_myassistant_init(\\\"info\\\");return false;\'>{$this->ipsclass->lang[\'tab_info\']}</a></div>\n   <div class=\'{$onoff[\'posts\']}\'><a href=\'#\' onclick=\'xml_myassistant_init(\\\"posts\\\");return false;\'>{$this->ipsclass->lang[\'tab_posts\']}</a></div>\n   <div class=\'{$onoff[\'search\']}\'><a href=\'#\' onclick=\'xml_myassistant_init(\\\"search\\\");return false;\'>{$this->ipsclass->lang[\'tab_search\']}</a></div>\n	\" . (($this->ipsclass->member[\'members_disable_pm\'] == 0 AND $this->ipsclass->member[\'g_use_pm\'] == 1) ? (\"\n		<div class=\'{$onoff[\'pms\']}\'><a href=\'#\' onclick=\'xml_myassistant_init(\\\"pms\\\");return false;\'>{$this->ipsclass->lang[\'tab_pms\']}</a></div>\n	\") : (\"\")) . \"\n	\" . (($this->ipsclass->member[\'new_msg\'] >= 1 AND $this->ipsclass->member[\'members_disable_pm\'] == 0 AND $this->ipsclass->member[\'g_use_pm\'] == 1) ? (\"\n		<div class=\'{$onoff[\'newpms\']}\'><a href=\'#\' onclick=\'xml_myassistant_init(\\\"newpms\\\");return false;\'>{$this->ipsclass->lang[\'tab_newpms\']} ({$this->ipsclass->member[\'new_msg\']})</a></div>\n	\") : (\"\")) . \"\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:xml_wrap:desc::trigger:>\n//===========================================================================\nfunction xml_wrap($content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'mya-back\'>\n {$content}\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('9fecd5ebfd5154e3bb5929f3147bd300','skin_bugtracker','class skin_bugtracker_2 {\n\n var $ipsclass;\n//===========================================================================\n// <ips:button_delete:desc::trigger:>\n//===========================================================================\nfunction button_delete($bug_entry_id=\"\",$bug_title_id=\"\",$product_id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"javascript:delete_post(\'{$this->ipsclass->base_url}autocom=bugtracker&amp;code=bug_entry_delete&amp;bug_entry_id={$bug_entry_id}&amp;bug_title_id={$bug_title_id}&amp;product_id={$product_id}&amp;st={$this->ipsclass->input[\'st\']}&amp;auth_key={$this->ipsclass->md5_check}\')\\\"><{P_DELETE}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:button_edit:desc::trigger:>\n//===========================================================================\nfunction button_edit($bug_entry_id=\"\",$bug_title_id=\"\",$product_id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<a href=\\\"{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_edit_bug&amp;bug_entry_id={$bug_entry_id}&amp;bug_title_id={$bug_title_id}&amp;product_id={$product_id}&amp;st={$this->ipsclass->input[\'st\']}\\\"><{P_EDIT}></a>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:post_bug_form:desc::trigger:>\n//===========================================================================\nfunction post_bug_form($type=\"\",$project=\"\",$post=\"\",$topic=\"\",$can_manage=\"\",$title=\"\",$formbit=\"\",$button=\"\",$editor_html=\"\",$status_dd=\"\",$projects_dd=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<form action=\'{$this->ipsclass->base_url}autocom=bugtracker&amp;code={$formbit}&amp;product_id={$project[\'product_id\']}&amp;bug_title_id={$topic[\'bug_title_id\']}&amp;bug_entry_id={$post[\'bug_entry_id\']}\' method=\'post\' name=\'REPLIER\' onsubmit=\'return ValidateForm()\'>\n<input type=\'hidden\' name=\'removeattachid\' value=\'0\' />\n<div class=\'borderwrap\'>\n <div class=\'maintitle\'>{$title}</div>\n <table cellspacing=\\\"0\\\" class=\'ipbtable\'>\n\" . (($type == \"add\" OR $( $type == \'edit\' AND $can_manage == 1 )) ? (\"\n<tr>\n	 <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n	 <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n	 <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n	   <tr>\n		<td align=\\\"right\\\" width=\'20%\'>\n		 <strong>Bug Report Title</strong>\n		</td>\n		<td align=\\\"left\\\" width=\'80%\'>\n		 <input type=\\\"text\\\" size=\\\"50\\\" maxlength=\\\"300\\\" name=\\\"bug_title_title\\\" value=\\\"{$topic[\'bug_title_title\']}\\\" tabindex=\\\"1\\\" class=\\\"forminput\\\" />\n		</td>\n	   </tr>\n	  </table>\n	 </div>\n	 </td>\n	</tr>\n\") : (\"\")) . \"\n\" . (($type == \"add\" OR $( $type == \'edit\' AND $can_manage == 1 ) OR $( $type == \'reply\' AND $can_manage == 1 )) ? (\"\n<tr>\n	 <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n	 <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n	 <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n	   <tr>\n		<td align=\\\"right\\\" width=\'20%\'>\n		 <strong>Assign to Product</strong>\n		</td>\n		<td align=\\\"left\\\" width=\'80%\'>\n		 {$projects_dd}\n		</td>\n	   </tr>\n	  </table>\n	 </div>\n	 </td>\n	</tr>\n\") : (\"\")) . \"\n\" . (($type == \"add\" OR $( $type == \'edit\' AND $can_manage == 1 ) OR $( $type == \'reply\' AND $can_manage == 1 )) ? (\"\n<tr>\n	 <td colspan=\'2\' align=\'center\' class=\'bg1\'>\n	 <div style=\'width:100%;\' align=\'center\' class=\'borderwrap\'>\n	 <table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n	   <tr>\n		<td align=\\\"right\\\" width=\'20%\'>\n		 <strong>Assign Status</strong>\n		</td>\n		<td align=\\\"left\\\" width=\'80%\'>\n		 {$status_dd}\n		</td>\n	   </tr>\n	  </table>\n	 </div>\n	 </td>\n	</tr>\n\") : (\"\")) . \"\n\n	<tr>\n	<td colspan=\'2\' align=\'center\' class=\'bg1\'>\n	<div align=\'center\' class=\'borderwrap\'>\n	<table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\' class=\'darkrow3\'>\n	 <tr>\n	  <td align=\'center\' valign=\\\"top\\\">\n	   {$editor_html}\n	  </td>\n	 </tr>\n	</table>\n	</div>\n	</td>\n   </tr>\n  <tr>\n	 <td class=\\\"formbuttonrow\\\" colspan=\\\"2\\\">\n		 <input type=\\\"submit\\\" name=\\\"submit\\\" value=\\\"$button\\\" tabindex=\\\"7\\\" class=\\\"button\\\" accesskey=\\\"s\\\" />&nbsp;\n	 </td>\n </tr>\n</table>\n</div>\n</form>\n<br style=\\\"clear: all;\\\" />\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:project_dropdown_row:desc::trigger:>\n//===========================================================================\nfunction project_dropdown_row($name=\"\",$value=\"\",$selected=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\'$value\'{$selected}>$name</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:project_dropdown_wrapper:desc::trigger:>\n//===========================================================================\nfunction project_dropdown_wrapper($name=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<select name=\'$name\'>$content</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_all_row:desc::trigger:>\n//===========================================================================\nfunction show_all_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td class=\'row1\' align=\'center\'><{C_ON}></td>\n <td class=\'row1\'><a href=\'{$this->ipsclass->base_url}autocom=bugtracker&amp;code=show_project&amp;product_id={$data[\'product_id\']}\'><strong>{$data[\'product_title\']}</strong></a><div class=\'desc\'>{$data[\'product_description\']}</div></td>\n <td class=\'row2\' align=\'center\'>{$data[\'_total\']}</td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_all_wrapper:desc::trigger:>\n//===========================================================================\nfunction show_all_wrapper($content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div class=\'borderwrap\'>\n <div class=\'maintitle\'>Bug Tracker</div>\n <table cellpadding=\'0\' cellspacing=\'1\' class=\'ipbtable\'>\n <tr>\n  <th width=\'1%\'>&nbsp;</th>\n  <th width=\'94%\'>Project</th>\n  <th width=\'5%\' align=\'center\'>Bugs</th>\n </tr>\n $content\n </table>\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_bug_row:desc::trigger:>\n//===========================================================================\nfunction show_bug_row($author=\"\",$post=\"\",$buttons=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"1\\\">\n <tr>\n	 <td valign=\\\"middle\\\" class=\\\"row2\\\"><span class=\\\"normalname\\\">{$author[\'members_display_name\']}</span></td>\n	 <td class=\\\"row2\\\" valign=\\\"top\\\">\n		 <!-- POSTED DATE DIV -->\n		 <div class=\\\"row2\\\" style=\'float:left\'>\n			 <span class=\\\"postdetails\\\"><img src=\'{$this->ipsclass->vars[\'img_url\']}/to_post_off.gif\' alt=\'post\' border=\'0\' style=\'padding-bottom:2px\' /> <b>Posted:</b> {$post[\'_date\']}</span>\n		 </div>\n	 </td>\n </tr>\n <tr>\n	 <td valign=\\\"top\\\" class=\\\"post1\\\">\n		 <span class=\\\"postdetails\\\">\n			{$author[\'avatar\']}<br /><br />\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\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		  {$post[\'bug_entry_content\']} \n		  <!--IBF.ATTACHMENT_{$post[\'bug_entry_id\']}-->\n		 </div>\n		 {$post[\'signature\']}\n	 </td>\n </tr>\n <tr>\n	 <td class=\\\"formbuttonrow\\\" nowrap=\\\"nowrap\\\">\n			<div style=\'text-align:left\'>{$author[\'online_status_indicator\']}{$author[\'addresscard\']}{$author[\'message_icon\']}</div>\n	 </td>\n	 <td class=\\\"formbuttonrow\\\" nowrap=\\\"nowrap\\\">\n		 <!-- PM / EMAIL / WWW / MSGR -->\n		 <div style=\\\"float: left;\\\">\n			 <a href=\\\"javascript:scroll(0,0);\\\"><{P_UP}></a>\n		 </div>\n		 <!-- REPORT / UP -->\n		 <div align=\\\"right\\\">\n			 {$buttons[\'delete\']}{$buttons[\'edit\']}\n		 </div>\n	  </td>\n </tr>\n <tr>\n	<td class=\\\"catend\\\" colspan=\\\"2\\\">\n	<!-- no content -->\n	</td>\n</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_bug_wrapper:desc::trigger:>\n//===========================================================================\nfunction show_bug_wrapper($topic=\"\",$content=\"\",$pages=\"\",$status_dd=\"\",$can_manage=\"\",$bug_cat_id=\"\",$projects_dd=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\">\n<!--\nvar ipb_lang_js_del_1  = \\\"Confirm deletion\\\";\nvar ipb_lang_js_del_2  = \\\"OK - no action taken\\\";\n-->\n</script>\n<script type=\\\"text/javascript\\\" src=\\\"jscripts/ipb_topic.js\\\"></script>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n<tr>\n	<td style=\'padding-left:0px\' width=\\\"40%\\\" valign=\\\"middle\\\" nowrap=\\\"nowrap\\\"><div>{$pages}</div></td>\n	<td class=\'nopad\' style=\'padding:0px 0px 5px 0px\' align=\\\"right\\\" width=\\\"60%\\\" valign=\\\"middle\\\">\n	  <a href=\\\"{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_reply_bug&amp;product_id={$topic[\'bug_title_product_id\']}&amp;bug_title_id={$topic[\'bug_title_id\']}&amp;bug_cat_id=$bug_cat_id\\\"><{A_REPLY}></a>\n	  <a href=\\\"{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_new_bug&amp;product_id={$topic[\'bug_title_product_id\']}&amp;bug_cat_id=$bug_cat_id\\\"><{A_POST}></a>\n	</td>\n</tr>\n</table>\n<div class=\'borderwrap\'>\n <div class=\'maintitle\'>Bug ID #{$topic[\'bug_title_id\']}: {$topic[\'bug_title_title\']}</div>\n $content\n</div>\n\" . (($can_manage == 1) ? (\"\n<br />\n<div class=\'borderwrap\'>\n<table class=\'darkrow1\' style=\'padding:5px;width:100%\' cellspacing=\\\"0\\\" cellpadding=\'0\'>\n<tr>\n <td align=\'left\' nowrap=\'nowrap\'>\n [ <a href=\\\"javascript:delete_post(\'{$this->ipsclass->base_url}autocom=bugtracker&amp;code=bug_topic_delete&amp;bug_title_id={$topic[\'bug_title_id\']}&amp;product_id={$topic[\'bug_title_product_id\']}\')\\\">Delete Bug Report</a> ]\n </td>\n <td align=\'right\'>\n  <form action=\'{$this->ipsclass->base_url}autocom=bugtracker&amp;code=mod_move_status&amp;product_id={$topic[\'bug_title_product_id\']}&amp;bug_title_id={$topic[\'bug_title_id\']}&amp;bug_cat_id=$bug_cat_id\' method=\'POST\'>\n	Move: {$projects_dd} {$status_dd} <input type=\'submit\' value=\'Go\' />\n  </form>\n </td>\n</tr>\n</table>\n</div>\n\") : (\"\")) . \"\n\n<br />\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n<tr>\n	<td style=\'padding-left:0px\' width=\\\"40%\\\" valign=\\\"middle\\\" nowrap=\\\"nowrap\\\"><div>{$pages}</div></td>\n	<td class=\'nopad\' style=\'padding:0px 0px 5px 0px\' align=\\\"right\\\" width=\\\"60%\\\" valign=\\\"middle\\\">\n	  <a href=\\\"{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_reply_bug&amp;product_id={$topic[\'bug_title_product_id\']}&amp;bug_title_id={$topic[\'bug_title_id\']}&amp;bug_cat_id=$bug_cat_id\\\"><{A_REPLY}></a>\n	  <a href=\\\"{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_new_bug&amp;product_id={$topic[\'bug_title_product_id\']}&amp;bug_cat_id=$bug_cat_id\\\"><{A_POST}></a>\n	</td>\n</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_project_row:desc::trigger:>\n//===========================================================================\nfunction show_project_row($data=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td class=\'row1\' align=\'center\'><{B_NORM}></td>\n <td class=\'row1\'>\n 	<a href=\'{$this->ipsclass->base_url}autocom=bugtracker&amp;code=show_bug&amp;bug_title_id={$data[\'bug_title_id\']}&amp;bug_cat_id={$data[\'_bug_cat_id\']}\'>{$data[\'bug_title_title\']}</a>\n    <div class=\'desc\'>Status: {$data[\'_bug_cat_name\']}</div>	\n </td>\n <td class=\'row2\' align=\'center\'>{$data[\'_starter_link\']}</td>\n <td class=\'row2\' align=\'center\'>{$data[\'bug_title_replies\']}</td>\n <td class=\'row2\' align=\'left\'>{$data[\'_last_post\']}<div class=\'desc\'>By {$data[\'_last_link\']}</div></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_project_row_none:desc::trigger:>\n//===========================================================================\nfunction show_project_row_none() {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<tr>\n <td class=\'row1\' align=\'center\' colspan=\'5\'><strong>There are no bug reports to display</strong></td>\n</tr>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:show_project_wrapper:desc::trigger:>\n//===========================================================================\nfunction show_project_wrapper($product=\"\",$content=\"\",$status_dd=\"\",$pages=\"\",$bug_cat_id=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td style=\'padding-left:0px\' width=\\\"50%\\\" nowrap=\\\"nowrap\\\">{$pages}</td>\n		<td class=\'nopad\' style=\'padding:5px 0px 5px 0px\' align=\\\"right\\\" width=\\\"50%\\\"><a href=\\\"{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_new_bug&amp;product_id={$product[\'product_id\']}&amp;bug_cat_id=$bug_cat_id\\\"><{A_POST}></a></td>\n	</tr>\n</table>\n<div class=\'borderwrap\'>\n <div class=\'maintitle\'>\n  <table class=\'ipbtable\' style=\'padding:0px\' cellspacing=\\\"0\\\" cellpadding=\'0\'>\n	 <tr>\n		 <td style=\'padding:0px\' width=\\\"50%\\\" nowrap=\\\"nowrap\\\">Bug Tracker: {$product[\'product_title\']}</td>\n		 <td style=\'padding:0px\' width=\'50%\' align=\\\"right\\\">\n		  <form action=\'{$this->ipsclass->base_url}autocom=bugtracker&amp;code=search_project&amp;product_id={$product[\'product_id\']}\' method=\'POST\'>\n		    <input type=\'text\' size=\'20\' name=\'keywords\' value=\'Enter keywords....\' onclick=\'this.value=\\\"\\\"\' class=\'input\'><input type=\'submit\' value=\'Search Bugs\' class=\'input\' />\n		  </form>\n		 </td>\n	 </tr>\n  </table>\n </div>\n <table cellpadding=\'0\' cellspacing=\'1\' class=\'ipbtable\'>\n <tr>\n  <th width=\'1%\'>&nbsp;</th>\n  <th width=\'40%\'>Title</th>\n  <th width=\'14%\' align=\'center\'>Started</th>\n  <th width=\'5%\' align=\'center\'>Replies</th>\n  <th width=\'20%\' align=\'left\'>Last Post</th>\n </tr>\n $content\n <tr>\n  <td class=\'darkrow1\' style=\'padding:0px\' colspan=\'5\'>\n   <table class=\'ipbtable\' cellspacing=\\\"0\\\" cellpadding=\'0\'>\n   <tr>\n    <td align=\'right\'>\n     <form action=\'{$this->ipsclass->base_url}autocom=bugtracker&amp;code=show_project&amp;product_id={$product[\'product_id\']}\' method=\'POST\'>\n       View: {$status_dd} <input type=\'submit\' value=\'Go\' />\n     </form>\n    </td>\n   </tr>\n  </table>\n  </td>\n </tr>\n </table>\n</div>\n<table class=\'ipbtable\' cellspacing=\\\"0\\\">\n	<tr>\n		<td style=\'padding-left:0px\' width=\\\"50%\\\" nowrap=\\\"nowrap\\\">{$pages}</td>\n		<td class=\'nopad\' style=\'padding:5px 0px 5px 0px\' align=\\\"right\\\" width=\\\"50%\\\"><a href=\\\"{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_new_bug&amp;product_id={$product[\'product_id\']}\\\"><{A_POST}></a></td>\n	</tr>\n</table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:status_dropdown_row:desc::trigger:>\n//===========================================================================\nfunction status_dropdown_row($name=\"\",$value=\"\",$selected=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\'$value\'{$selected}>$name</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:status_dropdown_row_counted:desc::trigger:>\n//===========================================================================\nfunction status_dropdown_row_counted($name=\"\",$value=\"\",$count=\"\",$selected=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<option value=\'$value\'{$selected}>$name ($count Reports)</option>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:status_dropdown_wrapper:desc::trigger:>\n//===========================================================================\nfunction status_dropdown_wrapper($name=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<select name=\'$name\'>$content</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:status_dropdown_wrapper_counted:desc::trigger:>\n//===========================================================================\nfunction status_dropdown_wrapper_counted($name=\"\",$content=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<select name=\'$name\'>$content</select>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n\n}',2),('9a2672da413876bd021173f71bdde639','skin_profile','class skin_profile_27 {\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_4903096fe703d048332775($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_4903096fe703d048332775($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_4903096fe7b7b451831744($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_4903096fe7b7b451831744($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_4903096fe7ea1768032643($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_4903096fe7ea1768032643($member=\"\",$friends=\"\",$pages=\"\")\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $friends as $friend )\n	{\n		\n		$_ips___x_retval .= \"\n			<div class=\'pp-contentbox-entry-noheight\' id=\'pp-comment-entry-main-{$friend[\'comment_id\']}\'>\n				<div class=\'pp-tiny-text\'>\n				<div class=\'pp-image-thumb-wrap-floatright\'><img src=\'{$friend[\'pp_thumb_photo\']}\' width=\'{$friend[\'pp_thumb_width\']}\' height=\'{$friend[\'pp_thumb_height\']}\' alt=\'\' /></div>\n					{$friend[\'_pp_gender_image\']} <strong><a href=\'{$this->ipsclass->base_url}showuser={$friend[\'id\']}\' target=\'_parent\'>{$friend[\'members_display_name\']}</a></strong>\n					<div class=\'pp-tiny-text\'>\n						{$friend[\'g_title\']}\n						<br />{$friend[\'posts\']} {$this->ipsclass->lang[\'fav_posts\']}\n						<br />{$this->ipsclass->lang[\'m_active\']}: {$friend[\'_last_active\']}\n					</div>\n				</div>\n			</div>\n		\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// <ips:personal_portal_iframe_settings:desc::trigger:>\n//===========================================================================\nfunction personal_portal_iframe_settings($member=array(),$friends=0,$error=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div id=\'pp-iframe-wrap\' class=\'pp-contentbox-back\'>\n	<div class=\'pp-contentbox-entry-noheight\'>\n		\" . (($error) ? (\"\n			<div class=\'input-warn-content\'>$error</div>\n		\") : (\"\")) . \"\n		\" . (($friends) ? (\"\n			<fieldset>\n				<legend><strong>{$this->ipsclass->lang[\'m_friends_pending\']}</strong></legend>\n				<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n				<tr>\n					<td class=\\\"row1\\\" style=\'padding:6px;\'>\n						{$this->ipsclass->lang[\'m_friend_str_1\']} <strong>$friends</strong> {$this->ipsclass->lang[\'m_friend_str_2\']}\n						<br /><a href=\'#\' onclick=\'parent.friends_pop( \\\"&amp;tab=pending\\\"); return false\'>{$this->ipsclass->lang[\'m_manage_friends_list\']}</a>\n					</td>\n				</tr>\n				</table>\n			</fieldset>\n			<br />\n		\") : (\"\")) . \"\n		<form action=\'{$this->ipsclass->base_url}act=profile&amp;CODE=personal_iframe_settings_save&amp;member_id={$member[\'id\']}&amp;md5check={$this->ipsclass->md5_check}\'  enctype=\'multipart/form-data\' method=\'POST\'>\n\" . (($this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n	\" . (($member[\'id\'] == $this->ipsclass->member[\'id\']) ? (\"\n	<!-- Can update photo? -->\n		<input type=\'hidden\' name=\'MAX_FILE_SIZE\' value=\'{$member[\'_max_file_size\']}\' />\n		\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'get_photo\']}</strong></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\' valign=\'top\'>\n					<strong>{$this->ipsclass->lang[\'m_your_pic\']}</strong>\n				</td>\n				<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<input type=\'file\' name=\'upload_photo\' />\n					<div class=\'pp-tiny-text\'>\n						{$this->ipsclass->lang[\'pp_photo_desc\']}\n					</div>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"30%\\\" class=\\\"row1\\\" style=\'padding:6px;\' valign=\'top\'>\n					<strong>{$this->ipsclass->lang[\'m_delete_pic\']}</strong>\n				</td>\n				<td width=\\\"70%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<input type=\'checkbox\' class=\'checkbox\' name=\'delete_photo\' value=\'1\' />\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n	\") : (\"\")) . \"\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_personal_statement\']}</strong> <span class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_char_limit\']}</span></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td class=\\\"row1\\\" style=\'padding:6px;text-align:center\'>\n					<textarea name=\'pp_bio_content\' rows=\'5\' cols=\'60\' style=\'width:95%;height:100px\'>{$member[\'_pp_bio_content\']}</textarea>\n					<div class=\'pp-tiny-text\' style=\'text-align:left\'>{$this->ipsclass->lang[\'m_statement_bbcode\']}</div>\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n		\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_website_title\']}</strong> <span class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_website_explain\']}</span></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td class=\\\"row1\\\" style=\'padding:6px;text-align:left\'>\n					<input type=\'text\' name=\'website\' size=\'25\' style=\'width:95%\' value=\'{$member[\'website\']}\' />\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n\") : (\"\")) . \"\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_notifications\']}</strong></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_new_comments\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_comm_type\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_notify_comments\'>{$member[\'_pp_setting_notify_comments\']}</select>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_new_friends\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_friend_type\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_notify_friend\'>{$member[\'_pp_setting_notify_friend\']}</select>\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n		\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_mod_type\']}</strong></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_new_comments\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_cmod_type\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_moderate_comments\'>{$member[\'_pp_setting_moderate_comments\']}</select>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_new_friends\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_choose_fmod_type\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_moderate_friends\'>{$member[\'_pp_setting_moderate_friends\']}</select>\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n		\n		<fieldset>\n			<legend><strong>{$this->ipsclass->lang[\'m_settings_header\']}</strong></legend>\n			<table cellpadding=\'0\' cellspacing=\'1\' width=\'100%\'>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_show_x_visitors\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'op_change_refresh\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_count_visitors\'>\n					\" . (($member[\'pp_setting_count_visitors\'] == 0) ? (\"\n						<option value=\'0\' selected=\'selected\'>0</option>\n					\") : (\"\n						<option value=\'0\'>0</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_visitors\'] == 3) ? (\"\n						<option value=\'3\' selected=\'selected\'>3</option>\n					\") : (\"\n						<option value=\'3\'>3</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_visitors\'] == 5) ? (\"\n						<option value=\'5\' selected=\'selected\'>5</option>\n					\") : (\"\n						<option value=\'5\'>5</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_visitors\'] == 10) ? (\"\n						<option value=\'10\' selected=\'selected\'>10</option>\n					\") : (\"\n						<option value=\'10\'>10</option>\n					\")) . \"\n					</select>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_show_x_comments\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'op_change_refresh\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_count_comments\'>\n					\" . (($member[\'pp_setting_count_comments\'] == 0) ? (\"\n						<option value=\'0\' selected=\'selected\'>0</option>\n					\") : (\"\n						<option value=\'0\'>0</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_comments\'] == 3) ? (\"\n						<option value=\'3\' selected=\'selected\'>3</option>\n					\") : (\"\n						<option value=\'3\'>3</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_comments\'] == 5) ? (\"\n						<option value=\'5\' selected=\'selected\'>5</option>\n					\") : (\"\n						<option value=\'5\'>5</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_comments\'] == 10) ? (\"\n						<option value=\'10\' selected=\'selected\'>10</option>\n					\") : (\"\n						<option value=\'10\'>10</option>\n					\")) . \"\n					</select>\n				</td>\n			</tr>\n			<tr>\n				<td width=\\\"40%\\\" class=\\\"row1\\\" style=\'padding:6px;\'>\n					<strong>{$this->ipsclass->lang[\'m_show_x_friends\']}</strong>\n					<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'op_change_refresh\']}</div>\n				</td>\n				<td width=\\\"60%\\\" class=\\\"row2\\\" style=\'padding:6px;\'>\n					<select name=\'pp_setting_count_friends\'>\n					\" . (($member[\'pp_setting_count_friends\'] == 0) ? (\"\n						<option value=\'0\' selected=\'selected\'>0</option>\n					\") : (\"\n						<option value=\'0\'>0</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_friends\'] == 3) ? (\"\n						<option value=\'3\' selected=\'selected\'>3</option>\n					\") : (\"\n						<option value=\'3\'>3</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_friends\'] == 5) ? (\"\n						<option value=\'5\' selected=\'selected\'>5</option>\n					\") : (\"\n						<option value=\'5\'>5</option>\n					\")) . \"\n					\" . (($member[\'pp_setting_count_friends\'] == 10) ? (\"\n						<option value=\'10\' selected=\'selected\'>10</option>\n					\") : (\"\n						<option value=\'10\'>10</option>\n					\")) . \"	\n					</select>\n				</td>\n			</tr>\n			</table>\n		</fieldset>\n		\n		<br />\n		\n		<div class=\'row1\' style=\'padding:6px; margin-bottom:1px;text-align:center\'>\n			<input type=\'submit\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_settings\']}\' />\n		</div>\n		</form>\n	</div>\n</div>\n\" . (($this->ipsclass->input[\'_saved\']) ? (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		parent.ips_personal_portal.update_personal_photo( \\\"{$this->ipsclass->vars[\'upload_url\']}/{$member[\'pp_main_photo\']}\\\", parseInt({$member[\'pp_main_width\']}), parseInt({$member[\'pp_main_height\']}) );\n		parent.ips_personal_portal.update_personal_statement( \\\"{$member[\'__pp_bio_content\']}\\\", \\\"{$member[\'website\']}\\\" );\n	//]]>\n	</script>\n\") : (\"\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_main:desc::trigger:>\n//===========================================================================\nfunction personal_portal_main($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<script type=\\\"text/javascript\\\" src=\\\"{$this->ipsclass->vars[\'board_url\']}/jscripts/ipb_profile.js\\\"></script>\n<script type=\'text/javascript\' src=\\\"{$this->ipsclass->vars[\'board_url\']}/jscripts/ips_profile_portal.js\\\"></script>\n<script type=\\\"text/javascript\\\" src=\\\"{$this->ipsclass->vars[\'board_url\']}/jscripts/ipb_topic.js\\\"></script>\n<!--We (?:c|sh)ould use CSS for this.-->\n<table cellspacing=\'4\' cellpadding=\'0\' width=\'100%\'  border=\'0\'>\n<tr>\n	<td style=\'width:210px\' valign=\'top\'>\n	<!-- LEFT TABLE -->\n		<div class=\\\"borderwrap\\\" style=\'padding:1px\'>\n			<div class=\\\"pp-title\\\">{$this->ipsclass->lang[\'m_profile_title\']}</div>\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'get_photo\']}</div>\n			<table cellpadding=\'1\' cellspacing=\'0\' width=\'100%\'>\n			<tr>\n				<td width=\'60%\' class=\'row1\' style=\'padding:3px;margin-bottom:0px\' valign=\'middle\' align=\'center\'>\n				<!-- Personal Photo -->\n					<img id=\'pp-main-photo\' src=\'{$member[\'pp_main_photo\']}\' width=\'{$member[\'pp_main_width\']}\' height=\'{$member[\'pp_main_height\']}\' alt=\'\' />\n				<!-- / Personal Photo -->\n				<!-- Quick contact -->\n				\" . (($this->ipsclass->member[\'id\'] AND ( $member[\'id\'] != $this->ipsclass->member[\'id\'])) ? (\"\n					<div style=\'margin-top:10px;margin-bottom:6px\'>\n						<div id=\'pp-friend-wrap\'>\n							<!-- Add / remove friend added via JS -->\n						</div>\n						<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/send_pm_small.png\' alt=\'\' border=\'0\' /> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$member[\'id\']}\\\">{$this->ipsclass->lang[\'pm\']}</a>\n					</div>\n				\") : (\"\")) . \"\n				<!-- / Quick contact -->\n				</td>\n			</tr>\n			</table>\n			\n			\" . (($this->ipsclass->vars[\'pp_allow_member_rate\']) ? (\"\n				<!-- Rating -->\n				<div class=\'pp-header\'>{$this->ipsclass->lang[\'rating\']}</div>\n				<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px; text-align: center\' id=\'pp-rating-wrapper\'>\n					&nbsp;\n				</div>\n				<!-- / Rating -->\n			\") : (\"\")) . \"\n			\n			<!-- Options -->\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'options\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px; text-align: center\'>\n				<div class=\'popmenubutton-new\' id=\'profile-options\'>{$this->ipsclass->lang[\'options\']}</div>\n			</div>\n			<!-- / Options -->\n			\n			<!-- Personal Statement -->\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_personal_statement\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\' id=\'pp-personal_statement\'>\n				\" . (($member[\'pp_bio_content\']) ? (\"\n					{$member[\'pp_bio_content\']}\n					\") : (\"\n					<em>{$member[\'members_display_name\']} {$this->ipsclass->lang[\'m_no_statement\']}.</em>\n				\")) . \"\n				\" . (($member[\'_website\']) ? (\"\n					<div style=\'padding-top:5px\'>\n						\" . ((strlen($member[\'_website\']) > 30) ? (\"\n							<a href=\'{$member[\'_website\']}\' target=\'_blank\'>{$this->ipsclass->lang[\'m_visit_website\']}</a>\n						\") : (\"\n							<a href=\'{$member[\'_website\']}\' target=\'_blank\'>{$member[\'_website\']}</a>\n						\")) . \"\n					</div>\n				\") : (\"\")) . \"\n			</div>\n			<!-- / Personal Statement -->\n			\n			<!-- Personal Info -->\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_personal_info\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$member[\'members_display_name\']}</div>\n			\" . (($member[\'_title\']!=\'\') ? (\"\n				<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$member[\'_title\']}</div>\n			\") : (\"\")) . \"\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\' id=\'pp-entry-age-wrap\'>\n				\" . (($member[\'_age\'] > 0) ? (\"\n					 <span id=\'pp-entry-age-text\'>{$member[\'_age\']}</span> <span id=\'pp-entry-age-yearsold\'>{$this->ipsclass->lang[\'m_years_old\']}</span>\n				\") : (\"\n					<span id=\'pp-entry-age-text\'>{$this->ipsclass->lang[\'m_age_unknown\']}</span> <span id=\'pp-entry-age-yearsold\' style=\'display:none\'>{$this->ipsclass->lang[\'m_years_old\']}</span>\n				\")) . \"\n			</div>\n			<div class=\'row2\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-gender-wrap\'>\n					\" . (($member[\'pp_gender\']) ? (\"\n						<span id=\'pp-entry-gender-imgwrap\'>{$member[\'_pp_gender_image\']}</span> <span id=\'pp-entry-gender-text\'>{$member[\'_pp_gender_text\']}</span>\n					\") : (\"\n						<span id=\'pp-entry-gender-imgwrap\'>{$member[\'_pp_gender_image\']}</span> <span id=\'pp-entry-gender-text\'>{$this->ipsclass->lang[\'m_no_gender\']}</span>\n					\")) . \"\n				</div>\n				\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n					<div class=\'popupmenu-new\' id=\'pp-entry-gender-wrap_menu\' style=\'display:none;width:162px\'>\n						<div class=\'popupmenu-item\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_male.png\' alt=\'\' border=\'0\' /> <a href=\'#\' onclick=\\\"ips_personal_portal.save_settings( \'gender\', { \'pp_gender\' : \'male\' }, \'\'); return false;\\\">{$this->ipsclass->lang[\'m_gender_as_male\']}</a></div>\n						<div class=\'popupmenu-item\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_female.png\' alt=\'\' border=\'0\' /> <a href=\'#\' onclick=\\\"ips_personal_portal.save_settings( \'gender\', { \'pp_gender\' : \'female\' }, \'\'); return false;\\\">{$this->ipsclass->lang[\'m_gender_as_female\']}</a></div>\n						<div class=\'popupmenu-item-last\'><img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/gender_mystery.png\' alt=\'\' border=\'0\' /> <a href=\'#\' onclick=\\\"ips_personal_portal.save_settings( \'gender\', { \'pp_gender\' : \'mystery\' }, \'\'); return false;\\\">{$this->ipsclass->lang[\'m_gender_as_none\']}</a></div>\n					</div>\n				\") : (\"\")) . \"\n			</div>\n			<div class=\'row2\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-location-wrap\'>\n					\" . (($member[\'location\']) ? (\"\n						<span id=\'pp-entry-location-text\'>{$member[\'location\']}</span>\n					\") : (\"\n						<span id=\'pp-entry-location-text\'>{$this->ipsclass->lang[\'m_location_unknown\']}</span>\n					\")) . \"\n				</div>\n				\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n					<div class=\'popupmenu-new\' id=\'pp-entry-location-wrap_menu\' style=\'display:none;width:auto\'>\n						<div class=\'popupmenu-item-last\'>\n							<fieldset>\n								<legend>{$this->ipsclass->lang[\'m_enter_location\']}</legend>\n								<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'location\' id=\'pp-location\' value=\'{$member[\'location\']}\' /> <input class=\'button\' type=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'location\', {}, \'pp-location\'); return false;\\\" />\n							</fieldset>\n						</div>\n					</div>\n				\") : (\"\")) . \"\n			</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:0px; padding-left:10px\'>\n				<div id=\'pp-entry-born-wrap\'>\n					\" . (($member[\'bday_day\'] AND $member[\'bday_year\'] AND $member[\'_bday_month\']) ? (\"\n						<span id=\'pp-entry-born-pretext\'>{$this->ipsclass->lang[\'born_key\']}</span> <span id=\'pp-entry-born-text\'>{$member[\'_bday_month\']}-{$member[\'bday_day\']}-{$member[\'bday_year\']}</span>\n					\") : (\"\n						<span id=\'pp-entry-born-text\'>{$this->ipsclass->lang[\'m_bday_unknown\']}</span>\n					\")) . \"\n				</div>\n				\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n					<div class=\'popupmenu-new\' id=\'pp-entry-born-wrap_menu\' style=\'display:none;width:auto\'>\n						<div class=\'popupmenu-item-last\'>\n							<fieldset>\n								<legend>{$this->ipsclass->lang[\'m_enter_bdate\']}</legend>\n								<select name=\'_b_month\' id=\'pp_b_month\'>{$member[\'_birthday_month\']}</select>								\n								<select name=\'_b_day\' id=\'pp_b_day\'>{$member[\'_birthday_day\']}</select>\n								<select name=\'_b_year\' id=\'pp_b_year\'>{$member[\'_birthday_year\']}</select>\n								<input class=\'button\' type=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'birthdate\', {}, \'\'); return false;\\\" />\n							</fieldset>\n						</div>\n					</div>\n				\") : (\"\")) . \"\n			</div>\n			<!-- WARN -->\n			\" . (($member[\'_warn_data\']) ? (\"\n				<div class=\'row1\' style=\'padding:6px; margin-bottom:0px; padding-left:10px\'>\n					{$member[\'_warn_data\']}\n				</div>\n			\") : (\"\")) . \"\n			<!-- / WARN -->\n			<!-- / Personal Info -->\n			\n			<!-- Interests -->\n			\" . (($member[\'_interests\']) ? (\"\n				<div class=\'pp-header\'>{$this->ipsclass->lang[\'interests\']}</div>\n				<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\' id=\'pp-personal_statement\'>\n					{$member[\'_interests\']}\n				</div>\n			\") : (\"\")) . \"\n			<!-- / Interests -->\n				\n			<!-- Custom Fields -->\n			\" . ((is_array( $member[\'custom_fields\'] ) AND count( $member[\'custom_fields\'] )) ? (\"\n				<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_other_info\']}</div>\n				\".$this->__foreach_loop__id_4903096fe898b138615912($tabs,$member,$comments,$friends,$visitors,$default_tab,$default_tab_content).\"\n			\") : (\"\")) . \"\n			<!-- / Custom Fields -->\n			\n			<!-- Statistics --> \n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_stats_title\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$this->ipsclass->lang[\'m_member_since\']} {$member[\'_joined\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$this->ipsclass->lang[\'m_profile_views\']} {$member[\'_pp_profile_views\']}<span class=\'pp-tiny-text\'>*</span></div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				{$this->ipsclass->lang[\'m_last_seen\']} {$member[\'_last_active\']}\n				\" . (($member[\'_online_location\']) ? (\"\n					<br />{$member[\'_online_location\']}\n				\") : (\"\")) . \"\n			</div>\n			\n			\" . (($member[\'_local_time\']) ? (\"\n				<div class=\'row2\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$this->ipsclass->lang[\'m_local_time_is\']} {$member[\'_local_time\']}</div>\n			\") : (\"\")) . \"\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$member[\'_posts\']} {$this->ipsclass->lang[\'m_bit_posts\']} ({$member[\'_posts_day\']} {$this->ipsclass->lang[\'posts_per_day\']})</div>\n			<!-- / Statistics -->\n			\n			<!-- Contact Information -->\n			<div class=\'pp-header\'>{$this->ipsclass->lang[\'m_contact_info\']}</div>\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-contact-wrap-aim\'>\n					<{PRO_AIM}> <span id=\'pp-entry-contact-entry-aim\'>{$member[\'_aim_name\']}</span>\n				</div>\n			</div>\n			\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n				<div class=\'popupmenu-new\' id=\'pp-entry-contact-wrap-aim_menu\' style=\'display:none;width:auto\'>\n					<div class=\'popupmenu-item-last\'>\n						<fieldset>\n							<legend>{$this->ipsclass->lang[\'m_enter_aim\']}</legend>\n							<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'value\' id=\'pp-contact-value-aim\' value=\'{$member[\'aim_name\']}\' /> <input class=\'button\' type=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'contact\', { \'contacttype\' : \'aim\' }, \'pp-contact-value-aim\'); return false;\\\" />\n						</fieldset>\n					</div>\n				</div>\n			\") : (\"\")) . \"\n			\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-contact-wrap-yahoo\'>\n					<{PRO_YIM}> <span id=\'pp-entry-contact-entry-yahoo\'>{$member[\'_yahoo\']}</span>\n				</div>\n			</div>\n			\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n				<div class=\'popupmenu-new\' id=\'pp-entry-contact-wrap-yahoo_menu\' style=\'display:none;width:auto\'>\n					<div class=\'popupmenu-item-last\'>\n						<fieldset>\n							<legend>{$this->ipsclass->lang[\'m_enter_yahoo\']}</legend>\n							<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'value\' id=\'pp-contact-value-yahoo\' value=\'{$member[\'yahoo\']}\' /> <input type=\'button\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'contact\', { \'contacttype\' : \'yahoo\' }, \'pp-contact-value-yahoo\'); return false;\\\" />\n						</fieldset>\n					</div>\n				</div>\n			\") : (\"\")) . \"\n			\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-contact-wrap-icq\'>\n					<{PRO_ICQ}> <span id=\'pp-entry-contact-entry-icq\'>{$member[\'_icq_number\']}</span>\n				</div>\n			</div>\n			\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n				<div class=\'popupmenu-new\' id=\'pp-entry-contact-wrap-icq_menu\' style=\'display:none;width:auto\'>\n					<div class=\'popupmenu-item-last\'>\n						<fieldset>\n							<legend>{$this->ipsclass->lang[\'m_enter_icq\']}</legend>\n							<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'value\' id=\'pp-contact-value-icq\' value=\'{$member[\'icq_number\']}\' /> <input type=\'button\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'contact\', { \'contacttype\' : \'icq\' }, \'pp-contact-value-icq\'); return false;\\\" />\n						</fieldset>\n					</div>\n				</div>\n			\") : (\"\")) . \"\n			\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<div id=\'pp-entry-contact-wrap-msn\'>\n					<{PRO_MSN}> <span id=\'pp-entry-contact-entry-msn\'>{$member[\'_msn_name\']}</span>\n				</div>\n			</div>\n			\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] AND $this->ipsclass->member[\'g_edit_profile\']==1) ? (\"\n				<div class=\'popupmenu-new\' id=\'pp-entry-contact-wrap-msn_menu\' style=\'display:none;width:auto\'>\n					<div class=\'popupmenu-item-last\'>\n						<fieldset>\n							<legend>{$this->ipsclass->lang[\'m_enter_msn\']}</legend>\n							<input type=\'text\' size=\'20\' maxlength=\'200\' name=\'value\' id=\'pp-contact-value-msn\' value=\'{$member[\'msnname\']}\' /> <input type=\'button\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_settings( \'contact\', { \'contacttype\' : \'msn\' }, \'pp-contact-value-msn\'); return false;\\\" />\n						</fieldset>\n					</div>\n				</div>\n			\") : (\"\")) . \"\n			\n			<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>\n				<{PRO_CONTACT}> <a href=\\\"{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$member[\'id\']}\\\">{$this->ipsclass->lang[\'pm\']}</a>\n			</div>\n			<div class=\'row1\' style=\'padding:6px; padding-left:10px\'>\n				<{PRO_CONTACT}> {$member[\'_email\']}\n			</div>\n			<!-- / Contact Information -->\n		</div>\n		<div class=\'pp-tiny-text\'>{$this->ipsclass->lang[\'m_profile_views_desc\']}</div>\n		\n		<!-- sssh.. ugly hack to stop IE collapsing this column under short widths -->\n		<img src=\'{$this->ipsclass->vars[\'img_url\']}/blank.gif\' width=\'210\' height=\'1\' alt=\'\' />\n		\n	<!-- / LEFT TABLE -->\n	</td>\n	<td valign=\'top\'>\n	<!-- MAIN TABLE -->\n		<div class=\'pp-name\'>\n			<table cellpadding=\'0\' cellspacing=\'0\' width=\'100%\'>\n			<tr>\n				<td width=\'1%\'>{$member[\'_avatar\']}</td>\n				<td width=\'98%\' style=\'padding-left:10px\'>\n					<h3 style=\'font-size:20px\'>{$member[\'members_display_name\']}</h3>\n					<strong>{$member[\'g_title\']}</strong>\n					<p>{$member[\'_member_rank_img\']}</p>\n				</td>\n			</tr>\n			</table>\n		</div>\n		\n		<br />\n		\n		<!-- My Stuff -->\n		<div class=\'pp-tabwrap\'>\n			\".$this->__foreach_loop__id_4903096fe8a30053740545($tabs,$member,$comments,$friends,$visitors,$default_tab,$default_tab_content).\"\n				<div class=\'pp-taboff\' id=\'pp-content-tab-comments\'>{$this->ipsclass->lang[\'m_tab_comments\']}</div>\n				<div class=\'pp-taboff\' id=\'pp-content-tab-friends\'>{$this->ipsclass->lang[\'m_tab_friends\']}</div>\n				\" . (($member[\'id\'] == $this->ipsclass->member[\'id\'] OR ( $this->ipsclass->member[\'g_is_supmod\']==1 AND $member[\'mgroup\'] != $this->ipsclass->vars[\'admin_group\'] )) ? (\"\n					<div class=\'pp-taboff\' id=\'pp-content-tab-settings\'>{$this->ipsclass->lang[\'m_tab_settings\']}</div>\n				\") : (\"\")) . \"\n		</div>\n		<div class=\\\"pp-tabclear\\\">{$this->ipsclass->lang[\'m_title_content\']}</div>\n		<div class=\\\"borderwrap\\\">	\n			<div id=\'pp-main-tab-content\' class=\'pp-contentbox-back\'>\n				{$default_tab_content}\n			</div>\n			\n		</div>\n		<!-- / My Stuff -->\n		\n	<!-- / MAIN TABLE -->\n	</td>\n	\" . (($member[\'pp_setting_count_visitors\'] > 0 OR $member[\'pp_setting_count_comments\'] > 0 OR $member[\'pp_setting_count_friends\'] > 0) ? (\"\n		<td style=\'width:210px;\' valign=\'top\'>\n		<!-- RIGHT TABLE -->\n		<!-- Recent Visitors -->\n		\" . (($member[\'pp_setting_count_visitors\'] > 0) ? (\"\n			<div class=\\\"borderwrap\\\" style=\'padding:1px\'>\n				<div class=\\\"pp-title\\\">{$this->ipsclass->lang[\'m_title_visitors\']}</div>\n				\" . ((is_array($visitors) and count($visitors)) ? (\"\n					\".$this->__foreach_loop__id_4903096fe8ae7886905494($tabs,$member,$comments,$friends,$visitors,$default_tab,$default_tab_content).\"\n				\") : (\"\n					<div class=\'post1\' style=\'padding:6px\'>\n						<em>{$member[\'members_display_name\']} {$this->ipsclass->lang[\'m_visitors_none\']}.</em>\n					</div>\n				\")) . \"\n			</div>\n		\") : (\"\")) . \"\n		<!-- / Recent Visitors -->\n	\n		<br />\n	\n		<!-- Comments -->\n		\" . (($member[\'pp_setting_count_comments\'] > 0) ? (\"\n			<div class=\\\"borderwrap\\\" style=\'padding:1px\'>\n				<div class=\\\"pp-title\\\">{$this->ipsclass->lang[\'m_title_comments\']}</div>\n					<div id=\'pp-comments-wrap\'>\n						$comments\n					</div>\n				\" . (($this->ipsclass->member[\'id\']) ? (\"\n					<div class=\'popmenubutton-new\' id=\'pp-comment-wrap\' style=\'margin:2px\'>\n						<img src=\'{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/comment_add.png\' alt=\'\' border=\'0\' /> {$this->ipsclass->lang[\'m_add_comment\']}\n					</div>\n					<div class=\'popupmenu-new\' id=\'pp-comment-wrap_menu\' style=\'display:none;width:auto;\'>\n						<div class=\'popupmenu-item-last\'>\n							<fieldset>\n								<legend>{$this->ipsclass->lang[\'m_enter_comment\']}</legend>\n								<textarea rows=\'8\' cols=\'17\' name=\'comment\' id=\'pp-comment-textarea\'></textarea>\n								<div class=\'pp-tiny-text\' style=\'text-align:right\'>\n									{$this->ipsclass->lang[\'m_max_chars\']}\n									<input type=\'button\' class=\'button\' value=\'{$this->ipsclass->lang[\'m_save_button\']}\' onclick=\\\"ips_personal_portal.save_comment(); return false;\\\" />\n								</div>\n							</fieldset>\n						</div>\n					</div>\n					<script type=\'text/javascript\'>\n					//<![CDATA[\n						ipsmenu.register( \\\"pp-comment-wrap\\\" );\n					//]]>\n					</script>\n				\") : (\"\")) . \"\n			</div>\n		\") : (\"\")) . \"\n		<!-- / Comments -->\n	\n		<br />\n	\n		<!-- Friends -->\n		\" . (($member[\'pp_setting_count_friends\'] > 0) ? (\"\n			<div class=\\\"borderwrap\\\" style=\'padding:1px\'>\n				<div class=\\\"pp-title\\\">{$this->ipsclass->lang[\'m_title_friends\']}</div>\n				\" . ((is_array($friends) and count($friends)) ? (\"\n					\".$this->__foreach_loop__id_4903096fe8c06268031780($tabs,$member,$comments,$friends,$visitors,$default_tab,$default_tab_content).\"\n					<div class=\'pp-mini-content-entry-noheight\' style=\'text-align:right\'>\n						<a href=\'#\' onclick=\\\"ips_personal_portal.tab_load( \'friends\' )\\\">{$this->ipsclass->lang[\'m_view_friends\']}</a>\n					</div>\n				\") : (\"\n					<div class=\'post1\' style=\'padding:6px\'>\n						<em>{$this->ipsclass->lang[\'m_no_friends\']}.</em>\n					</div>\n				\")) . \"\n			</div>\n		\") : (\"\")) . \"\n		<!-- / Friends -->\n		<!-- sssh.. ugly hack to stop IE collapsing this column under short widths -->\n		<img src=\'{$this->ipsclass->vars[\'img_url\']}/blank.gif\' width=\'210\' height=\'1\' alt=\'\' />\n		<!-- / RIGHT TABLE -->\n		</td>\n	\") : (\"\")) . \"\n</tr>\n</table>\n<script type=\'text/javascript\'>\n//<![CDATA[\n// Settings\nips_personal_portal.settings[\'allow_rating\']      = parseInt(\\\"{$this->ipsclass->vars[\'pp_allow_member_rate\']}\\\");\nips_personal_portal.settings[\'default_rating\']    = parseInt(\\\"{$member[\'_pp_rating_real\']}\\\");\nips_personal_portal.settings[\'member_id\']         = parseInt(\\\"{$member[\'id\']}\\\");\nips_personal_portal.settings[\'is_super_mod\']      = parseInt(\\\"{$member[\'g_is_supmod\']}\\\");\nips_personal_portal.settings[\'viewer_id\']         = parseInt(\\\"{$this->ipsclass->member[\'id\']}\\\");\nips_personal_portal.settings[\'edit_allowed\']	  = parseInt(\\\"{$this->ipsclass->member[\'g_edit_profile\']}\\\");\nips_personal_portal.settings[\'img_base_url\']      = ipb_var_image_url + \'/folder_profile_portal\';\nips_personal_portal.settings[\'img_menu_icon\']     = \\\"{$this->ipsclass->vars[\'img_url\']}/menu_action_down.gif\\\";\nips_personal_portal.settings[\'img_friend_remove\'] = \\\"{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_remove_small.png\\\";\nips_personal_portal.settings[\'img_friend_add\']    = \\\"{$this->ipsclass->vars[\'img_url\']}/folder_profile_portal/friend_add_small.png\\\";\nips_personal_portal.settings[\'default_tab\']       = \'{$default_tab}\';\n// Languages\nips_personal_portal.languages[\'rate_me\']          = \'<span class=\\\"desc\\\">{$this->ipsclass->lang[\'m_rate_me\']}</span>\';\nips_personal_portal.languages[\'friend_add\']       = \'{$this->ipsclass->lang[\'m_friend_add\']}\';\nips_personal_portal.languages[\'friend_remove\']    = \'{$this->ipsclass->lang[\'m_friend_remove\']}\';\nips_personal_portal.languages[\'img_alt_rate\']     = \'{$this->ipsclass->lang[\'js_img_alt_rate_p\']}\';\nips_personal_portal.languages[\'gender_male\']      = \'{$this->ipsclass->lang[\'js_gender_male\']}\';\nips_personal_portal.languages[\'gender_female\']    = \'{$this->ipsclass->lang[\'js_gender_female\']}\';\nips_personal_portal.languages[\'gender_mystery\']   = \'{$this->ipsclass->lang[\'js_gender_mystery\']}\';\nips_personal_portal.languages[\'loading_tab\']      = \'{$this->ipsclass->lang[\'js_loading_tab\']}\';\nips_personal_portal.languages[\'deleting_comment\'] = \'{$this->ipsclass->lang[\'js_deleting_comment\']}\';\nips_personal_portal.languages[\'saving_comment\']   = \'{$this->ipsclass->lang[\'js_saving_comment\']}\';\nips_personal_portal.languages[\'age_unknown\']   	  = \'{$this->ipsclass->lang[\'m_age_unknown\']}\';\n// INIT\nips_personal_portal.init();\n\" . (($default_tab_content == \'\') ? (\"\n// Load tab\nips_personal_portal.load_content_tab( \'{$default_tab}\' );\n\") : (\"\")) . \"\nmenu_build_menu(\n\\\"profile-options\\\", new Array(\n							\" . (($this->ipsclass->member[\'id\'] != 0 AND $this->ipsclass->member[\'id\'] != $member[\'id\']) ? (\"\n							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=usercp&amp;CODE=ignore&amp;uid={$member[\'id\']}\'>{$this->ipsclass->lang[\'ignore_user\']}</a>\\\",\n							\") : (\"\")) . \"\n							\" . (($this->ipsclass->member[\'g_is_supmod\'] == 1) ? (\"\n							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=mod&amp;CODE=editmember&amp;auth_key={$this->ipsclass->md5_check}&amp;member={$member[\'id\']}\'>{$this->ipsclass->lang[\'supmod_edit_member\']}</a>\\\",\n							\") : (\"\")) . \"\n							\" . (($this->ipsclass->vars[\'auth_allow_dnames\'] == 1) ? (\"\n							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'#\' onclick=\'return profile_dname_history({$member[\'id\']})\'>{$this->ipsclass->lang[\'dname_title\']}</a>\\\",\n							\") : (\"\")) . \"\n							\" . (($this->ipsclass->member[\'id\'] != 0 AND $this->ipsclass->member[\'id\'] != $member[\'id\']) ? (\"\n							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Msg&amp;CODE=02&amp;MID={$member[\'id\']}\'>{$this->ipsclass->lang[\'op_add_pm_to_block\']}</a>\\\",\n							\") : (\"\")) . \"\n 							\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$member[\'id\']}\'>{$this->ipsclass->lang[\'find_posts\']}</a>\\\",\n				 			\'<img src=\\\"style_images/<#IMG_DIR#>/profile_item.gif\\\" border=\\\"0\\\" />\' + \\\" <a href=\'{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$member[\'id\']}\'>{$this->ipsclass->lang[\'find_member_topics\']}</a>\\\"\n) );\n\n//]]>\n</script>\n\" . ((is_array( $this->ipsclass->member[\'_cache\'][\'friends\'] ) AND in_array( $member[\'id\'], array_keys( $this->ipsclass->member[\'_cache\'][\'friends\'] ) )) ? (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		ips_personal_portal.show_friend_add_or_remove( 0 );\n	//]]>\n	</script>\n\") : (\"\n	<script type=\'text/javascript\'>\n	//<![CDATA[\n		ips_personal_portal.show_friend_add_or_remove( 1 );\n	//]]>\n	</script>\")) . \"\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_4903096fe898b138615912($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $member[\'custom_fields\'] as $data )\n	{\n		\n		$_ips___x_retval .= \"\n					<div class=\'row1\' style=\'padding:6px; margin-bottom:1px; padding-left:10px\'>{$data[\'name\']}: {$data[\'data\']}</div>\n				\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_4903096fe8a30053740545($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $tabs as $tab )\n	{\n		\n		$_ips___x_retval .= \"\n				<div class=\'pp-taboff\' id=\'pp-content-tab-{$tab[\'plugin_key\']}\'>{$tab[\'_lang\']}</div>\n			\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_4903096fe8ae7886905494($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $visitors as $visitor )\n	{\n		\n		$_ips___x_retval .= \"\n						<div class=\'pp-mini-content-entry\'>\n							<div class=\'pp-image-thumb-wrap-floatright\'><img src=\'{$visitor[\'pp_thumb_photo\']}\' width=\'{$visitor[\'pp_thumb_width\']}\' height=\'{$visitor[\'pp_thumb_height\']}\' alt=\'\' /></div>\n							<div style=\'position:absolute;z-index:2;\'>\n								{$visitor[\'_pp_gender_image\']} <strong>\" . (($visitor[\'id\']) ? (\"<a href=\'{$this->ipsclass->base_url}showuser={$visitor[\'id\']}\'>\") : (\"\")) . \"{$visitor[\'members_display_name_short\']}\" . (($visitor[\'id\']) ? (\"</a>\") : (\"\")) . \"</strong>\n							</div>\n							<br />\n							<br />\n							<div class=\'pp-tiny-text\'>{$visitor[\'_pp_online_image\']} {$visitor[\'_visited_date\']}</div>\n						</div>\n					\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// Foreach loop function\n//===========================================================================\n\nfunction __foreach_loop__id_4903096fe8c06268031780($tabs=array(),$member=array(),$comments=\"\",$friends=array(),$visitors=array(),$default_tab=\'posts\',$default_tab_content=\'\')\n{\n	$_ips___x_retval = \'\';\n	\n	foreach( $friends as $friend )\n	{\n		\n		$_ips___x_retval .= \"\n						<div class=\'pp-mini-content-entry\'>\n							<div class=\'pp-image-thumb-wrap-floatright\'><img src=\'{$friend[\'pp_thumb_photo\']}\' width=\'{$friend[\'pp_thumb_width\']}\' height=\'{$friend[\'pp_thumb_height\']}\' alt=\'\' /></div>\n							<div style=\'position:absolute;z-index:2;\'>\n								{$friend[\'_pp_gender_image\']} <strong><a href=\'{$this->ipsclass->base_url}showuser={$friend[\'id\']}\'>{$friend[\'members_display_name_short\']}</a></strong>\n							</div>\n							<br />\n							<div class=\'pp-tiny-text\'>\n								{$friend[\'posts\']} {$this->ipsclass->lang[\'m_bit_posts\']}\n								<br />{$friend[\'_pp_online_image\']} {$friend[\'_last_active\']}\n							</div>\n						</div>\n					\";\n	}\n	\n	return $_ips___x_retval;\n}\n\n//===========================================================================\n// <ips:personal_portal_no_aboutme:desc::trigger:>\n//===========================================================================\nfunction personal_portal_no_aboutme($langkey=\"\",$memberid=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<div>\n	<table cellspacing=\\\"1\\\" width=\\\"100%\\\"><tr>\n		<td class=\\\"row1\\\" align=\\\"center\\\">\n			<b>{$this->ipsclass->lang[ $langkey ]}</b>\n		</td>\n	</tr></table>\n	\" . (($this->ipsclass->member[\'id\'] == $memberid) ? (\"\n		<br />\n		<div class=\'pp-contentbox-entry-noheight\'>\n			<div style=\'float:right\'>\n				<a href=\'{$this->ipsclass->base_url}act=UserCP&amp;CODE=22\' target=\'_parent\'>{$this->ipsclass->lang[\'cp_edit_signature\']}</a> &middot; \n				<a href=\'{$this->ipsclass->base_url}act=UserCP&amp;CODE=about_me_form\' target=\'_parent\'>{$this->ipsclass->lang[\'cp_edit_aboutme\']}</a>\n			</div>\n		</div>\n	\") : (\"\")) . \"\n</div>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_no_content:desc::trigger:>\n//===========================================================================\nfunction personal_portal_no_content($langkey=\"\") {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"<table cellspacing=\\\"1\\\" width=\\\"100%\\\"><tr>\n	<td class=\\\"row1\\\" align=\\\"center\\\">\n		<b>{$this->ipsclass->lang[ $langkey ]}</b>\n	</td>\n</tr></table>\";\n//--endhtml--//\nreturn $IPBHTML;\n}\n\n//===========================================================================\n// <ips:personal_portal_show_comment:desc::trigger:>\n//===========================================================================\nfunction personal_portal_show_comment($comments=\"\",$member=array(),$new_id=0,$return_msg=\'\') {\n$IPBHTML = \"\";\n//--starthtml--//\n$IPBHTML .= \"\" . ((is_array($comments) and count($comments)) ? (\"\n	\".$this->__foreach_loop__id_4903096fea688127516269($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_4903096fea688127516269($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<div class=\\\"borderwrap\\\">\n     <div class=\\\"catheadmid\\\"><div class=\\\"catheadleft\\\"><div class=\\\"catheadright\\\">\n    <table width=\'100%\' cellspacing=\'0\' cellpadding=\'0\'>\n     <tr>\n      <td width=\'99%\'><div class=\\\"catheadtext\\\">{$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></div></div>\n	<table class=\'ipbtable\' cellspacing=\\\"1\\\" style=\\\"clear: left;\\\">\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_tit