/bbcsadmin/templates_c/59579fcedc3ad3bdeb70fcf7057fef5f3af77736.file.member_messages.tpl.php
https://gitlab.com/zohaibsaleem/shipcliq · PHP · 89 lines · 79 code · 10 blank · 0 comment · 3 complexity · 11bb1eb7b7e5ae4e5ce4f32efa285bf7 MD5 · raw file
- <?php /* Smarty version Smarty-3.0.7, created on 2015-04-30 17:43:37
- compiled from "/home/www/blablaclone/bcadmin/templates/member/member_messages.tpl" */ ?>
- <?php /*%%SmartyHeaderCode:156505181955421c710c6a49-06816696%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
- $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '59579fcedc3ad3bdeb70fcf7057fef5f3af77736' =>
- array (
- 0 => '/home/www/blablaclone/bcadmin/templates/member/member_messages.tpl',
- 1 => 1395812528,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '156505181955421c710c6a49-06816696',
- 'function' =>
- array (
- ),
- 'has_nocache_code' => false,
- )); /*/%%SmartyHeaderCode%%*/?>
- <div class="contentcontainer" id="tabs">
- <div class="headings">
- <h2 class="left">Edit Member Message</h2>
- </div>
- <div id="tabs-1" class="contentbox">
- <?php if ($_smarty_tpl->getVariable('var_msg')->value!=''){?>
- <div class="status error" id="errormsgdiv">
- <p class="closestatus"><a href="javascript:void(0);" title="Close" onclick="hidemessage();">x</a></p>
- <p><img src="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tpanel_img'];?>
- icons/icon_error.png" title="Success" />
- <?php echo $_smarty_tpl->getVariable('var_msg')->value;?>
- </p>
- </div>
- <div></div>
- <?php }?>
- <?php if ($_GET['var_msg_error']!=''){?>
- <div class="status success" id="errormsgdiv">
- <p class="closestatus"><a href="javascript:void(0);" title="Close" onclick="hidemessage();">x</a></p>
- <p><img src="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tpanel_img'];?>
- icons/icon_success.png" title="Success" />
- <?php echo $_smarty_tpl->getVariable('var_msg_error')->value;?>
- </p>
- </div>
- <?php }?>
- <?php if ($_smarty_tpl->getVariable('var_msg_mow')->value!=''){?>
- <div class="status success" id="errormsgdiv">
- <p class="closestatus"><a href="javascript:void(0);" title="Close" onclick="hidemessage();">x</a></p>
- <p><img src="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tpanel_img'];?>
- icons/icon_success.png" title="Success" />
- <?php echo $_smarty_tpl->getVariable('var_msg_mow')->value;?>
- </p>
- </div>
- <div></div>
- <?php }?>
-
- <form id="frmadd" name="frmadd" action="index.php?file=m-member_messages_a" method="post" enctype="multipart/form-data">
- <input type="hidden" name="iMessageId" id="iMessageId" value="<?php echo $_smarty_tpl->getVariable('iMessageId')->value;?>
- " />
- <input type="hidden" name="action" id="action" value="<?php echo $_smarty_tpl->getVariable('mode')->value;?>
- " />
-
- <p>
- <label for="textfield"><strong>Message :</strong></label>
- <textarea name="Data[tMessage]" id="tMessage" class="inputbox" title="Message"><?php echo $_smarty_tpl->getVariable('db_records')->value[0]['tMessage'];?>
- </textarea>
- </p>
-
- <input type="submit" value="Edit Message" class="btn" onclick="return validate(document.frmadd);" title="Edit"/>
- <input type="button" value="Cancel" class="btnalt" title="Cancel" onclick="redirectcancel();"/>
-
- </form>
-
- </div>
- </div>
- <script>
- function redirectcancel()
- {
- window.location="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tpanel_url'];?>
- /index.php?file=m-member_messages&mode=view";
- return false;
- }
- function hidemessage(){
- jQuery("#errormsgdiv").slideUp();
- }
- </script>