예제 #1
0
/**
 * 
 * Outputs a translated version of an string
 * @param string $Phrase
 * @param optional $Lang string language
 * @param optional $Target desired language
 * @version 1.08
 */
function tr($Phrase, $Lang = null, $Target = null)
{
    echo trr($Phrase, $Lang, $Target);
}
예제 #2
0


<?php 
if (!isset($_GET['noheader'])) {
    ?>


</div>
<div id='Tracker' class='Footer' <?php 
    tr('dir="ltr"');
    ?>
 style="text-align:center;font-size:Smaller;color:#555555;">
<?php 
    $x = $this->Tracker->PageLoadTime();
    printf(trr("This page was generated in %.4f seconds (%.4f DB time, %.4f PHP time) with %d database queries and consumed %.4f MB of memory."), $x, $this->DB->QueryTime, $x - $this->DB->QueryTime, $this->DB->QueryCount, memory_get_peak_usage() / 1024.0 / 1024);
    ?>
</div>
<div id='Copyright' class='Footer' dir="ltr" style="text-align:center;font-size:Smaller;color:#555555;margin-bottom:5px;">
<a href='<?php 
    echo constant("SiteRoot");
    ?>
'><?php 
    echo WHOAMI;
    ?>
</a>
<?php 
    tr("powered by");
    ?>
<a href='http://jframework.info/' style="">
<img title='jFramework' src="/img/jlogo.png" width=16 height=16  style="
예제 #3
0
 <?php 
        tr("ago");
        ?>
</td>
		<td><?php 
        echo date("H:i:s", time() - $r['LastAccess']);
        ?>
 <?php 
        tr("ago");
        ?>
</td>
		<td> &nbsp; <a href='/<?php 
        echo $r['CurrentRequest'];
        ?>
'><?php 
        echo $r['CurrentRequest'] ? $r['CurrentRequest'] : trr("Home Page");
        ?>
</a></td>
		</tr>
		<?php 
    }
    ?>
</tbody>
</table>
<?php 
}
?>
</td>
</tr>

<!-- Critical Logs -->