cvs: docweb /templates/all/www checkent.tpl.php

[email protected] ("Sean Coates")
Newsgroups php.doc.web
Message-ID <cvssean1106406858@cvsserver>
sean		Sat Jan 22 10:14:18 2005 EDT

  Added files:                 
    /docweb/templates/all/www	checkent.tpl.php 
  Log:
  another uncommitted file from last night
  
  

http://cvs.php.net/co.php/docweb/templates/all/www/checkent.tpl.php?r=1.1&p=1
Index: docweb/templates/all/www/checkent.tpl.php
+++ docweb/templates/all/www/checkent.tpl.php
<?php
/*
  TODO:
    - template this
    - Hyperlink <a ... /> the URLs
    - Shrink long URLs: http://example.org/this/is/a...long/url
*/
?>

<h2>Entities last checked: <?php echo date('Y-m-d H:i:s', $startTime); ?></h2>
<?php if (!$isComplete) { ?>
    <h3>Check not complete.</h3>
<?php } ?>
<h2>Protocols: <?php echo $schemes; ?></h2>
<br />

<?php foreach ($entData as $resultType => $results) { ?>
    <h2><?php echo $resultLkp[$resultType]; ?> (<?php echo count($results); ?>)</h2>
    <table border="0">
        <tr>
            <th>Entity Name</th>
            <?php if ($extraCol[$resultType]) { ?>
                <th>Redirect URL</th>
            <?php } else { ?>
                <th>URL</th>
	    <?php } ?>
        </tr>
        <?php foreach ($results AS $r) { ?>
	    <tr>
                <td><?php echo $r['entity']; ?></td>
                <?php if ($extraCol[$resultType]) { ?>
                    <td><?php echo $r['return_val']; ?></td>
                <?php } else { ?>
                    <td><?php echo $r['url']; ?></td>
                <?php } ?>
	    </tr>
        <?php } ?>
    </table>
    <br />
<?php } ?>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.