<?php if($contact['id'] == $number['contact_id']): ?>
<option value="phone-number">
<?php echo $number['phone_number'];?>
</option>
<?php endif;?>
<?
$arr_numbers = array();
foreach ($contacts as $contact)
{
foreach ($numbers as $number)
{
if($contact['id'] == $number['contact_id']) $arr_numbers[]= $number['phone_number'];
}
}
?>
<?php if(count($arr_numbers ) > 0): ?>
<select phones="phones">
<?php foreach ($arr_numbers as $number):?>
<option value="phone-number">
<?=$number['phone_number'];?>
</option>
<?php endforeach;?>
</select>
<?php endif;?>
<link rel="stylesheet" href="/template/css/reset.css">
function GetTodayUsers()
{
$today = date("Y-m-d");
$sql = mysql_query("SELECT login FROM account WHERE UNIX_TIMESTAMP(add_date) >= UNIX_TIMESTAMP('".$today."')") or die(mysql_error());
$row = mysql_fetch_assoc($sql);
print_r($row);
}
RewriteEngine On
RewriteBase /
<Files .*>
Order Deny,Allow
Deny From All
</Files>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /$1 [PT]
$file = preg_replace("#<img.*?>$#im", "", $bodyfile);
var tz = jstz.determine();
var timezone = tz.name();