".mysql_error()); //Բազա ենք սարքում, այն դեպքում երբ չկա mysql_query("CREATE DATABASE IF NOT EXISTS `$db`") or die("Կատարվել է սխալ, բազա սարքելու ժամանակ:
".mysql_error()); // ընտրում ենք բազան mysql_select_db($db); mysql_query("set names cp1251"); if (!isset($_COOKIE['basketlogin'])) { //////////////////////////STATISTIC SITE ////////////////////////////////////////// include("../statisticsite.php"); //////////////////////////STATISTIC SITE END ////////////////////////////////////////// //////////////////////////TOP Sayt ////////////////////////////////////////// include("top.php"); //////////////////////////TOP SITE END ////////////////////////////////////////// } else { //////////////////////////STATISTIC SITE ////////////////////////////////////////// include("../statisticsite.php"); //////////////////////////STATISTIC SITE END ////////////////////////////////////////// //////////////////////////TOP Sayt ////////////////////////////////////////// include("top.php"); //////////////////////////TOP SITE END ////////////////////////////////////////// } //////////////Adshorizoni bardzrutyun@ havasaracnum enq 0-i vor tex@ bac chmna, naxkinum height='280',/////////////// function printcoach($id, $pid, $pnamearm, $plnamearm, $or, $amis, $tari, $users, $tr, $tablep, $tableend ) { print" $tablep $tr
$pnamearm $plnamearm

 

$tableend "; } function printleader($id, $pid, $pnamearm, $plnamearm, $pnumber, $phasak, $tari, $alig, $blig, $clig, $dlig, $elig, $sex, $zuygkent, $users, $tr, $tablep, $tableend ) { print" $tablep $tr

$pnamearm $plnamearm
Խաղ. համար՝ $pnumber
Հասակ՝ $phasak սմ
Ծնն.տար.՝ $tari թ.

 

$tableend "; } function printiam($id, $pid, $clubid, $clubname, $zuygkent, $pnamearm, $plnamearm, $pnumber, $phasak, $tari, $alig, $blig, $clig, $dlig, $elig, $sex, $gameposition, $gamepoint, $gameassist, $gamerebound, $gameplayed, $shotmade, $shotattempted, $freeshotmade, $freeshotattempted, $freethrowsmade, $freethrowattempted, $offensivereb, $defensivereb, $turnovers, $steals, $block, $fouls, $gameminut, $users, $tr ) { if(!isset($shotattempted) or $shotattempted == 0) {$shotpercent = "-";} else { $shotpercent = ($shotmade/$shotattempted)*100; $shotpercent = round($shotpercent,1);} if(!isset($freeshotattempted) or $freeshotattempted == 0) {$freeshotpercent = "-";} else { $freeshotpercent = ($freeshotmade/$freeshotattempted)*100; $freeshotpercent = round($freeshotpercent,1);} if(!isset($freethrowattempted) or $freethrowattempted == 0) {$freethrowpercent = "-";} else { $freethrowpercent = ($freethrowsmade/$freethrowattempted)*100; $freethrowpercent = round($freethrowpercent,1);} if(!isset($gameplayed) or $gameplayed =="") { $gameminut = "-"; $shotmade = "-"; $shotattempted = "-"; $shotpercent = "-"; $freeshotmade = "-"; $freeshotattempted = "-"; $freeshotpercent = "-"; $freethrowsmade = "-"; $freethrowattempted = "-"; $freethrowpercent = "-"; $offensivereb = "-"; $defensivereb = "-"; $gamerebound = "-"; $gameassist = "-"; $turnovers = "-"; $steals = "-"; $block = "-"; $fouls = "-"; $gamepoint = "-"; } if(isset($gameplayed) and $gameplayed !="") { $foulsmij = $fouls/$gameplayed; $foulsmij = round($foulsmij,2); $gameminutmij = $gameminut/$gameplayed; $gameminutmij = round($gameminutmij,2); $shotmademij = $shotmade/$gameplayed; $shotmademij = round($shotmademij,2); $shotattemptedmij = $shotattempted/$gameplayed; $shotattemptedmij = round($shotattemptedmij,2); $shotpercentmij = $shotpercent/$gameplayed; $shotpercentmij = round($shotpercentmij,2); $freeshotmademij = $freeshotmade/$gameplayed; $freeshotmademij = round($freeshotmademij,2); $freeshotattemptedmij = $freeshotattempted/$gameplayed; $freeshotattemptedmij = round($freeshotattemptedmij,2); $freeshotpercentmij = $freeshotpercent/$gameplayed; $freeshotpercentmij = round($freeshotpercentmij,2); $freethrowsmademij = $freethrowsmade/$gameplayed; $freethrowsmademij = round($freethrowsmademij,2); $freethrowattemptedmij = $freethrowattempted/$gameplayed; $freethrowattemptedmij = round($freethrowattemptedmij,2); $freethrowpercentmij = $freethrowpercent/$gameplayed; $freethrowpercentmij = round($freethrowpercentmij,2); $offensiverebmij = $offensivereb/$gameplayed; $offensiverebmij = round($offensiverebmij,2); $defensiverebmij = $defensivereb/$gameplayed; $defensiverebmij = round($defensiverebmij,2); $gamereboundmij = $gamerebound/$gameplayed; $gamereboundmij = round($gamereboundmij,2); $gameassistmij = $gameassist/$gameplayed; $gameassistmij = round($gameassistmij,2); $turnoversmij = $turnovers/$gameplayed; $turnoversmij = round($turnoversmij,2); $stealsmij = $steals/$gameplayed; $stealsmij = round($stealsmij,2); $blockmij = $block/$gameplayed; $blockmij = round($blockmij,2); $gamepointmij = $gamepoint/$gameplayed; $gamepointmij = round($gamepointmij,2);} else { $gameminutmij = "-"; $shotmademij = "-"; $shotattemptedmij = "-"; $shotpercentmij = "-"; $freeshotmademij = "-"; $freeshotattemptedmij = "-"; $freeshotpercentmij = "-"; $freethrowsmademij = "-"; $freethrowattemptedmij = "-"; $freethrowpercentmij = "-"; $offensiverebmij = "-"; $defensiverebmij = "-"; $gamereboundmij = "-"; $gameassistmij = "-"; $turnoversmij = "-"; $stealsmij = "-"; $blockmij = "-"; $foulsmij = "-"; $gamepointmij = "-"; } print"

 

 


