rparent == 22){ $rw = mysql_fetch_object(myQuery("SELECT id, parent AS rparent FROM cms_stories WHERE parent = '$t' LIMIT 0,1")); $t = $rw->id; } } if ($t != ""){ $rowv = mysql_fetch_object(myQuery("SELECT view AS view FROM cms_stories WHERE id = '$t'")); if ($rowv->view == 0) $mpage = "story"; if ($rowv->view == 1) $mpage = "list"; if ($rowv->view == 2) $mpage = "list2"; if ($rowv->view == 3) $mpage = "catalog"; if ($rowv->view == 4) $mpage = "gallery"; } else { $t = 2; } switch($mpage){ case "home": $page = "home.php"; break; case "story": $page = "story.php"; break; case "archive": $page = "story.php"; break; case "signup": $page = "signup.php"; break; case "editProfile": $page = "editProfile.php"; break; case "changePass": $page = "changePass.php"; break; case "catalog": $page = "catalog.php"; break; case "gallery": $page = "catalog.php"; break; case "list": $page = "list.php"; break; case "list2": $page = "list.php"; $nodate = true; break; case "search": $page = "search.php"; break; default: { $page = "story.php"; } break; } // case igrana igra if ( (intval($_POST['res']) != "") && (intval($_POST['tim']) != "") ){ $rsg = myQuery("INSERT INTO gamestat (userid, date, time, points) VALUES ('".$_SESSION['shablauserid']."', now(), '".intval($_POST['tim'])."', '".intval($_POST['res'])."')"); } ?> Зелен образователен център - Община "Шабла" do_headerScripts($t)?> do_header($t); ?>
do_Menu2($t); ?>
do_leftMenu($t); ?>
do_rightBlock(102); ?> do_loginBlock(); ?>
do_footer($resulttime); ?>

С финансовата подкрепа на Правителството на Норвегия чрез Норвежката програма за сътрудничество за икономически растеж и устойчиво развитие в България. Supported by a grant from Norway through the Norwegian Cooperation Programme for Economic Growth and Sustainable Development in Bulgaria.

Община "Шабла"
9680 гр. Шабла,
Област Добрич,
ул. "Равно поле" №35 Shabla Municipality
Shabla 9680,
Dobrich,
35 Ravno Pole St.