Example #1
0
function output_dot_from_parser_tree(sfEvent $ev)
{
    $node = $ev->getSubject();
    output_header();
    output_node_info($node);
    output_children($node);
    output_footer();
}
Example #2
0
function output_message($title, $msg)
{
    clear_buffer();
    output_header($title);
    output_block_start($title);
    echo $msg;
    output_block_end();
    output_footer();
    exit;
}
switch ($cmd) {
    case 'login':
        output_header();
        form_login();
        output_footer();
        break;
    case 'process_login':
        output_header();
        process_login();
        output_footer();
        break;
    case 'publish':
        output_header();
        form_publish();
        output_footer();
        break;
    case 'create_album':
        output_header();
        create_album();
        output_footer();
        break;
    case 'add_picture':
        process_picture();
        break;
    case 'send_reg':
        send_reg_file();
        break;
    default:
        display_instructions();
}
// switch
Example #4
0
		<h2>Origin & Ethos</h2>
		<p>Cantec originated from two companies set up by Shay Tuohy in Waterford in 1994, and Don Cameron 
		in Limerick in 2002, to provide the sale and service of photocopiers. From day one both Shay and Don, 
		having previously worked alongside each other in Canon, fostered a similar ethos of professionalism combined 
		with friendliness, within their organisations.</p>

		<h2>Cantec The Brand</h2>
		<p>This ethos has carried through to Cantec today, an amalgamation of the two companies, supporting customers 
		from offices in Waterford, Limerick, Cork and Galway. The Cantec brand has been built on our reputation for 
		being the best provider of print/copy/scan equipment and services. Customers choose Cantec because they can truly depend on us. </p>

		<h2>What We Offer</h2>
		<p>Our business model is based around three core product offerings</p>
		<ol>
			<li>Copiers, Printers, Scanners and Multifunctional Devices</li>
			<li>Managed Print Services</li>
			<li>Design & Print Services</li>
		</ol>
		<p>Our policy has always been to base our sales and service representatives close to our customers, ensuring local support and a 
		speedy response to issues as they arise. This approach, combined with the value and reliability provided in our premium brands sets us 
		apart from our competitors.</p>

		<h2>Customer Profile</h2>
		<p>The success of our strategy can be measured by the strong customer base we have built amongst the multitude of SMEs throughout the 
		southern half of the country. Our experience and technical expertise has also created the ideal offering to multinational corporations, 
		based particularly around the cost savings, security and control provided by our managed print services.</p>
	</section>

<?php 
output_footer('../');
Example #5
0
				<div class="button" id="button2">
					<h1><strong>Managed</strong></br> Print</h1>
					<img src="images/managed.jpg">
					<p>Uniflow Output Manager is a server based application which allows you to gain complete control of your print</p>
					<p>Read more</p>
				</div>
				<div class="button" id="button3">
					<h1><strong>Support</strong></br> & Supplies</h1>
					<img src="images/supplies.png">
					<p>Uniflow Output Manager is a server based application which allows you to gain complete control of your print</p>
					<p>Read more</p>
				</div>
				<div class="button" id="button4">
					<h1><strong>Design</strong></br> & Print</h1>
					<img src="images/folder.png">
					<p>Uniflow Output Manager is a server based application which allows you to gain complete control of your print</p>
					<p>Read more</p>
				</div>
			</div>
			<section id="printer">
			<img id="printerimg" src="images/printer.png">
				<h1>Looking for a Printer, Photocopier or Scanner?</h1>
				<p>We sell, rent and lease a wide range of Multifunction Printers, Photocopiers and Document Scanners. We also provide after-sales support as part of our managed print service.</p>
				<p>It means you don’t have to worry about Maintenance, Repairs or Consumables.</p>
				<p>By simply availing of our support contract, you can make substantial savings and budget with greater confidence.</p>
				<p>When it comes to business technology, you can <strong><span id="slogan">depend on us</span></strong>.</p>
			</section>

<?php 
output_footer('');
Example #6
0
} else {
    $fromtime = time() - $time;
}
if ($totime) {
    $totime = strtotime($totime);
} else {
    $totime = time();
}
output_header($format);
foreach ($useridsleft as $userid) {
    output_row($userid, $courseid, $fromtime, $totime, $format, 'A');
}
foreach ($useridsright as $userid) {
    output_row($userid, $courseid, $fromtime, $totime, $format, 'B');
}
output_footer($format);
die;
function output_row($userid, $courseid, $fromtime, $totime, $format, $label = '')
{
    $events = get_user_events($userid, $courseid, $fromtime, $totime);
    list($revisits, $durations) = intuitel\IntuitelController::compute_revisits($events, $totime);
    foreach ($durations as $event) {
        $date = date('Y-m-d H:i:s', $event->time);
        $lo = intuitel\Intuitel::getAdaptorInstance()->createLO($event->loId);
        switch ($format) {
            case "txt":
                echo "{$event->userId}->id;{$date}; {$event->loId}; {$event->duration} ; {$label} ; {$lo->loName}\n";
                break;
            case "csv":
                global $output;
                fputcsv($output, array($event->userId->id, $date, $event->loId, $event->duration, $label, $lo->loName), ";");