2012-02-06 10:32:57 +04:00
|
|
|
<?php
|
|
|
|
$id = $_['id'];
|
|
|
|
$wattr = isset($_['width'])?'width="'.$_['width'].'"':'';
|
|
|
|
$hattr = isset($_['height'])?'height="'.$_['height'].'"':'';
|
2012-03-13 00:56:28 +04:00
|
|
|
$rand = isset($_['refresh'])?'&'.rand().'='.rand():'';
|
2012-02-06 10:32:57 +04:00
|
|
|
?>
|
2012-03-13 00:56:28 +04:00
|
|
|
<img class="loading" id="contacts_details_photo" <?php echo $wattr; ?> <?php echo $hattr; ?> src="<?php echo OC_Helper::linkToAbsolute('contacts', 'photo.php'); ?>?id=<?php echo $id.$rand; ?>" />
|
2012-02-06 10:32:57 +04:00
|
|
|
<progress id="contacts_details_photo_progress" style="display:none;" value="0" max="100">0 %</progress>
|
|
|
|
|
|
|
|
|