||| Схемы проезда   |||   Эта карта для пользователей    ||| коды    
0) { // выводим либо схемцу проезда с пометками если есть. А если нет, то оригинал. $map=mysql_result($q,0,"img_filename"); $file_patch="MAPS_files/maps_with_marks/".$map; if(!is_file($file_patch)) { $file_patch="MAPS_files/originals_maps/".$map; if(!is_file($file_patch)) die(" Не найдено схемы проезда "); } list($width, $height, $t, $attr) = getimagesize($file_patch); } // if($q_num>0) ?>
0 AND mom_map_id=".$_GET['id_map']; $q_show_hide=mysql_query($q_show_hide); $q_num_show_hide=mysql_num_rows($q_show_hide); if($q_num_show_hide>0) { ?> Показать карту || Скрыть карту "; ?>
border="0" usemap="#Map" /> Скрыть карту

0) ?> /> 0) { ?> ,,26" */ ?> 0) { ?> "; echo out_sql($r_link['mt_name'],"tips",$SF); echo ""; echo "
"; } if(!empty($r_link['mt_desc'])) { echo out_sql($r_link['mt_desc'],"tips",$SF); } if(isset($video_error)) unset($video_error); if(!empty($r_link['video_file'])) { if(is_file("MAPS_files/video_mark/".$r_link['video_file'])) { if(!empty($r_link['mt_name'])||!empty($r_link['mt_desc'])) echo "
"; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(is_file("MAPS_files/img_mark/".$r_link['mt_img_file'])) { $attr_tip_img=getimagesize("MAPS_files/img_mark/".$r_link['mt_img_file']); echo "превьюшка к видео (открыть в новом окне) ш: ".$attr_tip_img[0]." в: ".$attr_tip_img[1]."
"; } ////////////////////////////////////////////////////////////////////// if($r_link['w_video']==0) $r_link['w_video']=$default_w_video; if($r_link['h_video']==0) $r_link['h_video']=$default_h_video; ////////////////////////////////////////////////////////////////////// // вычисляем формат $str_exp = explode(".", $r_link['video_file']); $count=count($str_exp)-1; foreach ($str_exp as $key => $value) { if($key==$count) $video_format=$value; } //////////////////////////////////////////////////////////////////////////////////////////////// if($video_format=='flv'||$video_format=='iflv'||$video_format=='mp4'||$video_format=='mp3') { ?> height=> video_player/player-viral.swf /> MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> video_player/player-viral.swf width= height= allowscriptaccess=always allowfullscreen=true flashvars=file=MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> "; if(is_file("MAPS_files/img_mark/".$r_link['mt_img_file'])) { $attr_tip_img=getimagesize("MAPS_files/img_mark/".$r_link['mt_img_file']); ?> width= height= border=0/>Картинки не найдено
"; // if(is_file("MAPS_files/img_mark/".$r_link['mt_img_file'])) } // if(empty($r_link['video_file'])||isset($video_error)) ?>', CLOSEBTNTEXT, 'Нажми и закрой [X]', CLICKSTICKY, true, CLOSEBTN, true,OFFSETX,-15,EXCLUSIVE,true,TITLE,'')" onMouseOut="UnTip()" style="cursor:pointer;"/> 0) ?>
0) ?>
добавить объект для карты

0) { ?>


".$video_error."
"; if(!empty($r['mt_name'])) { echo ""; echo out_sql($r['mt_name'],"tips",$SF); echo ""; echo "
"; } if(!empty($r['mt_desc'])) { echo out_sql($r['mt_desc'],"tips",$SF); echo "
"; } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(!isset($video_error)) { if(is_file("MAPS_files/img_mark/".$r['mt_img_file'])) { $attr_tip_img=getimagesize("MAPS_files/img_mark/".$r['mt_img_file']); echo "превьюшка к видео (открыть в новом окне) ш: ".$attr_tip_img[0]." в: ".$attr_tip_img[1]."
"; } ////////////////////////////////////////////////////////////////////// if($r['w_video']==0) $r['w_video']=$default_w_video; if($r['h_video']==0) $r['h_video']=$default_h_video; ////////////////////////////////////////////////////////////////////// // вычисляем формат $str_exp = explode(".", $r['video_file']); $count=count($str_exp)-1; foreach ($str_exp as $key => $value) { if($key==$count) $video_format=$value; } //////////////////////////////////////////////////////////////////////////////////////////////// if($video_format=='flv'||$video_format=='iflv'||$video_format=='mp4'||$video_format=='mp3') { ?> height=> video_player/player-viral.swf /> MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> video_player/player-viral.swf width= height= allowscriptaccess=always allowfullscreen=true flashvars=file=MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> ', CLOSEBTNTEXT, 'Нажми и закрой [X]', CLICKSTICKY, true, CLOSEBTN, true,OFFSETX,-5,EXCLUSIVE,true,TITLE,'')" onMouseOut="UnTip()" style="cursor:pointer;"/>
"; echo out_sql($r['mt_name'],"tips",$SF); echo ""; echo "
"; } if(!empty($r['mt_desc'])) { echo out_sql($r['mt_desc'],"tips",$SF); } ?>', CLOSEBTNTEXT, 'Нажми и закрой [X]', CLICKSTICKY, true, CLOSEBTN, true,OFFSETX,-5,EXCLUSIVE,true,TITLE,'')" onMouseOut="UnTip()" style="cursor:pointer;"/>
align="left" vspace="2" style="padding-right:10px;cursor:help;" onMouseOver="Tip('"; echo out_sql($r['mt_name'],"tips",$SF); echo ""; echo "
"; } if(!empty($r['mt_desc'])) { echo out_sql($r['mt_desc'],"tips",$SF); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(is_file("MAPS_files/img_mark/".$r['mt_img_file'])&empty($r['video_file'])) { if(!empty($r['mt_name'])||!empty($r['mt_desc'])) echo "
"; list($iwidth, $iheight, $it, $iattr) = getimagesize("MAPS_files/img_mark/".$r['mt_img_file']); ?> width= height= border=0/> "; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(is_file("MAPS_files/img_mark/".$r['mt_img_file'])) { $attr_tip_img=getimagesize("MAPS_files/img_mark/".$r['mt_img_file']); echo "превьюшка к видео (открыть в новом окне) ш: ".$attr_tip_img[0]." в: ".$attr_tip_img[1]."
"; } if(!empty($r['mt_name'])||!empty($r['mt_desc'])) echo "
"; if(is_file("MAPS_files/video_mark/".$r['video_file'])) { ////////////////////////////////////////////////////////////////////// if($r['w_video']==0) $r['w_video']=$default_w_video; if($r['h_video']==0) $r['h_video']=$default_h_video; ////////////////////////////////////////////////////////////////////// // вычисляем формат $str_exp = explode(".", $r['video_file']); $count=count($str_exp)-1; foreach ($str_exp as $key => $value) { if($key==$count) $video_format=$value; } //////////////////////////////////////////////////////////////////////////////////////////////// if($video_format=='flv'||$video_format=='iflv'||$video_format=='mp4'||$video_format=='mp3') { ?> height=> video_player/player-viral.swf /> MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> video_player/player-viral.swf width= height= allowscriptaccess=always allowfullscreen=true flashvars=file=MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> Видео не найдено "; }// if(is_file($MAP_VIDEO."MAPS_files/video_mark/".$r['video_file'])) } ?>', CLOSEBTNTEXT, 'Нажми и закрой [X]', CLICKSTICKY, true, CLICKCLOSE, true, CLOSEBTN, true,OFFSETX,-50,EXCLUSIVE,true,TITLE,'')" onMouseOut="UnTip()"/>


".out_sql($r['mt_desc'],"tips",$SF).""; ?> [>>>]
0) ?>

добавить метку || редкатировать удалить метки
Метки для карты:
0) { while($rm=mysql_fetch_array($q)) { $img_patch="map_mark/"; if(is_file($img_patch.$rm['mark_filename'])) { ?>  0) ?> 0) { ?>
    


".$video_error."
"; if(!empty($r['mt_name'])) { echo ""; echo out_sql($r['mt_name'],"tips",$SF); echo ""; echo "
"; } if(!empty($r['mt_desc'])) { echo out_sql($r['mt_desc'],"tips",$SF); echo "
"; } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(!isset($video_error)) { if(is_file("MAPS_files/img_mark/".$r['mt_img_file'])) { $attr_tip_img=getimagesize("MAPS_files/img_mark/".$r['mt_img_file']); echo "превьюшка к видео (открыть в новом окне) ш: ".$attr_tip_img[0]." в: ".$attr_tip_img[1]."
"; } ////////////////////////////////////////////////////////////////////// if($r['w_video']==0) $r['w_video']=$default_w_video; if($r['h_video']==0) $r['h_video']=$default_h_video; ////////////////////////////////////////////////////////////////////// // вычисляем формат $str_exp = explode(".", $r['video_file']); $count=count($str_exp)-1; foreach ($str_exp as $key => $value) { if($key==$count) $video_format=$value; } //////////////////////////////////////////////////////////////////////////////////////////////// if($video_format=='flv'||$video_format=='iflv'||$video_format=='mp4'||$video_format=='mp3') { ?> height=> video_player/player-viral.swf /> MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> video_player/player-viral.swf width= height= allowscriptaccess=always allowfullscreen=true flashvars=file=MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> ', CLOSEBTNTEXT, 'Нажми и закрой [X]', CLICKSTICKY, true, CLOSEBTN, true,OFFSETX,-5,EXCLUSIVE,true,TITLE,'')" onMouseOut="UnTip()" style="cursor:pointer;"/>
"; echo out_sql($r['mt_name'],"tips",$SF); echo ""; echo "
"; } if(!empty($r['mt_desc'])) { echo out_sql($r['mt_desc'],"tips",$SF); } ?>', CLOSEBTNTEXT, 'Нажми и закрой [X]', CLICKSTICKY, true, CLOSEBTN, true,OFFSETX,-5,EXCLUSIVE,true,TITLE,'')" onMouseOut="UnTip()" style="cursor:pointer;"/>
border="0" onMouseOver="Tip('"; echo out_sql($r['mt_name'],"tips",$SF); echo ""; echo "
"; } if(!empty($r['mt_desc'])) { echo out_sql($r['mt_desc'],"tips",$SF); } if(isset($video_error)) unset($video_error); if(!empty($r['video_file'])) { if(is_file("MAPS_files/video_mark/".$r['video_file'])) { if(!empty($r['mt_img_file'])||!empty($r['mt_name'])||!empty($r['mt_desc'])) echo "
"; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(is_file("MAPS_files/img_mark/".$r['mt_img_file'])) { $attr_tip_img=getimagesize("MAPS_files/img_mark/".$r['mt_img_file']); echo "превьюшка к видео (открыть в новом окне) ш: ".$attr_tip_img[0]." в: ".$attr_tip_img[1]."
"; } ////////////////////////////////////////////////////////////////////// if($r['w_video']==0) $r['w_video']=$default_w_video; if($r['h_video']==0) $r['h_video']=$default_h_video; ////////////////////////////////////////////////////////////////////// // вычисляем формат $str_exp = explode(".", $r['video_file']); $count=count($str_exp)-1; foreach ($str_exp as $key => $value) { if($key==$count) $video_format=$value; } //////////////////////////////////////////////////////////////////////////////////////////////// if($video_format=='flv'||$video_format=='iflv'||$video_format=='mp4'||$video_format=='mp3') { ?> height=> video_player/player-viral.swf /> MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> video_player/player-viral.swf width= height= allowscriptaccess=always allowfullscreen=true flashvars=file=MAPS_files/video_mark/&image=MAPS_files/img_mark/ /> "; $attr_tip_img=getimagesize("MAPS_files/img_mark/".$r['mt_img_file']); ?> width= height= border=0/>', CLOSEBTNTEXT, 'Нажми и закрой [X]', CLICKSTICKY, true, CLOSEBTN, true,OFFSETX,-50,EXCLUSIVE,true,TITLE,'')" onMouseOut="UnTip()" style="cursor:pointer;"/>


".out_sql($r['mt_desc'],"tips",$SF).""; ?>
    
0) ?>