Viewing File: D:\INETPUB\VHOSTS\officespacebangalore.com\httpdocs\admin-1\contacts.php

<?php $title='Enquiries'; require_once __DIR__.'/_header.php';$rows=db()->query('SELECT * FROM contact ORDER BY cid DESC')->fetchAll();?><section class="admin-panel"><div class="panel-head"><h2>Customer enquiries</h2><p class="muted">Stored in the existing `contact` table.</p></div><div class="table-wrap"><table><thead><tr><th>Name</th><th>Contact</th><th>Subject</th><th>Message</th></tr></thead><tbody><?php foreach($rows as $c):?><tr><td><strong><?=e($c['name'])?></strong></td><td><?=e($c['email'])?><br><?=e($c['phone'])?></td><td><?=e($c['subject'])?></td><td><?=e($c['message'])?></td></tr><?php endforeach;?></tbody></table></div></section><?php require __DIR__.'/_footer.php'; ?>
Back to Directory File Manager