$pnamearm $plnamearm
Խաղ. համար՝ $pnumber
Հասակ՝ $phasak սմ
Ծնն.տար.՝ $tari թ.

 

"; if(isset($_COOKIE['basketlogin']) and $_COOKIE['basketid'] == $pid){ print"
Խաղընկերներ
Մարզ. գրաֆիկ
Հաճախ. վիճ.
Իմ վիդեոները
    
Տարեդարձներ
Հայտարարություն
Առաջարկներ
Ուղղ. հեռարձակում
    
Առցանց վճարում
Տվյալներ
Ծանուցումներ
"; } else { print"   խք 2ման 2մկն 2մն% 3ման 3մկն 3մն% տան տկն տն%   Ընդհանուր $gameplayed $shotmade $shotattempted $shotpercent $freeshotmade $freeshotattempted $freeshotpercent $freethrowsmade $freethrowattempted $freethrowpercent   Միջինում - $shotmademij $shotattemptedmij $shotpercentmij $freeshotmademij $freeshotattemptedmij $freeshotpercentmij $freethrowsmademij $freethrowattemptedmij $freethrowpercentmij  
  հա պա ըա ափ կորուստ խլում բլոկ տուգանք միավոր
 
Ընդհանուր $offensivereb $defensivereb $gamerebound $gameassist $turnovers $steals $block $fouls $gamepoint
 
Միջինում $offensiverebmij $defensiverebmij $gamereboundmij $gameassistmij $turnoversmij $stealsmij $blockmij $foulsmij $gamepointmij
 
Բոլոր տվյալները համապատասխանում են Հայաստանի Բասկետբոլի Ֆեդերացիայի արձանագրություններին
 
խք - խաղերի քանակ
2ման - 2 միավոր արդյունավետ նետումներ
2մկն - 2 միավոր կատարած նետումներ
ն% - 2 միավոր նետումների տոկոսայնություն
3ման - 3 միավոր արդյունավետ նետումներ
3մկն - 3 միավոր կատարած նետումներ
3մն% - 3 միավոր նետումների տոկոսայնություն
տան - տուգանային արդյունավետ նետումներ
տկն - տուգանային կատարած նետումներ
տն% - տուգանային տենումների տոկոսայնություն
հա - հարձակման անդրադարձներ
պա - պաշտպանական անդրադարձներ
ըա - ընդհանուր անդրադարձներ
ափ - արդյունավետ փոխանցումներ
"; } print" "; } /* mysql_query(" UPDATE `team` SET `gamepoint` = '', `gameassist` = '', `gamerebound` = '', `gameplayed` = '', `shotmade` = '', `shotattempted` = '', `3shotmade` = '', `3shotattempted` = '', `freethrowsmade` = '', `freethrowattempted` = '', `offensivereb` = '', `defensivereb` = '', `turnovers` = '', `steals` = '', `block` = '', `fouls` = '', `gameminut` = '' ") or die("Կատարվել է սխալ, տվյալների բազայում, տող ավելացնելու ժամանակ:
".mysql_error()); */ print"
"; print"

