if($_SERVER['HTTP_HOST']=="localhost")
{
function pathchange($str)
{
$pathchange="";
if(counter($str)==3)
$pathchange="";
if(counter($str)==4)
$pathchange="../";
if(counter($str)==5)
$pathchange="../../";
if(counter($str)==6)
$pathchange="../../../";
if(counter($str)==7)
$pathchange="../../../../";
if(counter($str)==8)
$pathchange="../../../../../";
if(counter($str)==9)
$pathchange="../../../../../../";
if(counter($str)==10)
$pathchange="../../../../../../../";
if(counter($str)==11)
$pathchange="../../../../../../../../";
if(counter($str)==12)
$pathchange="../../../../../../../../../";
return $pathchange;
}
}
else
{
function pathchange($str)
{
$pathchange="";
if(counter($str)==3)
$pathchange="../";
if(counter($str)==4)
$pathchange="../../";
if(counter($str)==5)
$pathchange="../../../";
if(counter($str)==6)
$pathchange="../../../../";
if(counter($str)==7)
$pathchange="../../../../../";
if(counter($str)==8)
$pathchange="../../../../../../";
if(counter($str)==9)
$pathchange="../../../../../../../";
if(counter($str)==10)
$pathchange="../../../../../../../../";
if(counter($str)==11)
$pathchange="../../../../../../../../../";
if(counter($str)==12)
$pathchange="../../../../../../../../../../";
return $pathchange;
}
}
//// function for string string
function change_string($str)
{
$str=stripslashes($str);
$str=str_replace("--",'__', $str);
$str=str_replace(" ",'-', $str);
$str=str_replace("&",'+', $str);
$str=str_replace("?",'-', $str);
return $str;
}
function change_revstring($str)
{
$str=str_replace("-",' ', $str);
$str=str_replace("+",'&', $str);
$str=str_replace("__",'--', $str);
$str=str_replace(".html",'', $str);
$str=str_replace("/",'', $str);
return $str;
}
function counter($str)
{
$th=explode("/",$str);
$counter=count($th);
return $counter;
}
function lastcaption($str)
{
$th=explode("/",$str);
$counter=count($th);
if(preg_match('/page[0-9]+.html/', $str))
{
$cp=$th[$counter-3];
//$cp1=explode(".", $cp);
return $cp;
}
else
{
if(eregi('.html', $str))
return $th[$counter-2];
else
return $th[$counter-3];
//return print_r($th);
}
}
function last_lastcaption($str)
{
$th=explode("/",$str);
$counter=count($th);
if(preg_match('/page[0-9]+.html/', $str))
{
$cp=$th[$counter-4];
//$cp1=explode(".", $cp);
return $cp;
}
else
{
if(eregi('.html', $str))
return $th[$counter-3];
else
return $th[$counter-4];
//return print_r($th);
}
}
function last_last_lastcaption($str)
{
$th=explode("/",$str);
$counter=count($th);
if(preg_match('/page[0-9]+.html/', $str))
{
$cp=$th[$counter-5];
//$cp1=explode(".", $cp);
return $cp;
}
else
{
if(eregi('.html', $str))
return $th[$counter-4];
else
return $th[$counter-5];
//return print_r($th);
}
}
function last_last_last_lastcaption($str)
{
$th=explode("/",$str);
$counter=count($th);
if(preg_match('/page[0-9]+.html/', $str))
{
$cp=$th[$counter-6];
//$cp1=explode(".", $cp);
return $cp;
}
else
{
if(eregi('.html', $str))
return $th[$counter-5];
else
return $th[$counter-6];
//return print_r($th);
}
}
function caption($str)
{
$th=explode("/",$str);
$counter=count($th);
if(preg_match('/page[0-9]+.html/', $str))
{
$cp=$th[$counter-2];
//$cp1=explode(".", $cp);
return $cp;
}
else if(preg_match('/html/', $str))
{
$cp=$th[$counter-1];
$cp1=explode(".", $cp);
return $cp1[0];
}
else
{
$cp=$th[$counter-2];
//$cp1=explode(".", $cp);
return $cp;
}
}
?>
Important Notice : M.V.M Public School
Recent School
's News
Important Notice
School Notice
*ADMISSION OPEN FOR THE NEW ACADEMIC SESSION 2024-25 * FROM PG CLASSESS TO IX & XI (SCIENCE , COMMERCE &HUMANITIES)
OPENING DATE OF NEW SESSION 2023-24
LKG TO CLASS XI CLASSES WILL BE RUN FROM 1ST OF APRIL 2024.
Summar Vacation Notice 2024
Dear Parents,
The School remain closed for SUMMAR VACATION from 20-May-2024 (Tuesday) to 23- June-2024 (Sunday). The school will reopen on 24-June-2024 (Monday) at its usual time. Sufficient "HOME WORK" for summar vacation has been given to the students.
Note: Parents are requested to just guide and help their wards and not do the homework themselve as only the child's original work will be graded.
Board Marksheet
All students of class 10 and 12 are hereby informed to collect their marksheet by visitig school office.