include(dirname(__FILE__)."/../menufiles/include.php");
$skin=$_GET['s'];
$lang=$_GET['l'];
$menudir='dogs/';
?>
printheader($skin,$lang,'1','');
printnavigation($skin,'2',$lang,'');
?>
|
printGoogleSearch()
?>
Ontmoet de Spartan Dogs } ELSE {?> Meet the Spartan Dogs }?> |
Spartan Dog Articles, History, Culture
IF ($lang == 1){
?>
Dit zijn de Spartan Dogs (Spartaanse Honden). Maak uw keuze tussen de hieronder genoemde honden.
Molossers zijn typisch grote gespierde honden, met zware botten, hangende oren, een relatief kort en goed gespierde nek, en een korte snuit.
Bulldog rassen zijn over het algemeen middelgrote gespierde, moedig, onstuimig en angstloos. Ze hebben typisch zware botten, hangende oren, een relatief korte en goed gespierde nek, en een korte snuit.
Terriers zijn meestal klein, dapper en stoer met een levendige, energieke en bijna hyperactieve persoonlijkheid.
Ze zijn misschien niet voor degenen met een zwak hart. Maar wij houden van ze.
Klik op het menu hieronder om het honden artikel van uw keuze te lezen.
printTextLink($skin, $lang, 'listofdogbreedtests.php', 'Klik hier voor een overzicht van hondenrassen waarop u uw honden kennis kunt testen.') ;?>
} ELSE {
?>
These are the Spartan Dogs. Make your pick between the Dogs listed below.
Molossers typically are large muscular dogs that have heavy bones, pendant ears, a relatively short and well-muscled neck, and a short muzzle.
Bulldog breeds are generally medium sized muscular, bold, inquisitive and fearless. Typically they have heavy bones, pendant ears, a relatively short and well-muscled neck, and a short muzzle.
Terriers are usually small, brave and tough with a lively, energetic, and almost hyperactive personality.
They might not be for the faint of heart. But we love them.
Click on the menu below to read the dog's article of your choice.
printTextLink($skin, $lang, 'listofdogbreedtests.php', 'Click here for an overview of dog breeds on which you can test your dog knowledge.') ;?>
}
?>
printmenubydir3($skin,$lang,$menudir);
?>
IF ($lang == 1){
?>
Klik op het gewenste artikel in het bovenstaande overzicht.
De gehele site doorzoeken? Maak gebruik van de Search optie bovenaan de pagina.
} ELSE {
?>
Click on the preferred article in the overview above.
Search through the entire site? Use the Search option at the top of the page.
}
?>
|
|
// User settings
$rater_ip_voting_restriction = true; // restrict ip address voting (true or false)
$rater_ip_vote_qty=1; // how many times an ip address can vote
$rater_already_rated_msg="You have already rated this item. You were allowed ".$rater_ip_vote_qty." vote(s).";
$rater_not_selected_msg="You have not selected a rating value.";
$rater_thankyou_msg="Thank you for voting.";
$rater_generic_text="this item"; // generic item text
$rater_end_of_line_char="\n"; // may want to change for different operating systems
if(!isset($rater_id)) $rater_id=1;
if(!isset($rater_item_name)) $rater_item_name=$rater_generic_text;
// DO NOT MODIFY BELOW THIS LINE
$rater_filename=$_SERVER['DOCUMENT_ROOT'].'/commentrate/items/zzzRate_'.$rater_id.'.txt';
$rater_rating=0;
$rater_stars="";
$rater_stars_txt="";
$rater_rating=0;
$rater_votes=0;
$rater_msg="";
// Rating action
if(isset($_REQUEST["rate".$rater_id])){
if(isset($_REQUEST["rating_".$rater_id])){
while(list($key,$val)=each($_REQUEST["rating_".$rater_id])){
$rater_rating=$val;
}
$rater_ip = getenv("REMOTE_ADDR");
$rater_file=fopen($rater_filename,"a+");
$rater_str="";
$rater_str = rtrim(fread($rater_file, 1024*8),$rater_end_of_line_char);
if($rater_str!=""){
if($rater_ip_voting_restriction){
$rater_data=explode($rater_end_of_line_char,$rater_str);
$rater_ip_vote_count=0;
foreach($rater_data as $d){
$rater_tmp=explode("|",$d);
$rater_oldip=str_replace($rater_end_of_line_char,"",$rater_tmp[1]);
if($rater_ip==$rater_oldip){
$rater_ip_vote_count++;
}
}
if($rater_ip_vote_count > ($rater_ip_vote_qty - 1)){
$rater_msg=$rater_already_rated_msg;
}else{
fwrite($rater_file,$rater_rating."|".$rater_ip.$rater_end_of_line_char);
$rater_msg=$rater_thankyou_msg;
}
}else{
fwrite($rater_file,$rater_rating."|".$rater_ip.$rater_end_of_line_char);
$rater_msg=$rater_thankyou_msg;
}
}else{
fwrite($rater_file,$rater_rating."|".$rater_ip.$rater_end_of_line_char);
$rater_msg=$rater_thankyou_msg;
}
fclose($rater_file);
}else{
$rater_msg=$rater_not_selected_msg;
}
}
// Get current rating
if(is_file($rater_filename)){
$rater_file=fopen($rater_filename,"r");
$rater_str="";
$rater_str = fread($rater_file, 1024*8);
if($rater_str!=""){
$rater_data=explode($rater_end_of_line_char,$rater_str);
$rater_votes=count($rater_data)-1;
$rater_sum=0;
foreach($rater_data as $d){
$d=explode("|",$d);
$rater_sum+=$d[0];
}
$rater_rating=number_format(($rater_sum/$rater_votes), 2, '.', '');
}
fclose($rater_file);
}else{
$rater_file=fopen($rater_filename,"w");
fclose($rater_file);
}
// Assign star image
if ($rater_rating <= 0 ){$rater_stars = "./commentrate/img/00star.png";$rater_stars_txt="Not Rated";}
if ($rater_rating >= 0.5){$rater_stars = "./commentrate/img/05star.png";$rater_stars_txt="0.5";}
if ($rater_rating >= 1 ){$rater_stars = "./commentrate/img/10star.png";$rater_stars_txt="1";}
if ($rater_rating >= 1.5){$rater_stars = "./commentrate/img/15star.png";$rater_stars_txt="1.5";}
if ($rater_rating >= 2 ){$rater_stars = "./commentrate/img/20star.png";$rater_stars_txt="2";}
if ($rater_rating >= 2.5){$rater_stars = "./commentrate/img/25star.png";$rater_stars_txt="2.5";}
if ($rater_rating >= 3 ){$rater_stars = "./commentrate/img/30star.png";$rater_stars_txt="3";}
if ($rater_rating >= 3.5){$rater_stars = "./commentrate/img/35star.png";$rater_stars_txt="3.5";}
if ($rater_rating >= 4 ){$rater_stars = "./commentrate/img/40star.png";$rater_stars_txt="4";}
if ($rater_rating >= 4.5){$rater_stars = "./commentrate/img/45star.png";$rater_stars_txt="4.5";}
if ($rater_rating >= 5 ){$rater_stars = "./commentrate/img/50star.png";$rater_stars_txt="5";}
echo '';
echo '';
echo '';
echo '';
echo '';
echo '';
echo ' Rate this page | '; // '.$rater_item_name.'
echo ' ';
echo '';
echo ''; // Output ->>
echo ''; // End of Output <<-
echo ' | ';
echo ' | ';
echo '';
?>
If you have any comments you can submit them here |
|
|
|
printfooter($skin,$lang,'1','');
?>
printbslfooter($skin,$lang,'0');
?>