Пример #1
0
<div class="mid body">
	<table>
		<thead>
			<tr>
				<td>ID</td>
				<td>Name</td>
				<td>Last Updated</td>
				<td class="justr">Actions</td>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($data as $agreement) : ?>
			<tr>
				<td><?=leading_zeroes(element('agid',$agreement))?></td>
				<td><?=element('name',$agreement)?></td>
				<td><?=date_user(strtotime(element('tsUpdated',$agreement)))?></td>
				<td class="justr">
					<a href="<?=site_url('agreements/revisions/'.element('agid',$agreement))?>" class="button">View Revisions</a>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>

<div class="hide">
	<div id="dialogNewAgreement">
		<form>
			<label>Agreement Name</label>
			<input name="name"/>
		</form>
Пример #2
0
		
		<table>
			<thead>
				<tr>
					<td>Domain</td>
					<td>Renewal Date</td>
					<td>Actions</td>
				</tr>
			</thead>
			<tbody>
				<?php foreach ($domains as $domain=>$data) : ?>
				<tr>
					<td><?=$domain?></td>
					<td>
						<?php if (element('expiredate', $data)): ?>
						<?=date_user(strtotime(element('expiredate', $data)),false,null)?>
							<?php if (element('auto_renew', $data)): ?>
							<img src="<?=assets_url('images/global/icons/refresh_14.png')?>"/>
							<?php endif; ?>
						<?php endif; ?>
					</td>
					<td class="justr">
						<?php if ($data) : ?>
						<a href="<?=site_url('products/domain_names/domain/'.$domain)?>" class="button">View Registration</a>
						<?php else: ?>
						<a href="<?=site_url('products/domain_names/register/'.$domain)?>" class="button green">Transfer Domain</a>
						<?php endif; ?>
					</td>
				</tr>
				<?php endforeach; ?>
			</tbody>
Пример #3
0
				$msg = 'Ticket closed by '.profile_link($entry['status_pid']).'.';
				$class = 'closed';
				break;
			case 'waiting-client':
				$msg = 'Waiting for follow-up from client.';
				$class = 'waiting';
				break;
			case 'new':
			case 'waiting-agent':
				$msg = 'Waiting for follow-up from G LAB.';
				$class = 'waiting';
				break;
		}
	?>
	<div class="body mid entry action <?=$class?>">
		<div class="action_rt"><?=date_user(strtotime($entry['timestamp']))?></div>
		<?=$msg?>
	</div>
	<?php endforeach; ?>
	<form action="<?=site_url('communication/ticket_reply')?>" method="post">
	<div id="reply" class="body mid reply">
		<a name="reply"></a>
		<h4>Reply to <?=profile_link($ticket['pid'])?></h4>
		
		<input type="hidden" name="tiknum" value="<?=$ticket['tiknum']?>"/>
		<input type="hidden" name="tikid" value="<?=$ticket['tikid']?>"/>
		<input type="hidden" name="qid" value="<?=$ticket['qid']?>"/>
		
		<label for="msgsubject">Subject</label>
		<input type="text" name="subject" value="<?=(isset($entries[1])) ? $entries[1]['subject']: null ?>" id="msgsubject"/>
		
Пример #4
0
<table>
	<thead>
		<tr>
			<td>Transaction ID</td>
			<td>Timestamp</td>
			<td>Total Sale</td>
			<td>Error</td>
			<td>Actions</td>
		</tr>
	</thead>
	<tbody>
		<?php foreach ($errors as $error) : ?>
		<tr>
			<td><?=element('transid', $error)?></td>
			<td><?=date_user(element('timestamp', $error))?></td>
			<td class="justr"><?=number_format(element('amount', $error), 2)?></td>
			<td>Invalid invoice number (<?=element('ivid', $error)?>)</td>
			<td><button>Fix Error</button></td>
		</tr>
		<?php endforeach; ?>
	</tbody>
</table>
Пример #5
0
	</form>
	
	<?php if ($lead['notes_list'] != null && count($lead['notes_list']) > 0) : ?>
	<h5>Notes and Updates</h5>
	<table>
		<thead>
			<tr>
				<td>Date</td>
				<td>Created By</td>
				<td>Note</td>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($lead['notes_list'] as $note) : ?>
			<tr>
				<td><?=date_user(strtotime($note['event']->timestamp))?></td>
				<td><?=profile_link($note['event']->pid)?></td>
				<td><?=auto_typography(auto_link($note['note'],'url'))?></td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
	<?php endif; ?>
	
</div>
<hr/>
<?php endforeach; ?>