Խաղային վիճակագրություն

"; $ids = $_GET['id']; $pids = $_GET['pid']; $printleader = mysql_query(" SELECT * FROM `$clubid-team` WHERE `pid` = '$pids' and `status` = 'ok' and `vorpes` = 'marzik' ") or die("Կատարվել է սխալ, բազայից ինֆորմացիա ընդունելու ժամանակ:
".mysql_error()); if(mysql_num_rows($printleader) > 0) {$q4=0; while($printleader_list = mysql_fetch_assoc($printleader)) {if ($q4 == 4) {$tr = ""; $q4 = 0;} else {$tr = "";} $nametimakic = $printleader_list['pnamearm']; $lastnametimakic = $printleader_list['plnamearm']; printiam($printleader_list['id'], $printleader_list['pid'], $clubid, $nameclub, $printleader_list['zuygkent'], $printleader_list['pnamearm'], $printleader_list['plnamearm'], $printleader_list['pnumber'], $printleader_list['phasak'], $printleader_list['tari'], $printleader_list['aligue'], $printleader_list['bligue'], $printleader_list['cligue'], $printleader_list['dligue'], $printleader_list['eligue'], $printleader_list['sex'], $printleader_list['gameposition'], $printleader_list['gamepoint'], $printleader_list['gameassist'], $printleader_list['gamerebound'], $printleader_list['gameplayed'], $printleader_list['shotmade'], $printleader_list['shotattempted'], $printleader_list['3shotmade'], $printleader_list['3shotattempted'], $printleader_list['freethrowsmade'], $printleader_list['freethrowattempted'], $printleader_list['offensivereb'], $printleader_list['defensivereb'], $printleader_list['turnovers'],$printleader_list['steals'],$printleader_list['block'],$printleader_list['fouls'],$printleader_list['gameminut'], $users, $tr );$q4++; } } print"
"; print"
"; if(!isset($_GET['option']) and $_COOKIE['basketid'] != $_GET['pid']) { include("mirakvideo.php"); } if(isset($_GET['option']) and $_GET['option'] == "myvideo") { include("mirakvideo.php"); //include("fotoslide.php"); } if(isset($_GET['option']) and $_GET['option'] == "livestream") { print"
"; print"

$vernagir

"; print"
Youtube Live Stream
"; } if(isset($_GET['option']) and $_GET['option'] == "atention") { print"
"; print"

$vernagir

"; print"
"; $newp = mysql_query(" SELECT * FROM `haytararutyun` WHERE `show` = 'yes' and `$zuygkent` = 'show' order by `id` DESC ") or die("Կատարվել է սխալ, բազայից ինֆորմացիա ընդունելու ժամանակ:
".mysql_error()); if(mysql_num_rows($newp) > 0) {$q4=1; while($newp_list = mysql_fetch_assoc($newp)) { $id = $newp_list['id']; $text = $newp_list['text']; $date = $newp_list['date']; if ($q4 == 1) {print"";} if ($q4 == 1) {print"";} else {print"";} $q4++; } } print"

Հայտարարություն

$text
$date
 
 
 
$text $date
 
 
 
"; print"
"; } if(isset($_GET['option']) and $_GET['option'] == "changeoption") { $id=$_GET['id'];$pid=$_GET['pid']; $newp = mysql_query(" SELECT * FROM `$table` WHERE `pid` = '$pid' and `id` = '$id' ") or die("Կատարվել է սխալ, բազայից ինֆորմացիա ընդունելու ժամանակ:
".mysql_error()); if(mysql_num_rows($newp) > 0) {$q4=1; while($newp_list = mysql_fetch_assoc($newp)) { $phasak = $newp_list['phasak']; $pqash = $newp_list['pqash']; $pnumber = $newp_list['pnumber']; $pmijgn = $newp_list['pmijgn']; $pmphone1 = $newp_list['pmphone1']; $pmmphone1 = $newp_list['pmmphone1']; $pfmphone1 = $newp_list['pfmphone1']; $pmemail = $newp_list['pmemail']; $pmemail=strtolower($pmemail); $pfemail = $newp_list['pfemail']; $pfemail=strtolower($pfemail); if($pmphone1 != "0") { $printpmphone1 = str_split($pmphone1); $pmphone1print1=$printpmphone1[0]; $pmphone1print2=$printpmphone1[1]; $pmphone1print6=$printpmphone1[6];$pmphone1print7=$printpmphone1[7]; $pmphone1printverj="$pmphone1print1"."$pmphone1print2"."xxxx"."$pmphone1print6"."$pmphone1print7"; } else {$pmphone1printverj = "նշված չէ";} if($pmmphone1 != "0") { $printpmmphone1 = str_split($pmmphone1); $pmmphone1print1=$printpmmphone1[0]; $pmmphone1print2=$printpmmphone1[1]; $pmmphone1print6=$printpmmphone1[6];$pmmphone1print7=$printpmmphone1[7]; $pmmphone1printverj="$pmmphone1print1"."$pmmphone1print2"."xxxx"."$pmmphone1print6"."$pmmphone1print7"; } else {$pmmphone1printverj = "նշված չէ";} if($pfmphone1 != "0") { $printpfmphone1 = str_split($pfmphone1); $pfmphone1print1=$printpfmphone1[0]; $pfmphone1print2=$printpfmphone1[1]; $pfmphone1print6=$printpfmphone1[6];$pfmphone1print7=$printpfmphone1[7]; $pfmphone1printverj="$pfmphone1print1"."$pfmphone1print2"."xxxx"."$pfmphone1print6"."$pfmphone1print7"; } else {$pfmphone1printverj = "նշված չէ";} if($pmemail != "") { $pmemailprintverj=""; } else {$pmemailprintverj = "նշված չէ";} if($pfemail != "") { $pfemailprintverj=""; } else {$pfemailprintverj = "նշված չէ";} if($pmijgn != "") { $pmijgnprintverj=""; } else {$pmijgnprintverj = "նշված չէ";} if($pnumber != "") { $pnumberprintverj=""; } else {$pnumbernprintverj = "նշված չէ";} }} print"
"; print"

