示例#1
0
	<br><br>
	<a href="http://wiki.ushahidi.com/doku.php?id=4636instructions"><div class="button">Instructions</div></a>
	<br><br>
	<a href="chat.php" target="_blank"><div class="button">Volunteer Chat</div></a>
<!--	<a href="#"><div class="button"><?php 
pmsg('Upload Images');
?>
</div></a> -->
	<!--
	<br /><br />
	<div id="language-menu">
		<?php 
global $LANG;
?>
		<?php 
pmsg('Primary Language');
?>
		<a href="/?lang=en_US" class="<?php 
if ($LANG == "en_US") {
    print "selected";
}
?>
">English</a><br />
		<a href="/?lang=ht" class="<?php 
if ($LANG == "ht") {
    print "selected";
}
?>
">Krey&ograve;l</a><br />
		<a href="/?lang=fr" class="<?php 
if ($LANG == "fr") {
示例#2
0
$result = mysql_query("SELECT count(id) FROM person") or die(mysql_error());
$query_data = mysql_fetch_row($result);
$count = $query_data[0];
$count = number_format($count);
/*
if(isset($_GET('forcecron']))){
	run_fake_cron(1);
}else{
	run_fake_cron();
}*/
run_fake_cron();
?>

<script type="text/javascript" src="util.js"></script>
<title>4636.ushahidi.com - <?php 
pmsg('index_page_title');
if (isset($title)) {
    print " | " . $title;
}
?>
</title>
<link rel="stylesheet" href="/style.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
<div id="wrapper">
    <div id="header">
		<div style="float: right;">
			<form method="get" action="search_post.php">
				<table><tr><td><img src="search.jpg" alt="" /></td><td><input type="text" id="search" name="name" onblur="replaceInput(this);" onfocus="clearInput(this);" value="Search" /></td><td colspan="2"><input type="submit" id="search-button" value="Search" /></td></tr></table>
			</form>
示例#3
0
			<table class="data-table">
				<thead>
					<th><?php 
    pmsg('Change');
    ?>
</th>
					<th><?php 
    pmsg('Old Version');
    ?>
</th>
					<th><?php 
    pmsg('New Version');
    ?>
</th>
					<th><?php 
    pmsg('Time');
    ?>
</th>
				</thead>
				<tbody>
					<?php 
    $count = -1;
    foreach ($updates as $u) {
        $count++;
        ?>
						 <?php 
        $row_class = $count % 2 ? 'odd' : 'even';
        ?>
						<tr class="<?php 
        echo $row_class;
        ?>