/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

  1. <?php /* Smarty version Smarty-3.0.7, created on 2015-04-30 17:43:37
  2. compiled from "/home/www/blablaclone/bcadmin/templates/member/member_messages.tpl" */ ?>
  3. <?php /*%%SmartyHeaderCode:156505181955421c710c6a49-06816696%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. '59579fcedc3ad3bdeb70fcf7057fef5f3af77736' =>
  8. array (
  9. 0 => '/home/www/blablaclone/bcadmin/templates/member/member_messages.tpl',
  10. 1 => 1395812528,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '156505181955421c710c6a49-06816696',
  15. 'function' =>
  16. array (
  17. ),
  18. 'has_nocache_code' => false,
  19. )); /*/%%SmartyHeaderCode%%*/?>
  20. <div class="contentcontainer" id="tabs">
  21. <div class="headings">
  22. <h2 class="left">Edit Member Message</h2>
  23. </div>
  24. <div id="tabs-1" class="contentbox">
  25. <?php if ($_smarty_tpl->getVariable('var_msg')->value!=''){?>
  26. <div class="status error" id="errormsgdiv">
  27. <p class="closestatus"><a href="javascript:void(0);" title="Close" onclick="hidemessage();">x</a></p>
  28. <p><img src="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tpanel_img'];?>
  29. icons/icon_error.png" title="Success" />
  30. <?php echo $_smarty_tpl->getVariable('var_msg')->value;?>
  31. </p>
  32. </div>
  33. <div></div>
  34. <?php }?>
  35. <?php if ($_GET['var_msg_error']!=''){?>
  36. <div class="status success" id="errormsgdiv">
  37. <p class="closestatus"><a href="javascript:void(0);" title="Close" onclick="hidemessage();">x</a></p>
  38. <p><img src="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tpanel_img'];?>
  39. icons/icon_success.png" title="Success" />
  40. <?php echo $_smarty_tpl->getVariable('var_msg_error')->value;?>
  41. </p>
  42. </div>
  43. <?php }?>
  44. <?php if ($_smarty_tpl->getVariable('var_msg_mow')->value!=''){?>
  45. <div class="status success" id="errormsgdiv">
  46. <p class="closestatus"><a href="javascript:void(0);" title="Close" onclick="hidemessage();">x</a></p>
  47. <p><img src="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tpanel_img'];?>
  48. icons/icon_success.png" title="Success" />
  49. <?php echo $_smarty_tpl->getVariable('var_msg_mow')->value;?>
  50. </p>
  51. </div>
  52. <div></div>
  53. <?php }?>
  54. <form id="frmadd" name="frmadd" action="index.php?file=m-member_messages_a" method="post" enctype="multipart/form-data">
  55. <input type="hidden" name="iMessageId" id="iMessageId" value="<?php echo $_smarty_tpl->getVariable('iMessageId')->value;?>
  56. " />
  57. <input type="hidden" name="action" id="action" value="<?php echo $_smarty_tpl->getVariable('mode')->value;?>
  58. " />
  59. <p>
  60. <label for="textfield"><strong>Message :</strong></label>
  61. <textarea name="Data[tMessage]" id="tMessage" class="inputbox" title="Message"><?php echo $_smarty_tpl->getVariable('db_records')->value[0]['tMessage'];?>
  62. </textarea>
  63. </p>
  64. <input type="submit" value="Edit Message" class="btn" onclick="return validate(document.frmadd);" title="Edit"/>
  65. <input type="button" value="Cancel" class="btnalt" title="Cancel" onclick="redirectcancel();"/>
  66. </form>
  67. </div>
  68. </div>
  69. <script>
  70. function redirectcancel()
  71. {
  72. window.location="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tpanel_url'];?>
  73. /index.php?file=m-member_messages&mode=view";
  74. return false;
  75. }
  76. function hidemessage(){
  77. jQuery("#errormsgdiv").slideUp();
  78. }
  79. </script>