function content_5017c797711418_45640787($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <form id="form_name" action="" method="post"> <ul> <li><span class="error-message"><?php echo smarty_function_validate(array('id' => "v_user", 'message' => "Incorrect Login Details!"), $_smarty_tpl); ?> </span> <label for="username">E-mail*</label> <input type="text" name="username" id="username" class="required" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_username", 'message' => "E-mail must be valid"), $_smarty_tpl); ?> </span> </li> <li> <label for="password">Password*</label> <input type="password" name="password" id="password" class="required" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_password", 'message' => "Password cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <a href="reset.php">Password Forgotten?</a><br/><br/> </li> <li> <input type="submit" name="login" value="Login" /> </li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '76535017c7974f0a27-09561712'); content_533d2df82c7d22_54556729($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ ?> <?php }
function content_533d2eefb3b678_03715899($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <form id="form_name" action="" method="post"> <ul> <li> <label for="username">E-mail: </label> <strong><?php echo $_smarty_tpl->tpl_vars['email']->value; ?> </strong><br><br> </li> <li><span class="error-message"><?php echo smarty_function_validate(array('id' => "v_pass1", 'message' => "New Password Cannot Be Empty!"), $_smarty_tpl); ?> </span> <label for="password1">New Password*</label> <input type="password" name="password1" id="password1" class="required" /> </li> <li><span class="error-message"><?php echo smarty_function_validate(array('id' => "v_pass2", 'message' => "New Password Did Not Match!"), $_smarty_tpl); ?> </span> <label for="password2">Re-type New Password*</label> <input type="password" name="password2" id="password2" class="required" /> </li> <li> <input type="submit" name="reset" value="Reset Password" /> </li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '28193533d2eefad31d9-64547698'); content_533d2eefb348d2_96365010($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ ?> <?php }
function content_533d2e005027c0_82771099($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <form id="form_name" action="" method="post"> <ul> <li><span class="error-message"><?php echo smarty_function_validate(array('id' => "v_user", 'message' => "Email is not registered on mHealth!"), $_smarty_tpl); ?> </span> <label for="username">E-mail*</label> <input type="text" name="username" id="username" class="required" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_username", 'message' => "E-mail must be valid"), $_smarty_tpl); ?> </span> </li> <li> <input type="submit" name="reset" value="Reset Password" /> </li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '11276533d2e0049ecf0-88656447'); content_533d2e004fbaf7_59932515($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ ?> <?php }
function smarty_function_fv($params, &$smarty) { static $pre = ''; static $post = ''; static $form = SMARTY_VALIDATE_DEFAULT_FORM; $f = isset($params['validate']) ? $params['validate'] : false; $m = isset($params['message']) ? $params['message'] : false; $form = isset($params['form']) ? $params['form'] : $form; $pre = isset($params['prepend']) ? $params['prepend'] : $pre; $post = isset($params['append']) ? $params['append'] : $post; $prepend = isset($params['pre']) ? $params['pre'] : $pre; $append = isset($params['post']) ? $params['post'] : $post; $p = array('id' => $f, 'message' => isset($smarty->_tpl_vars['vMsg'][$f]) ? $smarty->_tpl_vars['vMsg'][$f] : 'input error', 'append' => 'vErr'); if ($form) { $p['form'] = $form; } if ($f) { return smarty_function_validate($p, $smarty); } if ($m && isset($smarty->_tpl_vars['vErr'][$m])) { return $prepend . $smarty->_tpl_vars['vErr'][$m] . $append; } return; }
function content_52dce2406cc7b2_27953047($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['info']->value; ?> <style> .code{ background-color: grey; color: white; font-size: 18px; margin: 5px; width: 200px; font-weight:bold; text-align: center; } label{ font-weight:bold; } </style> <form accept-charset="utf-8" method="post" enctype="multipart/form-data" class="contact-form" action=""> <ul> <li><label for="name">Name:</label></li> <li><input type="text" class="name" id="contact_name" value="" name="name"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_name", 'message' => "Name field cant be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="option">Choose Sex</label> </li> <li><select class="subject" id="contact_subject" name="sex"> <option value="Male">Male</option> <option value="Female">Female</option> </select> </li> <li> <label for="mobile_number">Mobile Number</label></li> <li> <input type="text" name="mobile_number" id="mobile_number" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li><label for="email">Email:</label></li> <li><input type="text" class="email" id="contact_email" value="" name="email"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail must be valid"), $_smarty_tpl); ?> </span> </li> <li><label for="subject">Marital Status:</label></li> <li><select class="subject" id="contact_subject" name="status"> <option value="Single">Single</option> <option value="Married">Married</option> <option value="Divorced">Divorced</option> </select> </li> <li> <label for="address">Address</label></li> <li> <input type="text" name="address" id="address" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_address", 'message' => "Address cannot be empty!"), $_smarty_tpl); ?> </span> </li> <li> <label for="state">State</label></li> <li> <select name="state" id="state" class="required"> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> </li> <li> <label for="validate">Validation Code:</label></li> <li class="code"><?php echo $_smarty_tpl->tpl_vars['random']->value; ?> </li> <li><input class="validatey" type="text" id="contact_validate" name="validate"> <li><input type="hidden" class="validate2" id="contact_validate2" value="<?php echo $_smarty_tpl->tpl_vars['random']->value; ?> " name="validate2"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_validate", 'message' => "Validation code not correctly typed!"), $_smarty_tpl); ?> </span> </li> <li><span class="contact-button"><input type="submit" value="Submit" name="submit-button"> </span></li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '1245052dce2403c5bb0-99967865'); content_5328a2a12e0812_03693646($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ ?> <?php }
function content_5017c8327e1597_13873432($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_function_html_options')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.html_options.php'; } echo $_smarty_tpl->getSubTemplate("header3.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['top']->value; ?> <<?php ?> ?php echo $_SESSION['error']; ?<?php ?> > <div style="padding-top: 20px"> <form id="form_name" action="" method="post" name="form_name"> <ul> <li> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_date_db", 'message' => "Date chosen has been scheduled"), $_smarty_tpl); ?> </span> <br/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_tip_db", 'message' => "Tip text more 160 characters"), $_smarty_tpl); ?> </span> <label for="username">Schedule Date</label> <input type="text" name="date" id="datepicker" /> Hour <select name='hour'> <?php $_smarty_tpl->tpl_vars['h'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['h']->_loop = false; $_from = $_smarty_tpl->tpl_vars['hours']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['h']->key => $_smarty_tpl->tpl_vars['h']->value) { $_smarty_tpl->tpl_vars['h']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['h']->value; ?> " ><?php echo $_smarty_tpl->tpl_vars['h']->value; ?> </option> <?php } ?> </select> Minutes <select name='minute'> <?php $_smarty_tpl->tpl_vars['m'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['m']->_loop = false; $_from = $_smarty_tpl->tpl_vars['minutes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['m']->key => $_smarty_tpl->tpl_vars['m']->value) { $_smarty_tpl->tpl_vars['m']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['m']->value; ?> " ><?php echo $_smarty_tpl->tpl_vars['m']->value; ?> </option> <?php } ?> </select> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_date", 'message' => "Date must be valid"), $_smarty_tpl); ?> </span> </li> <li> <label for="category">Tip Category</label> <?php echo smarty_function_html_options(array('name' => "keyword", 'options' => $_smarty_tpl->tpl_vars['category']->value), $_smarty_tpl); ?> </li> <li> <label for="tips">Health Tip</label> <textarea name="tips" id="tips" cols="8" rows="5" onKeyDown="textCounter(document.form_name.tips,document.form_name.remLen1,150)" onKeyUp="textCounter(document.form_name.tips,document.form_name.remLen1,150)"/></textarea> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_tips", 'message' => "Tips cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="tips">Counter</label> <input readonly type="text" name="remLen1" size="3" cols="2" maxlength="2" value="150"> </li> <li> <input type="submit" name="schedule" value="Schedule Tip" /> </li> </ul> </form> </div> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '270655017c8326dd102-10419913'); content_5329540fa610b6_69905869($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_5017c911cabd22_90893221($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_date_format')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.date_format.php'; } if (!is_callable('smarty_modifier_truncate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.truncate.php'; } if (!is_callable('smarty_function_paginate_first')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.paginate_first.php'; } if (!is_callable('smarty_function_paginate_prev')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.paginate_prev.php'; } if (!is_callable('smarty_function_paginate_middle')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.paginate_middle.php'; } if (!is_callable('smarty_function_paginate_next')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.paginate_next.php'; } if (!is_callable('smarty_function_paginate_last')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.paginate_last.php'; } echo $_smarty_tpl->getSubTemplate("header3.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> </div> <span class="error-message"><?php echo $_smarty_tpl->tpl_vars['info']->value; ?> </span> <br/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_end", 'message' => "Choose a end date"), $_smarty_tpl); ?> </span> <br/> <div id="search_box" style="width: 400px;display:none"> <form id="form_name" action="" method="get"> <table id="searchtable"> <tr><td><strong>Tip Category</strong></td> <td> <select name='category'> <?php $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['c']->_loop = false; $_from = $_smarty_tpl->tpl_vars['categorys']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value) { $_smarty_tpl->tpl_vars['c']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['c']->value['id']; ?> " ><?php echo $_smarty_tpl->tpl_vars['c']->value['name']; ?> </option> <?php } ?> </select> </td></tr> <tr><td> <strong>Start Date</strong></td> <td><input type="text" name="start" class="datepicker" id="start"/></td></tr> <tr> <td><strong>End Date</strong></td> <td><input type="text" name="end" class="datepicker" id="end"/></td></tr> <tr><td><input type="submit" value="Fetch Tips" name="submit"></td> <a href="#" id="close_box" style="text-align:right"><strong>Close Search Box</strong></a> </table> </form> </div> <div id="open_box"><strong><a href="#">Open Search Box</a></strong></div> <div id="logs"> <p> <table class="tips"> <thead> <td>Date</td> <td>Category </td> <td>Tips </td> <td>Actions</td> </thead> <tbody> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i'; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['tips']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']; ?> <tr> <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['schedule_time']); ?> </td> <td ><?php echo $_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name']; ?> </td> <td width='200px'><?php echo stripslashes(smarty_modifier_truncate($_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['gist'], 80, "...")); ?> </td> <td width='100px'><a href="#mydiv<?php echo $_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['tid']; ?> " rel="facebox">View</a> | <a href="manage.php?item=<?php echo $_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['tid']; ?> ">Delete</a></td> </tr> <div id="mydiv<?php echo $_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['tid']; ?> " style="display:none;text-align: justify"> <h2 style="text-align: center">Tip For <?php echo $_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name']; ?> Category On (<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['schedule_time']); ?> )<hr/></h2><?php echo stripslashes($_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['gist']); ?> <br/> <p><a href="edit.php?item=<?php echo $_smarty_tpl->tpl_vars['tips']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['tid']; ?> "><strong>Edit Tip</strong></a></p> <?php } } ?> </tbody> </table> <span class="form" id="tnt_pagination"><?php echo smarty_function_paginate_first(array('text' => "first"), $_smarty_tpl); ?> <?php echo smarty_function_paginate_prev(array('text' => "previous"), $_smarty_tpl); ?> <?php echo smarty_function_paginate_middle(array('format' => "page", 'page_limit' => "12"), $_smarty_tpl); ?> <?php echo smarty_function_paginate_next(array('text' => "next"), $_smarty_tpl); ?> <?php echo smarty_function_paginate_last(array('text' => "last"), $_smarty_tpl); ?> </span> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '172595017c911b6ee93-97509025'); content_532957f2a309f1_32133712($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_52dcf749601e65_26487756($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['info']->value; ?> <style> .code{ background-color: grey; color: white; font-size: 18px; margin: 5px; width: 200px; font-weight:bold; text-align: center; } label{ font-weight:bold; } </style> <form accept-charset="utf-8" method="post" enctype="multipart/form-data" class="contact-form" action="" name="form_name"> <ul> <li><label for="subject">Subject Type:</label></li> <li><select class="subject" id="contact_subject" name="subject"> <option value="1">Ask A Doctor</option> <option value="2">Share Your Stories</option> </select> </li> <li> <label for="message">Message:</label></li><li> <textarea name="message" id="tips" cols="45" rows="7" onKeyDown="textCounter(document.form_name.message,document.form_name.remLen1,150)" onKeyUp="textCounter(document.form_name.message,document.form_name.remLen1,150)"/></textarea> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_message", 'message' => "Message cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="tips">Counter</label></li><li> <input readonly type="text" name="remLen1" size="3" cols="2" maxlength="2" value="150"> </li> <li> <label for="validate">Validation Code:</label></li> <li class="code"><?php echo $_smarty_tpl->tpl_vars['random']->value; ?> </li> <li><input class="validatey" type="text" id="contact_validate" name="validate"> <li><input type="hidden" class="validate2" id="contact_validate2" value="<?php echo $_smarty_tpl->tpl_vars['random']->value; ?> " name="validate2"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_validate", 'message' => "Validation code not correctly typed!"), $_smarty_tpl); ?> </span> </li> <li><span class="contact-button"><input type="submit" value="Send" name="submit-button"> </span></li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '2687452dcf749583e66-08354178'); content_5328a27b3d33d7_92079874($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ ?> <?php }
<?php } ?> <td><?php echo smarty_function_html_options(array('name' => 'theme', 'values' => $this->_tpl_vars['themes_ids'], 'output' => $this->_tpl_vars['themes_names'], 'selected' => $this->_tpl_vars['theme']), $this); ?> </td> </tr> <tr><td colspan=2> </td></tr> <?php echo smarty_function_validate(array('field' => 'current_pass', 'criteria' => 'notEmpty', 'message' => '<tr ><td colspan="2"><b><li>Your current password cannot be empty</b></td></tr>'), $this); ?> <?php echo smarty_function_validate(array('field' => 'current_pass', 'criteria' => 'isCustom', 'function' => 'validate_passwd', 'message' => '<tr colspan="2"><td><b><li>Invalid password.</b></td></tr>'), $this); ?> <tr> <td> Current password:</td> <td><input type='password' name='current_pass' size='30' maxlength='30'></td> </tr> <tr><td> </td><td><input type='submit' name='submit' value='Set Preferences'></td></tr> <tr><td colspan=2> </td></tr> </table> </form> <!-- end preferences-form -->
function content_5052f68a212696_90468109($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['info']->value; ?> <style> .code{ background-color: grey; color: white; font-size: 18px; margin: 5px; width: 200px; hieght: 50px; font-weight:bold; text-align: center; } </style> <form accept-charset="utf-8" method="post" enctype="multipart/form-data" class="contact-form" action=""> <ul> <li><label for="name">Name:</label></li> <li><input type="text" class="name" id="contact_name" value="" name="name"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_name", 'message' => "Name field cant be empty"), $_smarty_tpl); ?> </span> </li> <li><label for="email">Email:</label></li> <li><input type="text" class="email" id="contact_email" value="" name="email"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail must be valid"), $_smarty_tpl); ?> </span> </li> <li><label for="subject">Subject:</label></li> <li><select class="subject" id="contact_subject" name="subject"> <option value="Support">Support</option> <option value="Complaint">Complaint</option> <option value="Feedback">Feedback</option> <option value="Other">Other</option> </select> </li> <li><label for="message">Message:</label></li> <li><textarea class="message" id="contact_message" rows="10" cols="40" name="message"></textarea> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_message", 'message' => "Message field cant be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="validate">Validation Code:</label></li> <li class="code"><?php echo $_smarty_tpl->tpl_vars['random']->value; ?> </li> <li><input class="validatey" type="text" id="contact_validate" name="validate"> <li><input type="hidden" class="validate2" id="contact_validate2" value="<?php echo $_smarty_tpl->tpl_vars['random']->value; ?> " name="validate2"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_validate", 'message' => "Validation code not correctly typed!"), $_smarty_tpl); ?> </span> </li> <li><span class="contact-button"><input type="submit" value="Send" name="submit-button"> </span></li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '281715052f68a0d9462-70009838'); content_5328a29cdf8500_00207197($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ ?> <?php }
function content_523973afc89242_36624595($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_date_format')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.date_format.php'; } if (!is_callable('smarty_modifier_truncate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.truncate.php'; } if (!is_callable('smarty_function_paginate_prev')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.paginate_prev.php'; } if (!is_callable('smarty_function_paginate_middle')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.paginate_middle.php'; } if (!is_callable('smarty_function_paginate_next')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.paginate_next.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> </div> <span class="error-message"><?php echo $_smarty_tpl->tpl_vars['info']->value; ?> </span> <br/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_end", 'message' => "Choose a end date"), $_smarty_tpl); ?> </span> <br/> <div id="search_box" style="width: 400px;display:none"> <form id="form_name" action="" method="get"> <table id="searchtable"> <tr><td><strong>Tip Category</strong></td> <td> <select name='category'> <?php $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['c']->_loop = false; $_from = $_smarty_tpl->tpl_vars['categorys']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value) { $_smarty_tpl->tpl_vars['c']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['c']->value['id']; ?> " ><?php echo $_smarty_tpl->tpl_vars['c']->value['name']; ?> </option> <?php } ?> </select> </td></tr> <tr><td> <strong>Start Date</strong></td> <td><input type="text" name="start" class="datepicker" id="start"/></td></tr> <tr> <td><strong>End Date</strong></td> <td><input type="text" name="end" class="datepicker" id="end"/></td></tr> <tr><td><input type="submit" value="Fetch Tips" name="submit"></td> <a href="#" id="close_box" style="text-align:right"><strong>Close Search Box</strong></a> </table> </form> </div> <div id="open_box"><strong><a href="#">Open Search Box</a></strong></div> <div id="logs"> <table class="tips"> <thead> <td>Date</td> <td>Category </td> <td>Tips </td> <td>Actions</td> </thead> <tbody> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['res'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['res']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['name'] = 'res'; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['tips']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['res']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['res']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['res']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['res']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['res']['total']; $_smarty_tpl->tpl_vars['t'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['t']->_loop = false; $_from = $_smarty_tpl->tpl_vars['tips']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['t']->key => $_smarty_tpl->tpl_vars['t']->value) { $_smarty_tpl->tpl_vars['t']->_loop = true; ?> <tr> <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['t']->value['schedule_time']); ?> </td> <td ><?php echo $_smarty_tpl->tpl_vars['t']->value['name']; ?> </td> <td width='200px'><?php echo stripslashes(smarty_modifier_truncate($_smarty_tpl->tpl_vars['t']->value['gist'], 80, "...")); ?> </td> <td width='100px'><a href="#mydiv<?php echo $_smarty_tpl->tpl_vars['t']->value['tid']; ?> " rel="facebox">View</a> | <a href="manage.php?item=<?php echo $_smarty_tpl->tpl_vars['t']->value['tid']; ?> ">Delete</a></td> </tr> <div id="mydiv<?php echo $_smarty_tpl->tpl_vars['t']->value['tid']; ?> " style="display:none;text-align: justify"> <h2 style="text-align: center">Tip For <?php echo $_smarty_tpl->tpl_vars['t']->value['name']; ?> Category On (<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['t']->value['schedule_time']); ?> )<hr/></h2><?php echo stripslashes($_smarty_tpl->tpl_vars['t']->value['gist']); ?> <br/> <p><a href="edit.php?item=<?php echo $_smarty_tpl->tpl_vars['t']->value['tid']; ?> "><strong>Edit Tip</strong></a></p> <tbody> </table> <?php } ?> Items <?php echo $_smarty_tpl->tpl_vars['paginate']->value['first']; ?> -<?php echo $_smarty_tpl->tpl_vars['paginate']->value['last']; ?> out of <?php echo $_smarty_tpl->tpl_vars['paginate']->value['total']; ?> displayed. <?php echo smarty_function_paginate_prev(array(), $_smarty_tpl); ?> <?php echo smarty_function_paginate_middle(array(), $_smarty_tpl); ?> <?php echo smarty_function_paginate_next(array(), $_smarty_tpl); ?> <?php } } ?> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '25744523973afb78d04-04724780'); content_523974a3380ae8_17247407($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_51407969784a64_93260686($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <span class="error-message"><?php echo $_smarty_tpl->tpl_vars['info']->value; ?> </span> <br/> <form id="form_name" action="" method="post"> <ul> <li> <span class="error-message"></span> <label for="reg_id">Registration ID</label><?php echo $_smarty_tpl->tpl_vars['reg_id']->value; ?> </li> <li> <span class="error-message"></span> <label for="reg_id">Registration Status</label><?php echo $_smarty_tpl->tpl_vars['status']->value; ?> </li> <br> <div ><a href="#" id="openform"><strong>Complete Registration</strong></a></div> <div id="form" style="display: none"> <li> <label for="firstname">Firstname</label> <input type="text" name="firstname" id="firstname" value="<?php echo $_smarty_tpl->tpl_vars['fname']->value; ?> "/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_firstname", 'message' => "Firstname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="lastname">Lastname</label> <input type="text" name="lastname" id="lastname" value="<?php echo $_smarty_tpl->tpl_vars['lname']->value; ?> "/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_lastname", 'message' => "Lastname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="mobile_number">Mobile Number</label> <input type="text" name="mobile_number" id="mobile_number" value="<?php echo $_smarty_tpl->tpl_vars['mobile']->value; ?> "/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li> <label for="email">Email </label> <input type="text" name="email" id="email_" value="<?php echo $_smarty_tpl->tpl_vars['email']->value; ?> "/> <span class="error-message"></span> </li> <br> <div id="opt_state" class="desc"> <label for="state">Location</label> <select name="state" id="state" class="required" onchange="getArea()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <li class="desc" id="area"> </li> <!--<li> <label for="password">Password</label> <input type="password" name="password" id="password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_password", 'message' => "Password cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="confirm_password">Confirm Password</label> <input type="password" name="confirm_password" id="confirm_password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_confirm_password", 'message' => "Password entered did not match!"), $_smarty_tpl); ?> </span> </li>--> <li> <input type="submit" name="submit" value="Complete Registration" /> </li><br><br><br><br><br> <div ><a href="#" id="closeform"><strong>Hide Registration Form</strong></a></div> </div> </ul> </form> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '141579608151407969423294-37072373'); content_5140796977d675_38171252($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_50d2bfe7a1f153_20968993($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="slider-wrapper"> <div class="clear slider-bg-center"> <div class="slider-bg-left"> <div class="slider-bg-right"> <div id="slider-wrapper"> <div id="slider"> <img src="images/slider_img1.jpg" alt="" /> <img src="images/slider_img2.png" alt="" /> <img src="images/slider_img3.jpg" alt="" /> </div> </div> </div> </div> </div> </div> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="index.php"><span>Home</span></a></li> <li class="item1"><a href="about.php"><span>About m-Health</span></a></li> <li class="item1"><a href="services.php"><span>m-Health Services</span></a></li> <li class="item1"><a href="contact.php"><span>Contact m-Health</span></a></li> <li class="item1"><a href="login.php"><span>Login</span></a></li> </ul> </div> </div> </div> </div> </div> <?php echo $_smarty_tpl->getSubTemplate("side.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <form id="form_name" action="" method="post"> <ul> <li><span class="error-message"><?php echo smarty_function_validate(array('id' => "v_user", 'message' => "Incorrect Login Details!"), $_smarty_tpl); ?> </span> <label for="username">E-mail*</label> <input type="text" name="username" id="username" class="required" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_username", 'message' => "E-mail must be valid"), $_smarty_tpl); ?> </span> </li> <li> <label for="password">Password*</label> <input type="password" name="password" id="password" class="required" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_password", 'message' => "Password cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <input type="submit" name="login" value="Login" /> </li> </ul> </form> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '169257141450d2bfe798f5e3-34125710'); content_51078720e3d268_42269063($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_52fcb78d399258_18617261($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <!--center--> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-52125588-1', 'v2nportal.com'); ga('send', 'pageview'); </script> <div> <div> <img src="images1/mhealth.png" width="430"/> </div> <br/> <div class="topup"><a href="#" class="topopup">Click Here To Subscribe For Free</a></div> <br/> <div class="sub"> <div class="sub-header">Daily Health Tips</div> <div class=""><br> <span class="content-advert-bold"> You'll receive daily health tips right on your phone sms the below categories to 35123 cost N50 weekly</span><br> e.g. For tips on cancer text 'CANCER' to 35123<br><br> CATEGORIES <ul class="list-cat"> <li> General Health </li> <li> HIV/AIDS </li> <li> Cholesterol </li> <li> Cancer </li> <li> Pelvic Infammatory Disease(PID) </li> <li> Diabetes </li> <li> Amenorrhoea </li> <li> Eye Health </li> <li> Fibroids </li> <li> Fertility </li> <li> Stress </li> <li> Exercise and Fitness </li> <li> Blood Sugar Control </li> <li>Pregnancy </li> <li> STD </li> <li> Typhiod </li> <li> Hypertension </li> </ul> </div> </div> <div class="sub"> <div class="sub-header">Daily Doctor Voice Chats</div><br> <div class=""><span class="content-advert-bold"> To find out what we're chatting about</span><br> <ul class="list-cat"> <li> Need a quick, short-term solution or medical advise? </li> <li> Travelling and cannot reach a doctor? </li> <li> Have a personal condition and what to dicuss with a doctor privately? </li> <li> Have a sexual problem and you cannot dicuss face to face with a doctor? </li> </ul> </div> </div> <span class="content-advert-bold"> Please note that Call a doctor is available on Monday to Friday 9am till 5pm daily</span> </div> </div> </td> </tr> <div id="toPopup"> <div class="close"></div> <span class="ecs_tooltip">Press Esc to close <span class="arrow"></span></span> <div id="popup_content"> <!--your content start--> <p> <div class="adpopheader"> Subscribe To mHealth For Free! </div> <form id="form_name" action="" method="post"> <ul> <li> <label for="mobile_number"><strong>Mobile Number <strong/></label><span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => " ***Mobile number must be numeric***"), $_smarty_tpl); ?> </span><br> <input type="text" name="mobile_number" id="mobile_number" /> </li> <li> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_pass", 'message' => "***Choose minimum of 1 and maximum of 4 categories***<br>"), $_smarty_tpl); ?> </span> <label for="category"><strong>Category (Choose max of 4)<strong/></label> <div class="fif"> <input type="checkbox" name="general" value="1" /> <label for="general">General Health</label> <input type="checkbox" name="hiv" value="2" /> <label for="hiv">HIV/AIDS</label> <input type="checkbox" name="cholesterol" value="16" /> <label for="cholesterol">Cholesterol</label> <input type="checkbox" name="cancer" value="13" /> <label for="cancer">Cancer</label> <br><br> <input type="checkbox" name="pid" value="31" /> <label for="cancer">Pelvic Infammatory Disease(PID)</label> <input type="checkbox" name="diabetes" value="7" /> <label for="diabetes">Diabetes</label> <input type="checkbox" name="amenorrhoea" value="10" /> <label for="amenorrhoea">Amenorrhoea</label> <input type="checkbox" name="fibroids" value="9" /> <label for="fibroids">Fibroids</label> <br><br> <input type="checkbox" name="fertility" value="11" /> <label for="fertility">Fertility</label> <input type="checkbox" name="eye" value="32" /> <label for="stress">Eye Health</label> <input type="checkbox" name="exercise" value="28" /> <label for="exercise">Exercise and Fitness</label> <input type="checkbox" name="sugar" value="17" /> <label for="sugar">Blood Sugar Control</label> <br><br> <input type="checkbox" name="pregnancy" value="6" /> <label for="pregnancy">Pregnancy</label> <input type="checkbox" name="std" value="15" /> <label for="std">STD</label> <input type="checkbox" name="typhiod" value="23" /> <label for="typhiod">Typhiod</label> <input type="checkbox" name="hypertension " value="8" /> <label for="hypertension">Hypertension </label> </div> </li> <li> <br><br> <label for="period"><strong>Period </strong> </label> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_period", 'message' => " ***Choose a value***"), $_smarty_tpl); ?> </span><br> <select name="period" id="period"> <option selected="selected" value="">Select Preferred Period</option> <option value="daily">Daily</option> <option value="weekly">Weekly</option> </select> </li> <br><br> <li> <input type="submit" name="submit" value="Subscribe For Free" /> </li> </ul> </form> </p> <!--<p align="center"><a href="#" class="livebox">Click Here Trigger</a></p>--> </div> <!--your content end--> </div> <!--toPopup end--> <div class="loader"></div> <div id="backgroundPopup"></div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <br/> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '1854152fcb78d15f3f3-01918174'); content_53a86da9ca8ea8_72447742($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ ?> <?php }
function content_501fdd78b8ebd9_97866642($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header3.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <span class="error-message"><?php echo $_smarty_tpl->tpl_vars['info']->value; ?> </span> <br/> <form id="form_name" action="" method="post"> <ul> <li> <span class="error-message"></span> <label for="reg_id">Registration ID</label><?php echo $_smarty_tpl->tpl_vars['reg_id']->value; ?> </li> <li> <span class="error-message"></span> <label for="reg_id">Registration Status</label><?php echo $_smarty_tpl->tpl_vars['status']->value; ?> </li> <br> <div ><a href="#" id="openform"><strong>Complete Registration</strong></a></div> <div id="form" style="display: none"> <li> <label for="firstname">Firstname</label> <input type="text" name="firstname" id="firstname" value="<?php echo $_smarty_tpl->tpl_vars['fname']->value; ?> "/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_firstname", 'message' => "Firstname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="lastname">Lastname</label> <input type="text" name="lastname" id="lastname" value="<?php echo $_smarty_tpl->tpl_vars['lname']->value; ?> "/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_lastname", 'message' => "Lastname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="mobile_number">Mobile Number</label> <input type="text" name="mobile_number" id="mobile_number" value="<?php echo $_smarty_tpl->tpl_vars['mobile']->value; ?> "/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li> <label for="email">Email </label> <input type="text" name="email" id="email_" value="<?php echo $_smarty_tpl->tpl_vars['email']->value; ?> "/> <span class="error-message"></span> </li> <li> <label for="language">Language</label> <select name="language" id="language" class="required" onchange="getLanguage()"> <option selected="selected" value="1" >Select Language</option> <?php $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['lang']->_loop = false; $_from = $_smarty_tpl->tpl_vars['language']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value) { $_smarty_tpl->tpl_vars['lang']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['lang']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['lang']->value->name); ?> </option> <?php } ?> </select> </li> <br> <div id="opt_state" class="desc"> <label for="state">Location</label> <select name="state" id="state" class="required" onchange="getArea()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <li class="desc" id="area"> </li> <!--<li> <label for="password">Password</label> <input type="password" name="password" id="password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_password", 'message' => "Password cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="confirm_password">Confirm Password</label> <input type="password" name="confirm_password" id="confirm_password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_confirm_password", 'message' => "Password entered did not match!"), $_smarty_tpl); ?> </span> </li>--> <li> <input type="submit" name="submit" value="Complete Registration" /> </li><br><br><br><br><br> <div ><a href="#" id="closeform"><strong>Hide Registration Form</strong></a></div> </div> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '13010501fdd787f55b0-28964653'); content_534bb7b763e8d0_79156586($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_50f3c264272a88_01393105($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/function.validate.php'; } if (!is_callable('smarty_function_html_options')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/function.html_options.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <?php echo $_smarty_tpl->tpl_vars['top']->value; ?> <<?php ?> ?php echo $_SESSION['error']; ?<?php ?> > <div style="padding-top: 20px"> <form id="form_name" action="" method="post" name="form_name"> <ul> <li> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_date_db", 'message' => "Date chosen has been scheduled"), $_smarty_tpl); ?> </span> <br/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_tip_db", 'message' => "Tip text more 160 characters"), $_smarty_tpl); ?> </span> <label for="username">Schedule Date</label> <input type="text" name="date" id="datepicker" /> Hour <select name='hour'> <?php $_smarty_tpl->tpl_vars['h'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['h']->_loop = false; $_from = $_smarty_tpl->tpl_vars['hours']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['h']->key => $_smarty_tpl->tpl_vars['h']->value) { $_smarty_tpl->tpl_vars['h']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['h']->value; ?> " ><?php echo $_smarty_tpl->tpl_vars['h']->value; ?> </option> <?php } ?> </select> Minutes <select name='minute'> <?php $_smarty_tpl->tpl_vars['m'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['m']->_loop = false; $_from = $_smarty_tpl->tpl_vars['minutes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['m']->key => $_smarty_tpl->tpl_vars['m']->value) { $_smarty_tpl->tpl_vars['m']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['m']->value; ?> " ><?php echo $_smarty_tpl->tpl_vars['m']->value; ?> </option> <?php } ?> </select> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_date", 'message' => "Date must be valid"), $_smarty_tpl); ?> </span> </li> <li> <label for="category">Tip Category</label> <?php echo smarty_function_html_options(array('name' => "keyword", 'options' => $_smarty_tpl->tpl_vars['category']->value), $_smarty_tpl); ?> </li> <li> <label for="tips">Health Tip</label> <textarea name="tips" id="tips" cols="8" rows="5" onKeyDown="textCounter(document.form_name.tips,document.form_name.remLen1,160)" onKeyUp="textCounter(document.form_name.tips,document.form_name.remLen1,160)"/></textarea> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_tips", 'message' => "Tips cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="tips">Counter</label> <input readonly type="text" name="remLen1" size="3" cols="2" maxlength="2" value="160"> </li> <li> <input type="submit" name="schedule" value="Schedule Tip" /> </li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '163973369250f3c263e2ac35-07158269'); content_50f3c26426b911_62409502($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_536c933217e092_84049888($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header3.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <br/> <form id="form_name" action="" method="post"> <ul> <li> <label for="firstname">Firstname</label> <input type="text" name="firstname" id="firstname"/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_firstname", 'message' => "Firstname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="lastname">Lastname</label> <input type="text" name="lastname" id="lastname" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_lastname", 'message' => "Lastname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="mobile_number">Mobile Number</label> <input type="text" name="mobile_number" id="mobile_number" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li> <label for="email">Languages </label> <select name="language" id="language" class="required"> <option selected="selected" >Select Language</option> <option value="english">English</option> <option value="hausa">Hausa</option> <option value="igbo">Igbo</option> <option value="pidgin">Pidgin</option> <option value="yoruba">Yoruba</option> </select> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_language", 'message' => "Choose a language"), $_smarty_tpl); ?> </span><br><br> </li> <li> <label for="role">States </label> <select name="state" id="state" class="required"> <option selected="selected">Select State</option> <option value="1">Abuja FCT</option> <option value="2">Abia</option> <option value="3">Adamawa</option> <option value="4">Akwa Ibom</option> <option value="5">Anambra</option> <option value="6">Bauchi</option> <option value="7">Bayelsa</option> <option value="8">Benue</option> <option value="9">Borno</option> <option value="10">Cross River</option> <option value="11">Delta</option> <option value="12">Ebonyi</option> <option value="13">Edo</option> <option value="14">Ekiti</option> <option value="15">Enugu</option> <option value="16">Gombe</option> <option value="17">Imo</option> <option value="18">Jigawa</option> <option value="19">Kaduna</option> <option value="20">Kano</option> <option value="21">Katsina</option> <option value="22">Kebbi</option> <option value="23">Kogi</option> <option value="24">Kwara</option> <option value="25">Lagos</option> <option value="26">Nassarawa</option> <option value="27">Niger</option> <option value="28">Ogun</option> <option value="29">Ondo</option> <option value="30">Osun</option> <option value="31">Oyo</option> <option value="32">Plateau</option> <option value="33">Rivers</option> <option value="34">Sokoto</option> <option value="35">Taraba</option> <option value="36">Yobe</option> <option value="37">Zamfara</option> <option value="38">Outside Nigeria</option> </select> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_state", 'message' => "Choose a state"), $_smarty_tpl); ?> </span> <br><br><br> </li> <li> <input type="submit" name="submit" value="Register" /> </li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '25177536c9331e51485-19222438'); content_536c93321607d2_01282372($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_50d2bfd1d8c922_68180113($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/function.validate.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="slider-wrapper"> <div class="clear slider-bg-center"> <div class="slider-bg-left"> <div class="slider-bg-right"> <div id="slider-wrapper"> <div id="slider"> <img src="images/slider_img1.jpg" alt="" /> <img src="images/slider_img2.jpg" alt="" /> <img src="images/slider_img3.jpg" alt="" /> </div> </div> </div> </div> </div> </div> <div id="content"> <div class="clear"></div> <?php echo $_smarty_tpl->tpl_vars['info']->value; ?> <form accept-charset="utf-8" method="post" enctype="multipart/form-data" class="contact-form" action=""> <ul> <li><label for="name">Name:</label></li> <li><input type="text" class="name" id="contact_name" value="" name="name"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_name", 'message' => "Name field cant be empty"), $_smarty_tpl); ?> </span> </li> <li><label for="email">Email:</label></li> <li><input type="text" class="email" id="contact_email" value="" name="email"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail must be valid"), $_smarty_tpl); ?> </span> </li> <li><label for="subject">Subject:</label></li> <li><select class="subject" id="contact_subject" name="subject"> <option value="Support">Support</option> <option value="Complaint">Complaint</option> <option value="Feedback">Feedback</option> <option value="Other">Other</option> </select> </li> <li><label for="message">Message:</label></li> <li><textarea class="message" id="contact_message" rows="10" cols="40" name="message"></textarea> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_message", 'message' => "Message field cant be empty"), $_smarty_tpl); ?> </span> </li> <li><span class="contact-button"><input type="submit" value="Send" name="submit-button"> </span></li> </ul> </form> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="index.php"><span>Home</span></a></li> <li class="item1"><a href="about.php"><span>About m-Health</span></a></li> <li class="item1"><a href="services.php"><span>m-Health Services</span></a></li> <li class="item1"><a href="contact.php"><span>Contact m-Health</span></a></li> <li class="item1"><a href="login.php"><span>Login</span></a></li> </ul> </div> </div> <div class="clear"></div> <div class="top_twitter"></div> <script type="text/javascript"> jQuery(function($) { $("#ticker").tweet( { username: "******", page: 1, avatar_size: 32, count: 20, loading_text: "loading ..." } ).bind("loaded", function() { var ul = $(this).find(".tweet_list"); var ticker = function() { setTimeout(function() { ul.find('li:first').animate( { marginTop: '-4em' }, 500, function() { $(this).detach().appendTo(ul).removeAttr('style'); } ); ticker(); } , 5000); } ; ticker(); } ); } ); </script> <style type="text/css"> #ticker ul.tweet_list { height:12em; overflow-y:hidden; backgroud-color: #e8e8e8; } #ticker .tweet_list li { height: 12em; } </style> <div id="ticker" class="query"></div> </div> <p class="text-bottom"> <strong>Interact with us on Twitter</strong> <a href="http://www.twitter.com/mtnmhealth">www.twitter.com/mtnmhealth</a> </p> </div> </div> </div> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '52903336750d2bfd1bd6f92-43137423'); content_50d2bfd1d838f2_83579392($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
2 => 'file', ), ), 'nocache_hash' => '15683366614e46758c5b6d42-23592614', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php if (!is_callable('smarty_function_validate')) include '/home/ifnoneco/public_html/test/libs/plugins/function.validate.php'; ?><?php $_template = new Smarty_Internal_Template("admin/includes/header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?> <?php echo smarty_function_validate(array('id'=>"vpassword2",'assign'=>"password_error",'message'=>"Password can not be empty."),$_smarty_tpl);?> <?php echo smarty_function_validate(array('id'=>"vpassword",'assign'=>"password_error",'message'=>"Passwords dont match."),$_smarty_tpl);?> <div id="title"> <h2>Admin » <?php echo $_smarty_tpl->getVariable('current_user')->value;?> » Change Password</h2> </div> <div id="main"> <div id="col1"> <div id="col1_content" class="clearfix"> <!-- add your content here --> <?php $_template = new Smarty_Internal_Template("admin/includes/menu.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?> </div> </div> <div id="col3">
function activateValidators() { $section =& $this->getSection(); $form =& $section->getForm(); $formValidator =& $form->getValidator(); $validators =& $this->getValidators(); for ($i = 0; $i < count($validators); $i++) { $validator =& $validators[$i]; // var_dump('validation_errors_'.$form->getName().'_'.$section->getTableName().'::'.$section->getLabel()); $params = array('id' => $this->_getValidatorId($validator['criteria']), 'message' => $validator['message'], 'form' => $form->getName(), 'append' => 'validation_errors_' . $form->getName() . '_' . $section->getTableName() . '::' . $section->getLabel(), 'halt' => $validator['halt']); // validierung starten smarty_function_validate($params, $formValidator); } }
<tr> <td> <?php echo $this->_tpl_vars['help_register_sectorname']; ?> Sector name:</td> <td><input type='text' name='sector_name' value='<?php echo is_array($_tmp = @$this->_tpl_vars['sector_name']) ? $this->_run_mod_handler('default', true, $_tmp) : smarty_modifier_default($_tmp); ?> ' size='30' maxlength='30'></td> </tr> <?php echo smarty_function_validate(array('field' => 'planet_name', 'criteria' => 'notEmpty', 'message' => '<tr class="false"><td colspan="2"><li>Your planet name cannot be empty</td></tr>'), $this); ?> <?php echo smarty_function_validate(array('field' => 'planet_name', 'criteria' => 'isCustom', 'function' => 'validate_planet', 'message' => '<tr class="false"><td colspan="2"><li>Planet name is already registered</td></tr>'), $this); ?> <tr> <td> <?php echo $this->_tpl_vars['help_register_planetname']; ?> Planet name:</td> <td><input type='text' name='planet_name' value='<?php echo is_array($_tmp = @$this->_tpl_vars['planet_name']) ? $this->_run_mod_handler('default', true, $_tmp) : smarty_modifier_default($_tmp); ?> ' size='30' maxlength='30'></td> </tr> <tr><td colspan=2> </td></tr> <tr>
function content_507566640796e5_91404009($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <?php echo $_smarty_tpl->tpl_vars['info']->value; ?> <form accept-charset="utf-8" method="post" enctype="multipart/form-data" class="contact-form" action=""> <ul> <li><label for="name">Location Name:</label></li> <li><input type="text" class="name" id="name" value="" name="name"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_name", 'message' => "Location Name field cant be empty"), $_smarty_tpl); ?> </span> </li> <li><label for="state">State</label></li> <li> <select name="state" id="state" class="required" > <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <li><span class="contact-button"><input type="submit" value="Add Location" name="submit-button"> </span></li> </ul> </form> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '1271950756663ee6d48-19722166'); content_507566640749c3_50666887($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_501fa7b8a3c893_32763307($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header3.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <br/> <form id="form_name" action="" method="post"> <ul> <li> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail entered is already in use!"), $_smarty_tpl); ?> </span> <label for="firstname">Firstname</label> <input type="text" name="firstname" id="firstname"/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_firstname", 'message' => "Firstname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="lastname">Lastname</label> <input type="text" name="lastname" id="lastname" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_lastname", 'message' => "Lastname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="mobile_number">Mobile Number</label> <input type="text" name="mobile_number" id="mobile_number" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li> <label for="email">Email </label> <input type="text" name="email" id="email_" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail is not valid"), $_smarty_tpl); ?> </span> </li> <li> <label for="role">Roles </label> <select name="role" id="category" class="required"> <option selected="selected" value="11">Select Role</option> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['item']->value->name); ?> </option> <?php } ?> </select> </li> <li> <label for="language">Language</label> <select name="language" id="language" class="required"> <option selected="selected" value="11">Select Language</option> <?php $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['lang']->_loop = false; $_from = $_smarty_tpl->tpl_vars['language']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value) { $_smarty_tpl->tpl_vars['lang']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['lang']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['lang']->value->name); ?> </option> <?php } ?> </select> </li> <li> <label for="password">Password</label> <input type="password" name="password" id="password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_password", 'message' => "Password cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="confirm_password">Confirm Password</label> <input type="password" name="confirm_password" id="confirm_password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_confirm_password", 'message' => "Password entered did not match!"), $_smarty_tpl); ?> </span> </li> <li> <input type="submit" name="submit" value="Register" /> </li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '20130501fa7b86fffe3-98963315'); content_53340c88b8a225_30261804($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_5074163ee917b7_39978900($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header3.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['info']->value; ?> <form accept-charset="utf-8" method="post" enctype="multipart/form-data" class="contact-form" action=""> <ul> <li><label for="name">Hospital Name:</label></li> <li><input type="text" class="name" id="name" value="" name="name"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_name", 'message' => "Hospital Name field cant be empty"), $_smarty_tpl); ?> </span> </li> <li><label for="state">Location</label></li> <li> <select name="state" id="state" class="required" onchange="getArea()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select></li> <li class="desc" id="area"> </li> <li><span class="contact-button"><input type="submit" value="Add Hospital" name="submit-button"> </span></li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '287365074163ee09b70-10299886'); content_53762d20e31780_87039723($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_506be8d36c67d6_73270617($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="slider-wrapper"> <div class="clear slider-bg-center"> <div class="slider-bg-left"> <div class="slider-bg-right"> <div id="slider-wrapper"> <div id="slider"> <img src="images/slider_img1.jpg" alt="" /> <img src="images/slider_img2.png" alt="" /> <img src="images/slider_img3.jpg" alt="" /> </div> </div> </div> </div> </div> </div> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="index.php"><span>Home</span></a></li> <li class="item1"><a href="about.php"><span>About m-Health</span></a></li> <li class="item1"><a href="services.php"><span>m-Health Services</span></a></li> <li class="item1"><a href="contact.php"><span>Contact m-Health</span></a></li> <li class="item1"><a href="login.php"><span>Login</span></a></li> </ul> </div> </div> </div> </div> </div> <?php echo $_smarty_tpl->getSubTemplate("side.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <style type="text/css"> .desc { display: none; } .opt { padding: 10px;} </style> <form id="form_name" action="" method="post" enctype="multipart/form-data"> <ul> <li> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail entered is already in use!"), $_smarty_tpl); ?> </span> <label for="firstname">Firstname</label> <input type="text" name="firstname" id="firstname"/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_firstname", 'message' => "Firstname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="lastname">Lastname</label> <input type="text" name="lastname" id="lastname" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_lastname", 'message' => "Lastname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="mobile_number">Mobile Number</label> <input type="text" name="mobile_number" id="mobile_number" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li> <label for="email">Email </label> <input type="text" name="email" id="email_" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail is not valid"), $_smarty_tpl); ?> </span> </li> <li> <label for="Profile Summary">Profile Summary</label> <textarea name="profile" id="profile"></textarea> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_profile", 'message' => "Doctor's profile cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="pix">Upload Picture </label> <input type="file" name="pix" id="pix" /> </li> <li> <label for="state">Location</label> <select name="state" id="state" class="required" onchange="getArea()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> </li> <li class="desc" id="area"> </li> <li> <label for="password">Password</label> <input type="password" name="password" id="password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_password", 'message' => "Password cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="confirm_password">Confirm Password</label> <input type="password" name="confirm_password" id="confirm_password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_confirm_password", 'message' => "Password entered did not match!"), $_smarty_tpl); ?> </span> </li> <li> <label for="option">Choose Medical Category</label> <li class="opt"><label><input type="radio" name="medical" value="specialist" id="specialist"><strong>Specialist</strong></label></li> <li class="opt"><label><input type="radio" name="medical" value="pharmacist" id="pharmacist"><strong>Pharmacist</strong></label></li> <div id="specialist_form" class="desc"> <li><label for="state">Specialist</label></li> <li><select name="specialist" id="specialist" class="required"> <option selected="selected" value="0" >Select Specialist</option> <?php $_smarty_tpl->tpl_vars['specialist'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['specialist']->_loop = false; $_from = $_smarty_tpl->tpl_vars['specialists']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['specialist']->key => $_smarty_tpl->tpl_vars['specialist']->value) { $_smarty_tpl->tpl_vars['specialist']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['specialist']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['specialist']->value->name); ?> </option> <?php } ?> </select></li> <li><label for="state">Hospital</label></li> <li><select name="hospitals" id="hospitals" class="required"> <option selected="selected" value="0" >Select Hospital</option> <?php $_smarty_tpl->tpl_vars['hospital'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['hospital']->_loop = false; $_from = $_smarty_tpl->tpl_vars['hospitals']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['hospital']->key => $_smarty_tpl->tpl_vars['hospital']->value) { $_smarty_tpl->tpl_vars['hospital']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['hospital']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['hospital']->value->name); ?> </option> <?php } ?> </select></li> </div> <div id="pharmacist_form" class="desc"> <li> <label for="lastname">Pharmacy Name</label> <input type="text" name="pharmacy" id="pharmacy" /> </li> <li> <label for="lastname">Pharmacy Certified Number</label> <input type="text" name="certify" id="certify" /> </li> </div> </li> <li> <input type="submit" name="submit" value="Submit Application" /> </li> </ul> </form> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '3583506be8d3490963-55853343'); content_50f91dc3bcdae9_41618402($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_5229c4a9ac9448_66397139($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <?php echo $_smarty_tpl->tpl_vars['info']->value; ?> <form accept-charset="utf-8" method="post" enctype="multipart/form-data" class="contact-form" action=""> <ul> <li><label for="name">Hospital Name:</label></li> <li><input type="text" class="name" id="name" value="" name="name"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_name", 'message' => "Hospital Name field cant be empty"), $_smarty_tpl); ?> </span> </li> <li><label for="state">Location</label></li> <li> <select name="state" id="state" class="required" onchange="getArea()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select></li> <li class="desc" id="area"> </li> <li><span class="contact-button"><input type="submit" value="Add Hospital" name="submit-button"> </span></li> </ul> </form> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '6120098425229c4a9a28e60-02428190'); content_5229c4a9ac4478_83954919($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_5023bf71030c29_13757819($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <br/> <style type="text/css"> .desc { display: none; } .opt { padding: 10px;} </style> <a href="report.php"><strong> Back To Report</strong> </a> <br> <form id="form_name" action="" name="form_name" method="post"> <ul> <li> <label for="name">Name:</label> <?php echo $_smarty_tpl->tpl_vars['data']->value['name']; ?> </li> <li> <label for="name">Registration ID:</label> <?php echo $_smarty_tpl->tpl_vars['data']->value['regid']; ?> </li> <li> <label for="name">E-mail:</label> <?php echo $_smarty_tpl->tpl_vars['data']->value['email']; ?> </li> <li> <label for="name">Date Called:</label> <?php echo $_smarty_tpl->tpl_vars['data']->value['date']; ?> </li> <li> <label for="history">History</label> <input type="text" name="history" id="history"/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_history", 'message' => "History Field cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="complaint">Complaint</label> <input type="text" name="complaint" id="complaint" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_complaint", 'message' => "Complaint Field cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="diagnosis">Diagnosis</label> <input type="text" name="diagnosis" id="diagnosis" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_diagnosis", 'message' => "Diagnosis Field cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="intervention">Intervention</label> <textarea cols = "4" rows = "10" name="intervention" id="intervention" /> </textarea> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_intervention", 'message' => "History Field cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="option">Medication</label> <li class="opt"><label><input type="radio" name="drug" value="away" id="prescribe"><strong>Choose Location</strong></label></li> <li class="opt"><label><input type="radio" name="drug" value="home" id="prescribe2"><strong>User Home Location</strong></label></li> </li> <li> <div id="opt_prescribe" class="desc"> <label for="state" id="state3_l">Location</label> <select name="state3" id="state3" class="required" onchange="getArea3()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <div class="desc" id="area3"> </div > <!--<div class="desc" id="names3"> </div > --> <div class="desc" id="medication"> <label style="display:none" id = "l_medication" for="medication">Medication Name</label> <input name="medication" id="medication_name"/> <label style="display:none" id = "l_direction" for="medication">Usage Direction</label> <input class="desc" name="direction" id="direction"/> <label style="display:none" class="" id = "l_period" for="period">Period(Days)</label> <input class="desc" name="period" id="period"/> <a id="medicate">Add Medication</a> </div> <div class="desc" id="show_med"> </div> </div> </li> <li> <li> <label for="option">Choose Report Type</label> <li class="opt"><label><input type="radio" name="report" value="consultation" id="prescription"><strong>Consultation</strong></label></li> <li class="opt"><label><input type="radio" name="report" value="referral" id="appointment"><strong>Referral</strong></label></li> <li class="opt"><label><input type="radio" name="report" value="admission" id="admission"><strong>Admission</strong></label></li> </li> <li> <div id="opt_appointment" class="desc"> <label for="state">Specialist</label> <select name="specialist" id="specialist" class="required" onchange="getState()"> <option selected="selected" value="0" >Select Specialist</option> <?php $_smarty_tpl->tpl_vars['specialist'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['specialist']->_loop = false; $_from = $_smarty_tpl->tpl_vars['specialists']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['specialist']->key => $_smarty_tpl->tpl_vars['specialist']->value) { $_smarty_tpl->tpl_vars['specialist']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['specialist']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['specialist']->value->name); ?> </option> <?php } ?> </select> <br> <div id="opt_state" class="desc"> <label for="state">Location</label> <select name="state" id="state" class="required" onchange="getArea()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <li class="desc" id="area"> </li> <li class="desc" id="names"> </li> </div></div> </li> <div id="opt_admission" class="desc"> <label for="state">Location</label> <select name="state1" id="state1" class="required" onchange="getArea1()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <div class="desc" id="area1"> </div > <div class="desc" id="names1"> </div > </div> <br> <input type="submit" name="submit" value="Update Prescription" /> </ul> </form> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '161125023bf70dfdba3-34054156'); content_5092314bb36e66_37636780($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_5229c4c8a9d787_07834409($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include '/Applications/MAMP/htdocs/mhealth/lib/smarty/libs/plugins/modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <br/> <form id="form_name" action="" method="post"> <ul> <li> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail entered is already in use!"), $_smarty_tpl); ?> </span> <label for="firstname">Firstname</label> <input type="text" name="firstname" id="firstname"/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_firstname", 'message' => "Firstname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="lastname">Lastname</label> <input type="text" name="lastname" id="lastname" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_lastname", 'message' => "Lastname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="mobile_number">Mobile Number</label> <input type="text" name="mobile_number" id="mobile_number" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li> <label for="email">Email </label> <input type="text" name="email" id="email_" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail is not valid"), $_smarty_tpl); ?> </span> </li> <li> <label for="role">Roles </label> <select name="role" id="category" class="required"> <option selected="selected" value="11">Select Role</option> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['item']->value->name); ?> </option> <?php } ?> </select> </li> <li> <label for="password">Password</label> <input type="password" name="password" id="password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_password", 'message' => "Password cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="confirm_password">Confirm Password</label> <input type="password" name="confirm_password" id="confirm_password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_confirm_password", 'message' => "Password entered did not match!"), $_smarty_tpl); ?> </span> </li> <li> <input type="submit" name="submit" value="Register" /> </li> </ul> </form> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '20242758385229c4c89dbcb7-11221589'); content_5229c4c8a98523_83732217($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }