483 lines
22 KiB
PHP
483 lines
22 KiB
PHP
<?php
|
|
/* Smarty version 4.3.0, created on 2024-04-05 14:21:08
|
|
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/smsserver.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '4.3.0',
|
|
'unifunc' => 'content_660fecb47589e4_83393760',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'd0fdb61301e73fdf80edff648ba60746b8ca3d74' =>
|
|
array (
|
|
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/smsserver.tpl',
|
|
1 => 1705240209,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_660fecb47589e4_83393760 (Smarty_Internal_Template $_smarty_tpl) {
|
|
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
|
|
?>
|
|
<div class="container-fluid" style="background-color:#333333">
|
|
<div class="row">
|
|
<div class="col-md-2">
|
|
<div class="fmenu">
|
|
<table class="no-style sortable full">
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiterlist_a']->value, 'mal');
|
|
$_smarty_tpl->tpl_vars['mal']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['mal']->value) {
|
|
$_smarty_tpl->tpl_vars['mal']->do_else = false;
|
|
?>
|
|
<tr>
|
|
<td nowrap="nowrap" style="font-size:10pt;color:#ddd" onclick="window.location='?s=smsserver&id=<?php echo $_smarty_tpl->tpl_vars['mal']->value['id'];?>
|
|
'"><?php echo $_smarty_tpl->tpl_vars['mal']->value['name'];?>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!-- ///////////////// Ungelesene Nachrichten -->
|
|
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
|
|
<?php if ($_smarty_tpl->tpl_vars['notread']->value > 0) {?>
|
|
<div class="col-md-10">
|
|
<div class="panel" style="border-color: #115270">
|
|
<header class="panel-heading" style="background-color:#115270;color: #fff">eingehende SMS-Nachrichten </header>
|
|
<div class="panel-body" style="min-height:20px;max-height:600px;overflow-y: scroll;background-color: #222">
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['smsnotread']->value, 'smsnr');
|
|
$_smarty_tpl->tpl_vars['smsnr']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['smsnr']->value) {
|
|
$_smarty_tpl->tpl_vars['smsnr']->do_else = false;
|
|
?>
|
|
<div class="smsnr">
|
|
<table style="width: 100%">
|
|
<?php if ($_smarty_tpl->tpl_vars['smsnr']->value['look'] == 1) {?>
|
|
<tr style="background-color:darkred;color:#fff;max-height: 4px">
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['smsnr']->value['gelesen'] == 1) {?>
|
|
<tr style="background-color:#115270;color:#fff;max-height: 4px">
|
|
<?php } else { ?>
|
|
<tr style="background-color:darkorange;color:#fff;max-height: 4px">
|
|
<?php }?>
|
|
<td style="width:190px;font-size:10pt"> von: <?php echo $_smarty_tpl->tpl_vars['smsnr']->value['e_name'];?>
|
|
</td>
|
|
<td align="right" style="width:130px;font-size:9pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsnr']->value['senddate'],"%d.%m.%y - %H:%M");?>
|
|
Uhr </td>
|
|
<td class="active" align="right" style="width:130px;font-size:11pt;align:left">
|
|
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&lid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
|
|
" onclick="return confirm('Möchten sie wirklich löschen ?')">
|
|
<i class="fa fa-trash" title="Nachricht löschen"></i>
|
|
</a>
|
|
<?php if ($_smarty_tpl->tpl_vars['smsnr']->value['look'] == 1) {?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&zid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
|
|
">
|
|
<i class="fa fa-lock" title="Nachricht schützen" style="color:darkred"></i>
|
|
</a>
|
|
<?php } else { ?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&sid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
|
|
">
|
|
<i class="fa fa-unlock" title="Nachricht schützen"></i>
|
|
</a>
|
|
<?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['smsnr']->value['gelesen'] == 1) {?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&pid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
|
|
" onclick="return confirm('Möchten sie wirklich als NEU markieren?')">
|
|
<i class="fa fa-check" title="als NEU markieren" style="color:green"></i>
|
|
</a>
|
|
<?php } else { ?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&rid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
|
|
" onclick="return confirm('Möchten sie wirklich als gelesen markieren?')">
|
|
<i class="fa fa-check" title="als gelesen markieren"></i>
|
|
</a>
|
|
<?php }?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<span><?php echo $_smarty_tpl->tpl_vars['smsnr']->value['text'];?>
|
|
</span>
|
|
|
|
</div>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<!-- ///////////////// Ungelesene Nachrichten -->
|
|
<div class="col-md-5">
|
|
<div class="panel panel-warning">
|
|
<header class="panel-heading"><h2 class="panel-title">noch zu senden ...</span></h2></header>
|
|
<div class="panel-body" style="min-height:20px;max-height:600px;overflow-y: scroll;">
|
|
<table class="table table-success">
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['smsnotsend']->value, 'smsnr');
|
|
$_smarty_tpl->tpl_vars['smsnr']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['smsnr']->value) {
|
|
$_smarty_tpl->tpl_vars['smsnr']->do_else = false;
|
|
?>
|
|
<tr>
|
|
<td class="warning" nowrap="nowrap" style="width:130px;font-size:8pt">An: <?php echo $_smarty_tpl->tpl_vars['smsnr']->value['e_name'];?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="active" align="left" style="font-size:8pt;align:left"><?php echo $_smarty_tpl->tpl_vars['smsnr']->value['text'];?>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-5">
|
|
<div class="panel panel-danger">
|
|
<header class="panel-heading"><h2 class="panel-title">Fehler beim senden ...</span></h2></header>
|
|
<div class="panel-body" style="min-height:20px;max-height:600px;overflow-y: scroll;">
|
|
|
|
<table class="table table-success">
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sms_status']->value, 'sms_stat');
|
|
$_smarty_tpl->tpl_vars['sms_stat']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sms_stat']->value) {
|
|
$_smarty_tpl->tpl_vars['sms_stat']->do_else = false;
|
|
?>
|
|
<tr>
|
|
<td class="danger" nowrap="nowrap" style="width:130px;font-size:8pt">An: <?php echo $_smarty_tpl->tpl_vars['sms_stat']->value['e_name'];?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="active" align="left" style="font-size:8pt;align:left"><?php echo $_smarty_tpl->tpl_vars['sms_stat']->value['text'];?>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ///////////////// rechte seite -->
|
|
<?php }?>
|
|
<!-- /// rechte seite sms eingabe anzeigen-->
|
|
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 2) {?>
|
|
<div class="col-md-10">
|
|
<div class="panel panel-warning">
|
|
<header class="panel-heading"><h2 class="panel-title"><?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
|
|
anrufen.</span></h2></header>
|
|
<div class="panel-body">
|
|
<table>
|
|
<tr><td style="width:500px;font-size:16pt">Anruf wird hergestellt</span></a></td></tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="col-md-7">
|
|
<div class="panel panel-warning">
|
|
<header class="panel-heading"><h2 class="panel-title">SMS an <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
|
|
</span></h2></header>
|
|
<div class="panel-body">
|
|
<form action="" method="post">
|
|
<table>
|
|
<tr> </tr>
|
|
<tr>
|
|
<td><textarea name="text" rows="7" cols="75"></textarea></td>
|
|
</tr><tr>
|
|
<td><strong>eine SMS = 150 Zeichen !!!!!! maximal 450 Zeichen (3xSMS)</strong></td>
|
|
<tr><input type="hidden" name="nummer" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['handy'];?>
|
|
"/> </tr>
|
|
<tr></tr>
|
|
</table>
|
|
<input type="submit" name="testsave" value="SMS senden" >
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-2">
|
|
<div class="panel panel-warning">
|
|
<header class="panel-heading"><h2 class="panel-title"><?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
|
|
</span></h2></header>
|
|
<div class="panel-body">
|
|
<table>
|
|
<tr>
|
|
<td style="width:99px;font-size:98pt"><a href="?s=smsserver&adress=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
|
|
" onclick="return confirm('Möchten sie wirklich anrufen ?')"><span class="fa fa-phone-square fa-6"></span></a></td></tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php }?>
|
|
<!-- ///////////////////////////////// komplertt nach mitarbeiter -->
|
|
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 1) {?>
|
|
|
|
<div class="col-md-10">
|
|
<div class="panel panel-warning">
|
|
<header class="panel-heading"><h2 class="panel-title">SMS an <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
|
|
</span></h2></header>
|
|
<div class="panel-body">
|
|
<form action="" method="post">
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<input type="text" style="width:600px;" name="text" placeholder="SMS-Text">
|
|
</td>
|
|
<td>
|
|
<input type="hidden" name="nummer" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['handy'];?>
|
|
"/>
|
|
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
|
|
"/>
|
|
<input type="submit" name="sendcms" value="SMS senden" >
|
|
</td>
|
|
<td style="align:right">
|
|
<a href="?s=m_tel&adress=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
|
|
" onclick="return confirm('Möchten sie wirklich anrufen ?')">
|
|
<span class="fa fa-phone-square fa-2x"></span></a>
|
|
</td>
|
|
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-10">
|
|
<div class="panel panel-default">
|
|
<header class="panel-heading"><h2 class="panel-title">SMS-Archiv <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
|
|
</span></h2></header>
|
|
<div class="panel-body" style="min-height:20px;max-height:600px;overflow-y: scroll;">
|
|
<table class="table table-condensed">
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sms_data']->value, 'smsdata');
|
|
$_smarty_tpl->tpl_vars['smsdata']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['smsdata']->value) {
|
|
$_smarty_tpl->tpl_vars['smsdata']->do_else = false;
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['incoming'] == 1) {?>
|
|
<tr>
|
|
<td class="success" nowrap="nowrap" style="font-size:10pt;align:right">von: <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['e_name'];?>
|
|
</td>
|
|
<td class="active" align="right" style="width:130px;font-size:11pt;align:left">
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&lid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
|
|
" onclick="return confirm('Möchten sie wirklich löschen ?')">
|
|
<i class="fa fa-trash" title="Nachricht löschen"></i>
|
|
</a>
|
|
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['look'] == 1) {?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&zid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
|
|
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
|
|
">
|
|
<i class="fa fa-lock" title="Nachricht freigeben"></i>
|
|
</a>
|
|
<?php } else { ?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&sid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
|
|
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
|
|
">
|
|
<i class="fa fa-unlock" title="Nachricht schützen"></i>
|
|
</a>
|
|
<?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['read'] == 1) {?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&rid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
|
|
" onclick="return confirm('Möchten sie wirklich als gelesen markieren?')">
|
|
<i class="fa fa-check" title="als gelesen markieren"></i>
|
|
</a>
|
|
<?php }?>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="active" align="left" style="font-size:10pt;align:left"><?php echo $_smarty_tpl->tpl_vars['smsdata']->value['text'];?>
|
|
</td>
|
|
<td class="active" nowrap="nowrap" style="width:130px;font-size:9pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsdata']->value['senddate'],"%d.%m.%y - %H:%M");?>
|
|
Uhr </td>
|
|
</tr>
|
|
|
|
<?php } else { ?>
|
|
<tr>
|
|
<td class="info" nowrap="nowrap" style="font-size:8pt">An: <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['e_name'];?>
|
|
|
|
|
|
versendet von <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['von'];?>
|
|
|
|
</td>
|
|
<td class="active" align="right" style="width:130px;font-size:10pt;align:left">
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 1) {?>
|
|
<i class="fa fa-spinner fa-pulse fa-1x" title="versendet, wartet auf Bericht"></i></a>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 2) {?>
|
|
<i class="fa fa-check-square-o fa-1x" title="zugestellt <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsdata']->value['statusdate'],"%d.%m.%y - %H:%M");?>
|
|
Uhr "></i>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 3) {?>
|
|
<i class="fa fa-exclamation-triangle" title="MSG. unzustellbar"></i></a>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 4) {?>
|
|
<i class="fa fa-exclamation-triangle" title="MSG. unzustellbar"></i></a>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 8) {?>
|
|
<i class="fa fa-share-square-o fa-1x" title="MSG. versendet"></i></a>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 20) {?>
|
|
<i class="fa fa-clock-o fa-1x" title="wartet auf senden."></i></a>
|
|
<?php }?>
|
|
<a> </a>
|
|
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&lid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
|
|
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
|
|
" onclick="return confirm('Möchten sie wirklich löschen ?')">
|
|
<i class="fa fa-trash" title="Nachricht löschen"></i>
|
|
</a>
|
|
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['look'] == 1) {?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&zid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
|
|
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
|
|
">
|
|
<i class="fa fa-lock" title="Nachricht freigeben"></i>
|
|
</a>
|
|
<?php } else { ?>
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&sid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
|
|
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
|
|
">
|
|
<i class="fa fa-unlock" title="Nachricht schützen"></i>
|
|
</a>
|
|
<?php }?>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="active" align="left" style="font-size:10pt;align:left"><?php echo $_smarty_tpl->tpl_vars['smsdata']->value['text'];?>
|
|
</td>
|
|
<td class="active" nowrap="nowrap" style="width:130px;font-size:9pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsdata']->value['senddate'],"%d.%m.%y - %H:%M");?>
|
|
Uhr </td>
|
|
</tr>
|
|
<?php }?>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ///////////////////////////////// -->
|
|
<!--
|
|
<div class="col-md-10">
|
|
<div class="panel panel-warning">
|
|
<header class="panel-heading"><h2 class="panel-title">SMS-Archiv <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
|
|
</span></h2></header>
|
|
<div class="panel-body" style="height:755px;overflow-y: scroll;">
|
|
<table class="table table-striped table-bordered">
|
|
<tbody>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sms_data']->value, 'smsdata');
|
|
$_smarty_tpl->tpl_vars['smsdata']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['smsdata']->value) {
|
|
$_smarty_tpl->tpl_vars['smsdata']->do_else = false;
|
|
?>
|
|
<tr>
|
|
<td nowrap="nowrap" style="font-size:8pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsdata']->value['logtime'],"%d.%m.%y - %H:%M");?>
|
|
Uhr - an: <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['e_name'];?>
|
|
|
|
|
|
versendet von <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['von'];?>
|
|
|
|
|
|
(über Gateway von <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['sender'];?>
|
|
)</span>
|
|
</td>
|
|
<td nowrap="nowrap" style="font-size:8pt;align:right"><?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
|
|
</span>
|
|
</td>
|
|
<td style="font-size:11pt;align:left">
|
|
<strong> </strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-size:11pt;align:left">
|
|
<strong><?php echo $_smarty_tpl->tpl_vars['smsdata']->value['text'];?>
|
|
</strong>
|
|
</td>
|
|
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 2) {?>
|
|
<td style="font-size:12pt">
|
|
<span class="fa fa-check-square-o"></span>
|
|
<span class="fa fa-check-square-o"></span>
|
|
</td>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 1) {?>
|
|
<td style="font-size:12pt">
|
|
<span class="fa fa fa-share-square-o"></span>
|
|
<span class="fa fa-spinner fa-pulse"></span>
|
|
</td>
|
|
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 8) {?>
|
|
<td style="font-size:12pt">
|
|
<span class="fa fa fa-share-square-o"></span>
|
|
<span class="fa fa-question-circle-o"></span>
|
|
</td>
|
|
<?php } else { ?>
|
|
<td style="font-size:12pt">
|
|
<span class="fa fa-question-circle-o"></span>
|
|
<span class="fa fa-question-circle-o"></span>
|
|
</td>
|
|
<?php }?>
|
|
|
|
<td style="font-size:11pt;align:left">
|
|
<strong> </strong>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
-->
|
|
<?php }?>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
|
.fmenu {
|
|
background: #222222;
|
|
color: gray;
|
|
padding: 5px;
|
|
min-height: 10px;
|
|
max-height: auto;
|
|
border: 1px solid #115270;
|
|
border-radius: 4px;
|
|
margin: 2px;
|
|
}
|
|
.smsnr {
|
|
background: #222222;
|
|
color: #fff;
|
|
padding: 5px;
|
|
min-height: 10px;
|
|
max-height: auto;
|
|
border: 1px solid #115270;
|
|
border-radius: 4px;
|
|
margin: 2px;
|
|
}
|
|
</style>
|
|
<?php }
|
|
}
|