$vernagir

"; print"
"; if(isset($_GET['changeoptionanswer'])) { $error=0; $phasakanswer = $_POST['phasak']; if($phasakanswer == "") {$phasakanswer = "$phasak";} $pqashanswer = $_POST['pqash']; if($pqashanswer == "") {$pqashanswer = "$pqash";} $pnumberanswer = $_POST['pnumber']; if($pnumberanswer == "") {$pnumberanswer = "$pnumber";} $pmijgnanswer = $_POST['pmijgn']; if($pmijgnanswer == "") {$pmijgnanswer = "$pmijgn";} $pmphone1answer = $_POST['pmphone1']; if($pmphone1answer == "") {$pmphone1answer = "$pmphone1";} $pmmphone1answer = $_POST['pmmphone1']; if($pmmphone1answer == "") {$pmmphone1answer = "$pmmphone1";} $pmemailanswer = $_POST['pmemail']; if($pmemailanswer == "") {$pmemailanswer = "$pmemail";} $pfmphone1answer = $_POST['pfmphone1']; if($pfmphone1answer == "") {$pfmphone1answer = "$pfmphone1";} $pfemailanswer = $_POST['pfemail']; if($pfemailanswer == "") {$pfemailanswer = "$pfemail";} if((preg_match('@[A-z]@u',$phasakanswer) or preg_match('@[Ա-ֆ]@u',$phasakanswer) or preg_match('@[А-ю]@u',$phasakanswer)) and $phasakanswer!="") {print"";$error=1;} if((preg_match('@[A-z]@u',$pqashanswer) or preg_match('@[Ա-ֆ]@u',$pqashanswer) or preg_match('@[А-ю]@u',$pqashanswer)) and $pqashanswer!="") {print"";$error=1;} if((preg_match('@[A-z]@u',$pnumberanswer) or preg_match('@[Ա-ֆ]@u',$pnumberanswer) or preg_match('@[А-ю]@u',$pnumberanswer)) and $pnumberanswer!="") {print"";$error=1;} if((preg_match('@[A-z]@u',$pmijgnanswer) or preg_match('@[Ա-ֆ]@u',$pmijgnanswer) or preg_match('@[А-ю]@u',$pmijgnanswer)) and $pmijgnanswer!="") {print"";$error=1;} if((preg_match('@[A-z]@u',$pmphone1answer) or preg_match('@[Ա-ֆ]@u',$pmphone1answer) or preg_match('@[А-ю]@u',$pmphone1answer)) and $pmphone1answer!="") {print"";$error=1;} if((preg_match('@[A-z]@u',$pmmphone1answer) or preg_match('@[Ա-ֆ]@u',$pmmphone1answer) or preg_match('@[А-ю]@u',$pmmphone1answer)) and $pmmphone1answer!="") {print"";$error=1;} if((preg_match('@[A-z]@u',$pfmphone1answer) or preg_match('@[Ա-ֆ]@u',$pfmphone1answer) or preg_match('@[А-ю]@u',$pfmphone1answer)) and $pfmphone1answer!="") {print"";$error=1;} if (!eregi("^([0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-wyz][a-z](fo|g|l|m|mes|o|op|pa|ro|seum|t|u|v|z)?)$",$pmemailanswer) and $pmemailanswer != "") {print""; $error=1;} if (!eregi("^([0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-wyz][a-z](fo|g|l|m|mes|o|op|pa|ro|seum|t|u|v|z)?)$",$pfemailanswer) and $pfemailanswer != "") {print""; $error=1;} if($error==0) { mysql_query(" UPDATE `$table` SET `phasak` = '$phasakanswer', `pqash` = '$pqashanswer', `pnumber` = '$pnumberanswer', `pmijgn` = '$pmijgnanswer', `pmphone1` = '$pmphone1answer', `pmmphone1` = '$pmmphone1answer', `pmemail` = '$pmemailanswer', `pfmphone1` = '$pfmphone1answer', `pfemail` = '$pfemailanswer' WHERE `id`= '$id' and `pid`= '$pid' ") or die("Տեղի է ունեցել սխալ, տվյալների բազայում փոփոխություն կատարելու ժամանակ
".mysql_error()); print"";} $newp = mysql_query(" SELECT * FROM `$table` WHERE `pid` = '$pid' and `id` = '$id' ") or die("Կատարվել է սխալ, բազայից ինֆորմացիա ընդունելու ժամանակ:
".mysql_error()); if(mysql_num_rows($newp) > 0) {$q4=1; while($newp_list = mysql_fetch_assoc($newp)) { $phasak = $newp_list['phasak']; $pqash = $newp_list['pqash']; $pnumber = $newp_list['pnumber']; $pmijgn = $newp_list['pmijgn']; $pmphone1 = $newp_list['pmphone1']; $pmmphone1 = $newp_list['pmmphone1']; $pfmphone1 = $newp_list['pfmphone1']; $pmemail = $newp_list['pmemail']; $pmemail=strtolower($pmemail); $pfemail = $newp_list['pfemail']; $pfemail=strtolower($pfemail); if($pmphone1 != "0") { $printpmphone1 = str_split($pmphone1); $pmphone1print1=$printpmphone1[0]; $pmphone1print2=$printpmphone1[1]; $pmphone1print6=$printpmphone1[6];$pmphone1print7=$printpmphone1[7]; $pmphone1printverj="$pmphone1print1"."$pmphone1print2"."xxxx"."$pmphone1print6"."$pmphone1print7"; } else {$pmphone1printverj = "նշված չէ";} if($pmmphone1 != "0") { $printpmmphone1 = str_split($pmmphone1); $pmmphone1print1=$printpmmphone1[0]; $pmmphone1print2=$printpmmphone1[1]; $pmmphone1print6=$printpmmphone1[6];$pmmphone1print7=$printpmmphone1[7]; $pmmphone1printverj="$pmmphone1print1"."$pmmphone1print2"."xxxx"."$pmmphone1print6"."$pmmphone1print7"; } else {$pmmphone1printverj = "նշված չէ";} if($pfmphone1 != "0") { $printpfmphone1 = str_split($pfmphone1); $pfmphone1print1=$printpfmphone1[0]; $pfmphone1print2=$printpfmphone1[1]; $pfmphone1print6=$printpfmphone1[6];$pfmphone1print7=$printpfmphone1[7]; $pfmphone1printverj="$pfmphone1print1"."$pfmphone1print2"."xxxx"."$pfmphone1print6"."$pfmphone1print7"; } else {$pfmphone1printverj = "նշված չէ";} if($pmemail != "") { $pmemailprintverj=""; } else {$pmemailprintverj = "նշված չէ";} if($pfemail != "") { $pfemailprintverj=""; } else {$pfemailprintverj = "նշված չէ";} if($pmijgn != "") { $pmijgnprintverj=""; } else {$pmijgnprintverj = "նշված չէ";} if($pnumber != "") { $pnumberprintverj=""; } else {$pnumbernprintverj = "նշված չէ";} }} } print"

