?> </th> <th><?php echo $q->phone_number; ?> </th> <th><?php echo $q->sms_content; ?> </th> <th><?php echo $q->arguments; ?> </th> <th title="<?php echo projekod_get_sms_template($q->template_id)[0]->content; ?> "> <a href="#template_edit" data-toggle="tab"><?php echo $q->template_id; ?> </a> </th> <th><?php if ($q->order_id == null) { echo 'Özel SMS'; } else { echo $q->order_id; } ?> </th>
<?php require __DIR__ . '/head.php'; $sms = projekod_get_sms_template(); projekod_add_to_sms_template(); ?> <div class="panel-group"> <form method="POST" action=""> <?php foreach ($sms as $s) { ?> <div class="panel panel-default"> <h4 class="panel-title"> <a href="#"><?php echo $s->name; ?> </a><hr/> </h4> <div class="panel-body"> <textarea rows="3" cols="100" class="form-control" name="templates[<?php echo $s->name; ?> ]"><?php echo $s->content; ?> </textarea> </div> </div> <?php }