31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
<?php
|
|
require_once("inc_common.php");
|
|
include($engine_path."users_get_list.php");
|
|
|
|
if (!$exists) {
|
|
$error_text = "$w_no_user";
|
|
include($file_path."designes/".$design."/error_page.php");
|
|
exit;
|
|
}
|
|
|
|
include("inc_user_class.php");
|
|
include($ld_engine_path."users_get_object.php");
|
|
|
|
$pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".big.gif";
|
|
if (!file_exists($file_path."photos/$pic_name")) $pic_name="";
|
|
if ($pic_name == "") {
|
|
$pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".big.jpg";
|
|
if (!file_exists($file_path."photos/$pic_name")) $pic_name="";
|
|
}
|
|
$big_picture = $pic_name;
|
|
$pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".gif";
|
|
if (!file_exists($file_path."photos/$pic_name")) $pic_name="";
|
|
if ($pic_name == "") {
|
|
$pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".jpg";
|
|
if (!file_exists($file_path."photos/$pic_name")) $pic_name="";
|
|
}
|
|
$small_picture = $pic_name;
|
|
$w_big_photo = str_replace("~",$max_photo_size,str_replace("*", $max_photo_width,str_replace("#",$max_photo_height,$w_big_photo)));
|
|
|
|
include($file_path."designes/".$design."/user_info.php");
|
|
?>
|