<script type="text/javascript">
	$(function() {
		$('#btn_addLead').click( function () {
Пример #6
0
<div class="mid header">
<h3><?=element('name',$data)?></h3>
<div class="floatr">
<a href="<?=site_url('agreements/revisions/'.element('agid',$data))?>" class="button">&lt; Back to Revisions</a>
</div>
<strong>Revised:</strong> <del datetime="<?=standard_date('DATE_W3C',strtotime(element('tsCreated',$data)))?>"><?=date_user(strtotime(element('tsCreated',$data)))?></del><br/>
<strong>Effective:</strong> <del datetime="<?=standard_date('DATE_W3C',strtotime(element('tsEffective',$data)))?>"><?=date_user(strtotime(element('tsEffective',$data)))?></del>
</div>
<div class="mid body">
<?=element('text',$data)?>
</div>
Пример #7
0
	</form>
	<table>
		<thead>
			<tr>
				<td>Order ID</td>
				<td>Account</td>
				<td>Date Ordered</td>
				<td>Order Status</td>
				<td class="justr">Actions</td>
			</tr>
		</thead>
		<tbody>
	<?php foreach ($orders as $order) : ?>
			<tr>
				<td><a href="<?=site_url('billing/order/'.element('orid',$order))?>"><strong><?=element('orid',$order)?></strong></a></td>
				<td><?=profile_link(element('eid',$order))?></td>
				<td><?=date_user(strtotime(element('tsCreated',$order)))?></td>
				<td class="status <?=element('status',$order)?>"><?=humanize(element('status',$order))?></td>
				<td class="justr">
					<a href="<?=site_url('billing/order/'.element('orid',$order))?>" class="button">View Order</a>
				</td>
			</tr>
	<?php endforeach; ?>
	<?php if (!isset($order)) : ?>
			<tr>
				<td colspan="8">No orders found.</td>
			</tr>
	<?php endif; ?>
		</tbody>
	</table>
</div>
Пример #8
0
				<td>Domain Profile Data</td>
				<td>Value</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>Date Registered</td>
				<td><?=date_user(element('registry_createdate', $data))?></td>
			</tr>
			<tr>
				<td>Date Modified</td>
				<td><?=date_user(element('registry_updatedate', $data))?></td>
			</tr>
			<tr>
				<td>Date of Renewal</td>
				<td><?=date_user(element('registry_expiredate', $data))?></td>
			</tr>
			<tr>
				<td>Auto-renew?</td>
				<td><?=(element('auto_renew', $data)) ? 'Enabled' : 'Disabled'?></td>
			</tr>
		</tbody>
	</table>
</div>
<div class="mid header">
	<h5>Nameservers</h5>
</div>
<div class="mid body">
	<table>
		<thead>
			<tr>
Пример #9
0
<form action="<?=current_url()?>" method="post">
	<div class="mid header">
		<?php if (element('status',$order) == 'estimate') : ?>
		<a href="<?=site_url('billing/estimate/'.$orid)?>" class="button floatr">Prepare Estimate</a>
		<?php else : ?>
		<a href="<?=site_url('billing/print_order/'.$orid)?>" class="button floatr">Download PDF</a>
		<?php endif; ?>
		<h4><?=(element('status',$order) == 'estimate') ? 'Estimate' : 'Order'?> Details</h4>
	</div>
	<div class="mid body grid clearfix">
		<div><strong>Order Number</strong><?=$orid?></div>
		<div><strong>Date Created</strong><?=date_user(strtotime($order['tsCreated']))?></div>
		<div><strong>Client Account</strong><?=profile_link($order['eid'])?></div>
		<div><strong>Prepared By</strong><?=profile_link($order['eidCreated'])?></div>
		<div><strong>Order Status</strong><?=humanize($order['status'])?></div>
	</div>
	<div class="mid header">
		<h4>Address</h4>
	</div>
	<div class="mid body" id="addresses">
		<h5>Shipping &amp; Taxation</h5>
		<?=form_dropdown('addrid',$addressOpts,$order['addrid'])?> <button action="submit" name="action" value="updateAddress">Change Address</button>
	</div>
	<div class="mid header">
			<?php $editable = FALSE; foreach ($items as $item) if (!$item['ivid']) $editable = TRUE; if ($editable) : ?>
			<div class="floatr">
			<button action="submit" name="action" value="void" class="red">Void Checked Items</button>
			<button action="submit" name="action" value="update" class="green">Update Order</button>
			</div>
			<?php endif; ?>
		<h4>Items in <?=(element('status',$order) == 'estimate') ? 'Estimate' : 'Order'?></h4>
Пример #10
0
</div>
<div class="mid body">
	<table>
		<thead>
			<tr>
				<td>ID</td>
				<td>Revision Date</td>
				<td>Effective Date</td>
				<td class="justr">Actions</td>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($data as $revision) : ?>
			<tr>
				<td><?=leading_zeroes(element('agrvid',$revision))?></td>
				<td><?=date_user(strtotime(element('tsCreated',$revision)))?></td>
				<td><?=date_user(strtotime(element('tsEffective',$revision)))?></td>
				<td class="justr">
					<a href="<?=site_url('agreements/view_revision/'.element('agrvid',$revision))?>" class="button">View Revision</a>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>
<?php else: ?>
<div class="mid body">
	This agreement has no revisions.  <br/><br/>
	<a href="<?=site_url('agreements/new_revision/'.$agid)?>" class="button">Create First Revision</a>
</div>
<?php endif; ?>
Пример #11
0
<div class="mid body">
	<table>
		<thead>
			<tr>
				<td>Event</td>
				<td>When</td>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($data as $row) : ?>
			<tr>
				<td><?=element('text',$row)?></td>
				<td><?=date_user(element('timestamp',$row))?></td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>