Տվյալների թարմացում

Խնդրում եմ մարզիկի հասակը գրել միայն թվերով կամ գրել անսխալ:
Խնդրում եմ մարզիկի քաշը գրել միայն թվերով կամ գրել անսխալ:
Խնդրում եմ մարզիկի խաղային համարը գրել միայն թվերով կամ գրել անսխալ:
Խնդրում եմ մարզիկի ուս. հաստատության միջին գնահատականը գրել միայն թվերով կամ գրել անսխալ:
Խնդրում եմ մարզիկի բջջային հեռախոսահամաը գրել միայն թվերով, միասին, առանց ավելորդ նիշերի կամ գրել անսխալ:
Խնդրում եմ մարզիկի մայրիկի բջջային հեռախոսահամաը գրել միայն թվերով, միասին, առանց ավելորդ նիշերի կամ գրել անսխալ:
Խնդրում եմ մարզիկի հայրիկի բջջային հեռախոսահամաը գրել միայն թվերով, միասին, առանց ավելորդ նիշերի կամ գրել անսխալ:
Խնդրում եմ մարզիկի մայրիկի էլեկտրոնայաին հասցեն գրել անսխալ:
Խնդրում եմ մարզիկի հայրիկի էլեկտրոնայաին հասցեն գրել անսխալ:
Գործողությունը կատարվել է անսխալ
 
