<h1>Email Template</h1> <a href="<?php echo g_url('emailtemplate/'); ?> ">< back</a> <br /> <ul class="email"> <br /> <?php foreach ($attrs as $key => $value) { ?> <li class="attribute"><?php echo $key . ": " . stripslashes($value); ?> </li> <?php } ?> </ul> <br /> <br /> <a href="<?php echo g_url('emailtemplate/edit/' . $attrs->id); ?> ">Edit</a> <a href="<?php echo g_url('emailtemplate/delete/' . $attrs->id); ?> ">Delete</a>
public function updateaccesspricing() { $this->load->model("locationmodel", "", true); $this->locationmodel->updateAccessPricing($_POST); redirect(g_url("/admin/index/dashboard")); }
<?php if ($invoices) { foreach ($invoices as $invoice) { ?> <tr> <td class="date"><?php echo Date_Difference::getString(new DateTime(date("m/d/Y H:i:s", $invoice->date))); ?> </td> <td class="status"> </td> <td class="amount"><?php echo format_money($invoice->total_in_cents); ?> </td> <td class="invoice"><a href="<?php echo g_url('billing/account/getinvoice/' . $invoice->account_code . '/' . $invoice->id); ?> "><?php echo $invoice->invoice_number == "" ? "Not yet invoiced" : $invoice->invoice_number; ?> </a></td> </tr> <?php } //end foreach } else { echo "No invoices yet!"; } ?> </table>
* listing of email templates view template * * returns a list of email templates as data * * @joshcampbell * @view template */ ?> <h1>Email Templates</h1> <a href="<?php echo g_url('emailtemplate/edit'); ?> ">Create new template</a> <br /> <br /> <ul> <?php foreach ($templates as $template) { ?> <li class="emailtemplate"><a href="<?php echo g_url('emailtemplate/get/' . $template->id); ?> "><?php echo $template->name; ?> </a></li> <?php } ?> </ul>