function content_5778b6e51ffd31_58882017($_smarty_tpl) { if (!is_callable('smarty_block_m')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.m.php'; } ?> <div class="fldTitle"><?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> City<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </div> <input type="text" readonly="readonly" class="inpWide" value="<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> " /> <?php }
function content_5778b6e53bcf54_59272631($_smarty_tpl) { if (!is_callable('smarty_block_m')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.m.php'; } ?> <div class="fldTitle"><?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Fax<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> #</div> <input type="text" readonly="readonly" style="width:90px" value="<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> " /> <?php if ($_smarty_tpl->tpl_vars['value']->value) { ?> <a href="/leadsmail.php?cmd=compose&lead_id=<?php echo $_smarty_tpl->tpl_vars['lead_id']->value; ?> &fax=<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> " <?php if (!permitted('allowFax')) { ?> onclick="alert('You must configure your Fax settings in your user profile page first before you can use this feature.');return false;"<?php } ?> > <img style="vertical-align:middle" src="/assets/images/fax_icon.jpg" width="21" height="21" border="0"></a> <?php } }
function content_5778b6e52d2f59_45412874($_smarty_tpl) { if (!is_callable('smarty_block_m')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.m.php'; } if (!is_callable('smarty_function_my_call')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/function.my_call.php'; } ?> <div class="fldTitle"><?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Office Phone #<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <div class="fldTitleLinks"> <a href="http://www.google.com/search?hl=en&q=<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> " target="_blank">Google</a> <span class="sep">-</span> <a href="http://www.phonenumber.com/search/ReversePhone?phone=<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> " target="_blank">Reverse</a> </div> </div> <input type="text" readonly="readonly" style="width:90px" value="<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> " /> <?php echo smarty_function_my_call(array('phone' => $_smarty_tpl->tpl_vars['value']->value), $_smarty_tpl); }
function content_5778b6e5420784_87762891($_smarty_tpl) { if (!is_callable('smarty_block_m')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.m.php'; } ?> <div class="fldTitle"><?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Email Address<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <div class="fldTitleLinks"> <a href="http://www.myfreeemailsearch.com/search/reverse.asp?email=<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> " target="_blank">Search</a> </div> </div> <a href="mailto:<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> "><input type="text" readonly="readonly" class="inpWide" value="<?php echo $_smarty_tpl->tpl_vars['value']->value; ?> "/></a><?php }
function content_5778b6e56e6e23_49277967($_smarty_tpl) { if (!is_callable('smarty_block_m')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.m.php'; } ?> <div class="d1" > <div class="fldTitle"><?php echo $_smarty_tpl->getSubTemplate('fields/req.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); echo $_smarty_tpl->tpl_vars['title']->value; ?> </div> <input type="radio" name="<?php echo $_smarty_tpl->tpl_vars['name']->value; ?> " value="1" <?php if ($_smarty_tpl->tpl_vars['value']->value) { ?> checked<?php } ?> /> <?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Yes<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <input type="radio" name="<?php echo $_smarty_tpl->tpl_vars['name']->value; ?> " value="0" <?php if (!$_smarty_tpl->tpl_vars['value']->value) { ?> checked<?php } ?> /> <?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> No<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php echo $_smarty_tpl->getSubTemplate('fields/note.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> </div> <?php }
function content_5778af75b80ee4_55191464($_smarty_tpl) { if (!is_callable('smarty_function_js_include')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/function.js_include.php'; } if (!is_callable('smarty_block_m')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.m.php'; } if (!is_callable('smarty_block_mybox')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.mybox.php'; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <HTML> <HEAD> <?php echo '<script'; ?> type="text/javascript" src="/js/init.js"><?php echo '</script'; ?> > <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <TITLE><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value; ?> </TITLE> <?php echo smarty_function_js_include(array('src' => '/css/style.css'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/corp/style_c.css'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/functions.js'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/jquery-1.9.1.min.js'), $_smarty_tpl); ?> <?php echo $_smarty_tpl->getSubTemplate('startup.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php echo smarty_function_js_include(array('src' => '/corp/favicon.ico'), $_smarty_tpl); ?> <style> #LoginButton a:hover img{ filter: alpha(opacity:70);opacity: 0.7;moz-opacity : 0.7; khtml-opacity : 0.7; } #UserName, #Password, #TOS, #LoginButton, #PasswordReset{ margin-bottom:10px; } #LoginButton img{width:127px;height:25px;} input#loginid, input#password{ font-size:12pt; width:123px; } #IPAddress{border-top:solid #999999 1px;padding-top:5px} </style> <?php echo '<script'; ?> language="javascript"> function loginClick(){ if(el('cbAgree') && !el('cbAgree').checked){ alert('You must agree to TOS first'); return false; } document.loginForm.submit(); } <?php echo '</script'; ?> > <?php echo $_smarty_tpl->getSubTemplate('BodyOnLoad.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> </HEAD> <BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <div id="mostOuterDiv"> <table id="mostOuterTable" cellpadding="0" cellspacing="0" border="0"> <tr> <td> <DIV class="header2"> <table class="topLinksBar" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left"> CRM Merchant Management Software<a href="/logout.php"></a></td> <td align="right"> Leads. Sales. Profits. Success. </td> </tr></table> </DIV> </td> </tr> <tr> <td> <div class="divOuterTable"> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 width="100%"> <?php if (permitted('confShowLogo')) { ?> <TR valign="top" ALIGN=LEFT> <TD style='padding:0px' > <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"><a href="/home.php"><img class="block" style='' src="/corp/<?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['logo_fname']; ?> " border=0 id="Picture46"></a></div></td> </tr> </table> </TD> </TR> <?php } ?> <TR valign="top" ALIGN=LEFT> <TD > <DIV id="toplinkscontainer"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Welcome to<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['SYS_DESC']; ?> </DIV> </TD> </TR> <TR valign="top" ALIGN=LEFT> <TD > <div align="center"> <TABLE class="page_2colTbl" cellspacing="0"> <col class="pagecol_col1" /> <col class="pagecol_col2" /> <col class="pagecol_col3" /> <TR> <TD class="page_col1"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('mybox', array('title' => "User Login", 'node' => '', 'class' => "box-gray")); $_block_repeat = true; echo smarty_block_mybox(array('title' => "User Login", 'node' => '', 'class' => "box-gray"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=TE> <TR> <TD ALIGN="CENTER"> <TABLE ID="Table6" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%"> <FORM NAME="loginForm" action="/login.php" METHOD=POST> <COLGROUP> <COL WIDTH="100%"> </COLGROUP> <TR> <TD WIDTH="100%" align="center" STYLE="padding: 5px;"> <div id="UserName"> <div class="fldTitle">User Name</div> <input id="loginid" type="text" name="loginid" value="<?php echo $_smarty_tpl->tpl_vars['username']->value; ?> " size=16 maxlength=50> </div> <div id="Password"> <div class="fldTitle">Password</div> <input id="password" type="password" name="password" autocomplete="on" value="" size=16 onkeyup="if(event.keyCode==13) this.form.submit()" > </div> <?php if (!$_smarty_tpl->tpl_vars['loginoptHideTOS']->value) { ?> <div id="TOS"> <span class="alike"><input type="checkbox" name="cbAgree" id="cbAgree" onClick="el('fLogin').disabled=!this.checked"></span> <a href="javascript:void(0);" onClick="myFooterPopup('footerTerms');return false;">Agree to TOS</a> </div> <?php } ?> <div id="LoginButton"> <input type="button" value="Login" onclick="loginClick()" /> <div> <?php if (!$_smarty_tpl->tpl_vars['loginoptHidePwdreset']->value) { ?> <div id="PasswordReset"> <a href="#" onClick="document.getElementById('pwdreminderTbl').style.display='';return false"><?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Forgot Password?<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </a> </div> <?php } ?> </TD> </TR> </FORM> </TABLE> </TD> </TR> </TABLE> <TABLE ID="pwdreminderTbl" style='display:none' BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%"> <FORM NAME="LAYOUTFORM" action="/login.php" METHOD=POST> <COLGROUP> <COL WIDTH="100%"> </COLGROUP> <TR> <TD WIDTH="100%" STYLE="padding: 5px;"> <P STYLE="text-align: center;"><?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Username or Email<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </P> </TD> </TR> <TR> <TD WIDTH="100%" align="center" STYLE="padding: 5px;"> <SPAN class="xx-small"> <input id="loginid" type="text" name="RecoverString" value="" size=16 maxlength=50> </SPAN> </TD> </TR> <TR> <TD WIDTH="100%" HEIGHT=34 align="center" valign="middle" STYLE="padding: 5px;"> <input type="submit" name="RequestPwdButton" value="<?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Request<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> " > </TD> </TR> </FORM> </TABLE> <div id="IPAddress" align="center"><span class="alike"><?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Your IP Address is:<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <br><?php echo $_smarty_tpl->tpl_vars['CurrentIP']->value; ?> </span><br /> <br /> </div> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_mybox(array('title' => "User Login", 'node' => '', 'class' => "box-gray"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php if ($_smarty_tpl->tpl_vars['CONFIG']->value['SYS_SSLLINK']) { ?> <div style='text-align:center;padding-top:8px;'> <a href="<?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['SYS_SSLLINK']; ?> " target="_blank"><img src="/corp/ssl_image.gif" border="0"></a> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['CONFIG']->value['sslCertificateLinkCode']) { ?> <div style='text-align:center;padding-top:8px;'> <?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['sslCertificateLinkCode']; ?> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['CONFIG']->value['sslPciCertificateLinkCode']) { ?> <div style='text-align:center;padding-top:8px;'> <?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['sslPciCertificateLinkCode']; ?> </div> <?php } ?> </TD> <TD class="page_col2" > <?php $_smarty_tpl->smarty->_tag_stack[] = array('mybox', array('title' => "Welcome", 'node' => '', 'class' => "box-gray")); $_block_repeat = true; echo smarty_block_mybox(array('title' => "Welcome", 'node' => '', 'class' => "box-gray"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <div style="padding:8px;font-family: Verdana; font-size: 10pt;"> <?php if ($_smarty_tpl->tpl_vars['disableLogin']->value) { ?> <div style='color:red;border:red dashed 1px;padding:4px'> Our CRM system is down for maintenance and will be available soon. We are sorry for the inconvenience. Please contact us if you have any questions. </div> <?php } else { ?> <SPAN ><?php echo $_smarty_tpl->tpl_vars['LoginPageText']->value; ?> </SPAN> <?php } ?> </div> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_mybox(array('title' => "Welcome", 'node' => '', 'class' => "box-gray"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </TD> <td class="page_col3"> <?php echo $_smarty_tpl->getSubTemplate("box_datetime.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> </td> </TR> </TABLE> </div> </TD> </TR> </TABLE> </div> </td> </tr> <tr> <td><DIV class="footer3"> <div><?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['CopyrightText']; ?> </div> <div><?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['PoweredBy']; ?> </div> </DIV> <DIV class="footer4"> <?php echo $_smarty_tpl->getSubTemplate('footerLinksDiv.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> </DIV> </td> </tr> </table> </div> <?php echo $_smarty_tpl->tpl_vars['speakpipeCode']->value; ?> <?php echo $_smarty_tpl->tpl_vars['olarkCode']->value; ?> <?php echo $_smarty_tpl->tpl_vars['phpliveCode']->value; ?> <?php echo $_smarty_tpl->tpl_vars['custom_body_end_html']->value; ?> </BODY> </HTML><?php }
function content_5778af8a1aae99_91151934($_smarty_tpl) { if (!is_callable('smarty_function_func')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/function.func.php'; } if (!is_callable('smarty_function_js_include')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/function.js_include.php'; } if (!is_callable('smarty_modifier_money')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/modifier.money.php'; } if (!is_callable('smarty_block_m')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.m.php'; } if (!is_callable('smarty_modifier_date_format')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/modifier.date_format.php'; } if (!is_callable('smarty_block_mybox')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/block.mybox.php'; } if (!is_callable('smarty_modifier_date')) { include '/homepages/37/d619410358/htdocs/developer/ext/smarty3/plugins/modifier.date.php'; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <HEAD> <?php echo '<script'; ?> type="text/javascript" src="/js/init.js"><?php echo '</script'; ?> > <?php echo smarty_function_func(array('name' => 'TplData', 'var' => 'tpldata'), $_smarty_tpl); ?> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <TITLE><?php echo $_smarty_tpl->tpl_vars['PAGETITLE']->value; ?> </TITLE> <?php echo smarty_function_js_include(array('src' => '/css/style.css'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/corp/style_c.css'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/css/tpl_page_template.css'), $_smarty_tpl); ?> <style> <?php if (!permitted('ADMIN-RIGHTS')) { ?> .AdminOnlyVisibility {display:none} <?php } ?> </style> <style> </style> <?php echo smarty_function_js_include(array('src' => '/js/functions.js'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/main.js'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/jquery-1.9.1.min.js'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/jquery-ui-1.11.2/jquery-ui.css'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/jquery-ui-1.11.2/jquery-ui.min.js'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/bubble.js'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/nav.js'), $_smarty_tpl); ?> <?php echo smarty_function_js_include(array('src' => '/js/mybox.js'), $_smarty_tpl); ?> <?php echo $_smarty_tpl->getSubTemplate('startup.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php echo '<script'; ?> language="javascript"> function openViewMerchantApp(){ if(confirm('This Customer App Link is for Customers use only. If you are a user, and want to submit an Online Customer App to the corporate office, please go to the "Submit Online App" link')) window.open('/merchant.php?agent_id=<?php echo $_smarty_tpl->tpl_vars['LoginInfo']->value['uid']; ?> '); } <?php echo '</script'; ?> > <?php echo smarty_function_js_include(array('src' => '/corp/favicon.ico'), $_smarty_tpl); ?> <?php echo $_smarty_tpl->getSubTemplate('BodyOnLoad.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php echo '<script'; ?> > $(document).ready(function(){ mybox_sortableNavInit(); var flagSearch=false; $('#mainSearch') .val('search dba or legal business name...') .focus(function(){ if(flagSearch==false){ flagSearch=true; this.value=''; } }); $('#mainSearchBtn').click(function(){ if(flagSearch){ return true; }else{ return false; } }); }); <?php echo '</script'; ?> > </HEAD> <BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <div id="page_template"> <table id="xmostOuterTable" cellpadding="0" cellspacing="0" border="0" width="100%" > <tr> <td> <DIV class="header2"> <div class="search-bar"> <form method="get" action="/mainsearch.php"> <input type="text" class="search-field" value="" id="mainSearch" name="q" /> <button type="submit" class="search-button" id="mainSearchBtn"><span class="button-content"></span></button> </form> </div> <div class="toleft"> <a href="/home.php">Welcome <strong><?php echo $_smarty_tpl->tpl_vars['LoginInfo']->value['FullName']; ?> </strong></a> <?php if (permitted('USERS-MyAccount')) { ?> | <a href="/user.php?cmd=edit_user&uid=<?php echo $_smarty_tpl->tpl_vars['LoginInfo']->value['uid']; ?> ">My Account</a> <?php } ?> | <a href="/logout.php">Log Out</a> </div> <div class="toright"> <a href="/support/?tab=manual">Help</a> <?php if (permitted('TOPMENU-Support')) { ?> | <a href="/support.php">Support</a> <?php } ?> <?php if (permitted('SUPPORT-About')) { ?> | <a href="javascript:;" onclick="showPopUp('/site_config.php?cmd=show&code=aboutus',700,700)">About</a> <?php } ?> <?php if (permitted('SUPPORT-Contact')) { ?> | <a href="javascript:;" onclick="showPopUp('/site_config.php?cmd=show&code=contactus',700,700)">Contact</a> <?php } ?> <?php if (permitted('confShowLogo')) { ?> | <a href="/home.php?cmd=hidelogo">Hide Logo</a> <?php } else { ?> | <a href="/home.php?cmd=showlogo">View Logo</a> <?php } ?> </div> </DIV> </td> </tr> <tr> <td> <div class="divOuterTable"> <TABLE BORDER=0 CELLSPACING="0" CELLPADDING="0" width="100%"> <?php if (permitted('confShowLogo')) { ?> <tr> <td > <div align="center"> <a href="/home.php"><img class="block" style="max-width:840px;max-height:113px" src="/corp/<?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['logo_fname']; ?> " border="0"></a> </div> </td> </tr> <?php } ?> <TR > <TD> <DIV id="tabcontainer"> <?php echo $_smarty_tpl->getSubTemplate('menu_bar.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> </DIV> </TD> </TR> <TR > <TD> <DIV id="toplinkscontainer"> <?php $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('', null, 0); ?> <?php if (permitted('ONLINEAPPS-AgentApp')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="window.location.href='/app_manager.php?cmd=add_app&app_id=NEW'">Add Account</a> <?php } ?> <?php if (permitted('ONLINEAPPS-AddLead')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="window.location.href='/leads.php?cmd=add_lead'">Add Lead</a> <?php } ?> <?php if (permitted('ONLINEAPPS-SubmitNewRef')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="window.open('/referral_merch.php?agent_id=<?php echo $_smarty_tpl->tpl_vars['LoginInfo']->value['uid']; ?> ')">Add Referral</a> <?php } ?> <?php if (permitted('ONLINEAPPS-ShopCart')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="window.open('/shoppingcart/')">Shop Cart</a> <?php } ?> <?php if (permitted('ONLINEAPPS-PerfChart')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="window.open('/piechart/')">Perf Charts</a> <?php } ?> <?php if (permitted('ONLINEAPPS-EmailInbox')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="window.open('/mailbox.php?cmd=inbox&mailboxfolder=inbox')">Email (<?php echo $_smarty_tpl->tpl_vars['tpldata']->value['cntMails']; ?> )</a> <?php } ?> <?php if (permitted('ONLINEAPPS-Calendar')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="window.open('/calendar.php?cmd=month')">Calendar</a> <?php } ?> <?php if (permitted('ONLINEAPPS-Search')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="window.location.href='/search.php'">Search Acct & Leads</a> <?php } ?> <?php if (permitted('ONLINEAPPS-MerchantApp')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onClick="openViewMerchantApp()">Web Apps</a> <?php } ?> <?php if (permitted('ONLINEAPPS-Tickets')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onclick="window.location.href='/tickets.php?cmd=list'">Tickets (<?php echo smarty_modifier_money($_smarty_tpl->tpl_vars['tpldata']->value['openTickets'], 0); ?> )</a> <?php } ?> <?php if (permitted('ONLINEAPPS-News')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onclick="window.location.href='/news.php?cmd=view_news'">Unread News (<?php echo smarty_modifier_money($_smarty_tpl->tpl_vars['tpldata']->value['unreadNews'], 0); ?> )</a> <?php } ?> <?php if (permitted('ONLINEAPPS-Projects')) { ?> <?php echo $_smarty_tpl->tpl_vars['s']->value; $_smarty_tpl->tpl_vars['s'] = new Smarty_variable('-', null, 0); ?> <a href="javascript:;" onclick="window.location.href='/projectboard'">Projects</a> <?php } ?> </DIV> </TD> </TR> <?php if (permitted('confShowLoginInfo')) { ?> <TR > <TD ><TABLE class="BlueBar" WIDTH="100%" > <TR> <TD ><?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['SYS_DESC']; ?> <BR> <?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['SYS_ISO']; ?> <BR> <?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> User Support<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> : <?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['SYS_SUPPORT']; ?> </TD> <TD valign="top"> <P title="Login time: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['LoginInfo']->value['login_time'], '%x %X'); ?> " STYLE="text-align: right;"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('m', array()); $_block_repeat = true; echo smarty_block_m(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> Logged in as User ID<?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_m(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> "<?php echo $_smarty_tpl->tpl_vars['LoginInfo']->value['UserName']; ?> " <?php echo $_smarty_tpl->tpl_vars['LoginInfo']->value['UserType']; ?> <br> <?php echo $_smarty_tpl->tpl_vars['LoginInfo']->value['BusinessName']; ?> <br> <?php echo $_smarty_tpl->tpl_vars['LoginInfo']->value['FullName']; ?> <BR> </P></TD> </TR> </TABLE></TD> </TR> <?php } ?> <TR > <TD> <div align="center"> <?php if ($_smarty_tpl->tpl_vars['contentsWide']->value) { ?> <div style="padding-top:12px;"> <?php echo $_smarty_tpl->tpl_vars['contentsWide']->value; ?> </div> <?php } else { ?> <table class="page_2colTbl" cellspacing="0" border="0"> <!--col class="pagecol_col1a" /> <col class="pagecol_col1" /> <col class="pagecol_col2" /> <col class="pagecol_col3" /> <col class="pagecol_col3a" /--> <tr> <td class="page_col1a mySortable navCol" data-navcol="1"></td> <td class="page_col1 mySortable navCol" data-navcol="2"> <?php if ($_smarty_tpl->tpl_vars['my']->value->lead_alert->isAllowed) { ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('mybox', array('node' => "LeftPanel_alertsdue", 'title' => "Today's Appts/Tasks", 'class' => "box-one box-gray")); $_block_repeat = true; echo smarty_block_mybox(array('node' => "LeftPanel_alertsdue", 'title' => "Today's Appts/Tasks", 'class' => "box-one box-gray"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <a href="javascript:;" onClick="showPopUp('leads.php?cmd=alert_popup',700,500);"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td style='padding:4px'><img class="block" src="../assets/images/icon_warning.png" width="48" height="48" border="0"></td> <td align="center" valign="middle"><span style='font-size:9pt'>Tasks/Appointments <br> Are Due Today</span></td> </tr> </table> </a> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_mybox(array('node' => "LeftPanel_alertsdue", 'title' => "Today's Appts/Tasks", 'class' => "box-one box-gray"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['my']->value->lead_alert->startPopup) { ?> <?php echo '<script'; ?> type="text/javascript">showPopUp('leads.php?cmd=alert_popup',700,500);<?php echo '</script'; ?> > <?php } ?> <?php echo smarty_function_func(array('name' => 'PageLinks', 'col' => 1), $_smarty_tpl); ?> <?php if ($_smarty_tpl->tpl_vars['CONFIG']->value['SYS_SSLLINK']) { ?> <div style='text-align:center;padding-top:8px;'> <a href="<?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['SYS_SSLLINK']; ?> " target="_blank"><img src="/corp/ssl_image.gif" border="0"></a> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['CONFIG']->value['sslCertificateLinkCode']) { ?> <div> <iframe scrolling="no" style='text-align:center;padding:4px;width:100%;height:50px;' frameborder="0" src="/linkcodes.php?cmd=sslCertificateLinkCode" OnLoad="var h=this.contentWindow.document.body.scrollHeight+0;this.style.height=h+'px'"> </iframe> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['CONFIG']->value['sslPciCertificateLinkCode']) { ?> <div> <iframe scrolling="no" style='text-align:center;padding:4px;width:100%;height:50px;' frameborder="0" src="/linkcodes.php?cmd=sslPciCertificateLinkCode" OnLoad="var h=this.contentWindow.document.body.scrollHeight+0;this.style.height=h+'px'"> </iframe> </div> <?php } ?> <?php echo '<script'; ?> > //mybox_sortableInit('.mySortable.c1'); //mybox_sortableInit('.mySortable.LeftPanel.c2'); <?php echo '</script'; ?> > </td> <td class="page_col2"> <?php echo $_smarty_tpl->tpl_vars['contents']->value; ?> </td> <td class="page_col3 mySortable navCol" data-navcol="3"> <?php if (permitted('RIGHTCOLBOX-datetime')) { ?> <?php echo $_smarty_tpl->getSubTemplate("box_datetime.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php } ?> <?php if (permitted('confShowBackup') && permitted('SUPERADMIN-RIGHTS')) { ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('mybox', array('node' => "col3_backup", 'title' => "CRM Backup", 'class' => "box-one box-gray")); $_block_repeat = true; echo smarty_block_mybox(array('node' => "col3_backup", 'title' => "CRM Backup", 'class' => "box-one box-gray"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php echo smarty_function_func(array('name' => 'BackupBoxData', 'var' => 'BackupBoxData'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->tpl_vars['BackupBoxData']->value['showAlert']) { ?> <?php echo smarty_function_js_include(array('src' => '/js/flash_text.js'), $_smarty_tpl); ?> <div id="flashTable1" ><div style='width:100%;border:none' align="center" class="RedFlashText" onClick="window.location.href='/update_corp.php?cmd=backup'" title="Database backed up <?php echo $_smarty_tpl->tpl_vars['BackupBoxData']->value['age']; ?> days ago"> <span class='nobr'>DB Backup Past Due</span></div></div > <?php } ?> <table class="leftNavTable"> <tr class="menuitemsub_k"> <td> Last Backup: <div class="toright"><?php echo smarty_modifier_date($_smarty_tpl->tpl_vars['BackupBoxData']->value['date']); ?> </div> </td> </tr> <tr class="menuitemsub_k"> <td> Version: <div class="toright"><?php echo $_smarty_tpl->tpl_vars['BackupBoxData']->value['db_version']; ?> </div> </td> </tr> <tr class="menuitemsub_k"> <td> Perform Backup <div class="toright"><a href="/update_corp.php?cmd=backup">Start</a></div> </td> </tr> </table> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_mybox(array('node' => "col3_backup", 'title' => "CRM Backup", 'class' => "box-one box-gray"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } ?> <?php echo smarty_function_func(array('name' => 'PageLinks', 'col' => 3), $_smarty_tpl); ?> </td> <td class="page_col3a mySortable navCol" data-navcol="4"></td> </tr> </table> <?php } ?> </div> </TD> </TR> <TR> <TD valign="top" style='width:671px;'></TD> </TR> </TABLE> </div> </td> </tr> <tr> <td><DIV class="footer3"> <div><?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['CopyrightText']; ?> </div> <div><?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['PoweredBy']; ?> </div> </DIV> <DIV class="footer4"> <?php echo $_smarty_tpl->getSubTemplate('footerLinksDiv.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> </DIV> </td> </tr> </table> </div> <?php echo smarty_function_func(array('name' => 'IMCode'), $_smarty_tpl); ?> </BODY> </HTML><?php }