Հասակ՝ սմ Այս տողում պետք է լրացնել մարզիկի հասակը, արտահայտած սմ-ներով, ցանկալի է թարմացնել առնվազն 6 ամիսը մեկ:
 
Քաշ՝ կգ Այս տողում պետք է լրացնել մարզիկի քաշը, արտահայտած կգ-ներով, ցանկալի է կշռվել առանց ավելորդ իրերի, ցանկալի է թարմացնել հասակի հետ միասին, առնվազն 6 ամիսը մեկ:
 
Խաղային համար՝ $pnumbernprintverj Այստեղ կարող եք ընտրել Ձեզ առավել ցանկալի խաղային համար, որը կնշվի Ձեր խաղային տվյալների մեջ: Ցանկալի է համարը լինի 4-ից մեծ և փոքր 100-ից:
 
Ուս. միջ. գնահ.՝ $pmijgnprintverj Այստեղ ցանկալի է նշել ուսումնական հաստատությունում, յուրաքանչյուր կիսամյակի ավարտին, ստացված գնահատականների միջին արդյունքը:
 
Բջջ. հեռ. (մարզիկ)՝ $pmphone1printverj Այս տողում պետք է լրացնել մարզիկի բջջային հեռախոսահամարը, եթե այն նշված չէ կամ փոխվել է և չի համապատասխանում կողամասում նշված համարին:
 
Բջջ. հեռ. (մայր)՝ $pmmphone1printverj Այս տողում պետք է լրացնել մարզիկի ծնողի՝ մայրիկի, բջջային հեռախոսահամարը եթե այն նշված չէ կամ փոխվել է և չի համապատասխանում կողամասում նշված համարին:
 
E-Mail հասցե (մայր)՝ $pmemailprintverj Այս տողում պետք է լրացնել մարզիկի ծնողի՝ մայրիկի, էլեկտրոնային փոստի հասցեն եթե այն նշված չէ կամ փոխվել է և չի համապատասխանում գրված հասցեին:
 
Բջջ. հեռ. (հայր)՝ $pfmphone1printverj Այս տողում պետք է լրացնել մարզիկի ծնողի՝ հայրիկի, բջջային հեռախոսահամարը եթե այն նշված չէ կամ փոխվել է և չի համապատասխանում կողամասում նշված համարին:
 
E-Mail հասցե (հայր)՝ $pfemailprintverj Այս տողում պետք է լրացնել մարզիկի ծնողի՝ hայրիկի, էլեկտրոնային փոստի հասցեն եթե այն նշված չէ կամ փոխվել է և չի համապատասխանում գրված հասցեին:
 
"; print"
"; } if(isset($_GET['option']) and $_GET['option'] == "offer") { $id=$_GET['id'];$pid=$_GET['pid'];$zuygkent=$_GET['zuygkent']; $newp = mysql_query(" SELECT * FROM `$table` WHERE `pid` = '$pid' and `id` = '$id' ") or die("Կատարվել է սխալ, բազայից ինֆորմացիա ընդունելու ժամանակ:
".mysql_error()); if(mysql_num_rows($newp) > 0) {$q4=1; while($newp_list = mysql_fetch_assoc($newp)) { $pname = $newp_list['pnamearm']; $plname = $newp_list['plnamearm']; }} print"
"; print"

$vernagir

"; print"
"; if(isset($_GET['sendoffer'])) { $error=0; $date=date("d.m.y"); $name = $_POST['name']; if($name == "") { print"";$error=1;} $message = $_POST['message']; if($message == "") { print"";$error=1;} $id = $_POST['id']; if($id == "") {print"";$error=1;} $pid = $_POST['pid']; if($pid == "") {print"";$error=1;} if($error==0) { mysql_query(" CREATE TABLE IF NOT EXISTS `playermessage` ( `id` int(11) NOT NULL auto_increment, `pid` varchar(20) default NULL, `name` text NOT NULL, `message` text NOT NULL, `date` text NOT NULL, `type` text NOT NULL, `zuygkent` varchar(10) default NULL, `status` text NOT NULL, UNIQUE KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8") or die("Կատարվել է սխալ տվյալների բազայում, որոշակի գործողություններ կատարելու ժամանակ
".mysql_error()); mysql_query(" INSERT INTO `playermessage` SET `pid` = '$pid', `name` = '$name', `message` = '$message', `date` = '$date', `type` = '', `zuygkent` = '$zuygkent', `status` = 'ok' ") or die("Տեղի է ունեցել սխալ, տվյալների բազայում փոփոխություն կատարելու ժամանակ
".mysql_error()); print"";} } print"

Առաջարկներ

Խնդրում եմ գրել հաղորդագրության հեղինակի անուն ազգանունը:
Խնդրում եմ գրել հաղորդագրության տեքստը:
Կատարվել է սխալ, խնդրում եմ կրկնել գործողությունը կամ տեղեկացնել սխալի մասին:
Կատարվել է սխալ, խնդրում եմ կրկնել գործողությունը կամ տեղեկացնել սխալի մասին:
Շնորհակալություն, հաղորդագրությունը ուղղարկվել է:
Անուն Ազգանուն
 
Հաղորդագրություն
"; print"
"; } if(isset($_GET['option']) and $_GET['option'] == "bd") { print"
"; print"

$vernagir

"; print"

Տվյալ ամսվա տարեդարձները

"; $datedhb=date("d"); $datemhb=date("m"); $datey=date("Y"); $datemhbplus = $datemhb + 1; $zuygkent = $_GET['zuygkent']; $weeks = array("Mon"=>"Երկ", "Tue"=>"Երք", "Wed"=>"Չոր", "Thu"=>"Հնգ", "Fri"=>"Ուրբ", "Sat"=>"Շաբ", "Sun"=>"Կիր"); $showhb = mysql_query(" SELECT * FROM `$table` WHERE `status` = 'ok' and `zuygkent` = '$zuygkent' and `amis` = '$datemhb' ORDER BY `amis`,`or` ") or die("Կատարվել է սխալ, բազայից ինֆորմացիա ընդունելու ժամանակ:
".mysql_error()); if(mysql_num_rows($showhb) > 0) {$qhb=0;$dates=""; while($showhb_list = mysql_fetch_assoc($showhb)) {$qhb++;$bcolorhb = ""; $dates=""; $hushum=""; $showhbpnamearm = $showhb_list['pnamearm']; $showhbplnamearm = $showhb_list['plnamearm']; $showhbpid = $showhb_list['pid']; $showhbvarc = $showhb_list['varc']; $showhbid = $showhb_list['id']; $showhbzuygkent = $showhb_list['zuygkent']; $showhbor = $showhb_list['or']; $showhbamis = $showhb_list['amis']; $showhbtari = $showhb_list['tari']; $showhbhbdstatus = $showhb_list['hbdstatus']; $showhbemail = $showhb_list['pemail']; $tarekanhb = $datey-$showhbtari; if($showhbamis != $datemhb or $showhbor != $datedhb) {$bcolorhb = "black";} if($showhbamis == $datemhb and $showhbor < $datedhb) {$bcolorhb = "white"; mysql_query(" UPDATE `$table` SET `hbdstatus` = 'congratulated' WHERE `id` = '$showhbid' and `hbdstatus` != 'congratulated' ") or die("Տեղի է ունեցել սխալ, տվյալների բազայում փոփոխություն կատարելու ժամանակ
".mysql_error()); if ($showhbhbdstatus != "congratulated" and $showhbemail != "") { $headers=null; // Настройки для отправки писем $headers.="Content-Type: text/html; charset=utf-8\r\n"; $headers.="From: $showhbpnamearm $showhbplnamearm \r\n"; $headers.="X-Mailer: PHP/".phpversion()."\r\n"; $hostm=$_SERVER["HTTP_HOST"]; $selfm=$_SERVER["PHP_SELF"]; $boardurl="http://$hostm$selfm"; //$boardurl=str_replace("guest.php", "index.php", $boardurl); $allmsg="
     
 
Շնորհավոր

«Պոլիտեխնիկ» բասկետբոլի թիմը շնորհավորում է քեզ, ծննդյան $tarekanhb-րդ տարեդարձի կապակցությամբ: Մաղթում ենք քաջառողջություն, երջանկություն, բազում նոր ձեռքբերումներ:

 
"; $managermsg = "$showhbpnamearm $showhbplnamearm - $tarekanhb"; // Отправляем письмо майлеру на съедение ;-) mail("haik200389@mail.ru", "Սրտանց շնորհավորում ենք", $allmsg, $headers); mail($manageremail, "Հետևող նամակ", $managermsg, $headers); } } if($showhbamis == $datemhb and $showhbor >= 3 and $showhbor - $datedhb == 3 ) {$bcolorhb = "yellow"; $hushum = "մնաց 3 օր";} if($showhbamis == $datemhb and $showhbor >= 3 and $showhbor - $datedhb == 2 ) {$bcolorhb = "yellow"; $hushum = "մնաց 2 օր";} if($showhbamis == $datemhb and $showhbor >= 3 and $showhbor - $datedhb == 1 ) {$bcolorhb = "red"; $hushum = "մնաց 1 օր";} if($showhbamis == $datemhb and $showhbor == $datedhb) {$bcolorhb = "green"; $hushum = "այսօր է";} if($showhbamis == $datemhb) {$hushumshut = $showhbor - $datedhb; if($hushum == "" and $hushumshut > 0) {$hushum = "մնաց $hushumshut օր";}} else {$hushum = "հաջորդ ամիս";} $months = array("01"=>"January","1"=>"January", "02"=>"February","2"=>"February", "03"=>"March","3"=>"March", "04"=>"April","4"=>"April", "05"=>"May","5"=>"May", "06"=>"June", "6"=>"June", "07"=>"July","7"=>"July", "08"=>"August","8"=>"August", "09"=>"September","9"=>"September", "10"=>"October", "11"=>"November", "12"=>"December"); $datemt=$months[$showhbamis]; $dates=date("D",strtotime("$showhbor $datemt $datey")); $dateor = $weeks[$dates]; print" "; if($showhbamis == $datemhb and $showhbor < $datedhb) { print" "; } else { print" "; } print"

$showhbpnamearm $showhbplnamearm
$showhbor".".$showhbamis".".$showhbtari"."թ ($dateor, $tarekanhb տ.)

$hushum

Շնորհավորել ենք
Շնորհավորել

"; if($qhb==3) {print"";$qhb=0;} } } print" "; print"
"; } if(isset($_GET['option']) and $_GET['option'] == "myteam") { $printcoach = mysql_query(" SELECT * FROM `$table` WHERE `vorpes` = 'marzich' and `status` = 'ok' ORDER BY `id` ") or die("Կատարվել է սխալ, բազայից ինֆորմացիա ընդունելու ժամանակ:
".mysql_error()); if(mysql_num_rows($printcoach) > 0) {$q4=0;$q5=0;$q6 = mysql_num_rows($printcoach)-1; while($printcoach_list = mysql_fetch_assoc($printcoach)) {if ($q4 == 5) {$tr = ""; $q4 = 0;} else {$tr = "";} $coachname=$printcoach_list['pname']; if ($q5 == 0 ) { $tablep = "

$vernagir

Մարզիչ
";} else {$tablep = "";} if ($q5 == $q6) { $tableend = "
";} else {$tableend = "";} printcoach($printcoach_list['id'], $printcoach_list['pid'], $printcoach_list['pnamearm'], $printcoach_list['plnamearm'], $printcoach_list['or'], $printcoach_list['amis'], $printcoach_list['tari'], $users, $tr, $tablep, $tableend );$q4++; $q5++; } } $aligs = $_GET['alig']; $bligs = $_GET['blig']; $cligs = $_GET['clig']; $dligs = $_GET['dlig']; $eligs = $_GET['elig']; $sex = $_GET['s']; $zuygkent=$_GET['zuygkent']; if($zuygkent != ""){ $printleader = ""; $q4 = 0; $printleader = mysql_query(" SELECT * FROM `$table` WHERE `zuygkent` = '$zuygkent' and `status` = 'ok' and `vorpes` = 'marzik' ORDER BY `tari` ") or die("Կատարվել է սխալ, բազայից ինֆորմացիա ընդունելու ժամանակ:
".mysql_error()); if(mysql_num_rows($printleader) > 0) {$q5=0;$q6 = mysql_num_rows($printleader)-1; while($printleader_list = mysql_fetch_assoc($printleader)) {if ($q4 == 5) {$tr = ""; $q4 = 0;} else {$tr = "";} if ($q5 == 0) { $tablep = "

$vernagir

$nametimakic"."ի թիմակիցները
";} else {$tablep = "";} if ($q5 == $q6) { $tableend = "
";} else {$tableend = "";} printleader($printleader_list['id'], $printleader_list['pid'], $printleader_list['pnamearm'], $printleader_list['plnamearm'], $printleader_list['pnumber'], $printleader_list['phasak'], $printleader_list['tari'], $printleader_list['aligue'], $printleader_list['bligue'], $printleader_list['cligue'], $printleader_list['dligue'], $printleader_list['eligue'], $printleader_list['sex'], $printleader_list['zuygkent'], $users, $tr, $tablep, $tableend );$q4++;$q5++; } } } print"
"; print"

$vernagir

"; print"
"; print" "; print"
"; print"
"; } /////////////////////////////////end of home page//////////////////////////////// include("theend.php"); ///////////////////////////////////Ads start/////////////////////////////////////// //include("ads.php"); if(!isset($_COOKIE['basketlogin'])) { include("adshorizon.php");} /////////////////////////////////Ads end///////////////////////////////////////////////// print" "; } } ?>