I Candidati della Lombardia FNSI

{source}
<!– You can place html anywhere within the source tags —>

<script language=”javascript” type=”text/javascript”>
    // You can place JavaScript like this
    
</script>
<?php

$link = mysql_connect(‘62.149.150.85’, ‘Sql227016’, ‘36699b60’);
if (!$link) {
die(‘Could not connect: ‘ . mysql_error());
}
$db_selected = mysql_select_db(‘Sql227016_2’, $link);
if (!$db_selected) {
die (‘Can\’t use connect to database : ‘ . mysql_error());
}

$q = “Select nome, cognome, Testata FROM jos_candidati_per_regione WHERE regione=’Lombardia’ AND tipologia = ‘0’ AND FNSI=’1′”;
echo “<h1>Professionali <br/></h1>”;
$result = mysql_query($q);
while($row = mysql_fetch_array($result)){

?>
<form name=”nomec”  method=”post”  >
<a href=”<a href=”#” onClick=”MyWindow=window.open(‘https://www.senzabavaglio.info/ele10/scheda.php?Nome=<?php $nome = urlencode ($row[0]); $nome = str_replace(‘%28’, ‘(‘, $nome) ; $nome = str_replace(‘+’, ‘ ‘, $nome) ; $nome = str_replace(‘%29’, ‘) ‘, $nome) ; $nome = str_replace(‘%27’, ”, $nome); echo $nome; ?>&Cognome=<?php $cognome= urlencode ($row[1]); $cognome = str_replace(‘%29’, ‘) ‘, $cognome) ; $cognome = str_replace(‘%28’, ‘(‘, $cognome) ;  $cognome = str_replace(‘+’, ‘ ‘, $cognome) ; $cognome = str_replace(‘%27′, ”, $cognome) ; echo $cognome; ?> &Regione=Lombardia’,’MyWindow’,’toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=570,height=630,left=450,top=10′); return false;”><input  type:”text” value=”<?php echo $row[0].” “. $row[1].”, “.$row[2] ; ?>” readonly=”readonly” name=”nomec” style=”width: 600px;”> </a>
</form>
<?php
}//chiusura ciclo while

$parametro =1;
$q = “Select nome, cognome, testata  FROM jos_candidati_per_regione WHERE regione=’Lombardia’ AND tipologia = ‘1’ AND FNSI=’1′”;
echo “<h1>Collaboratori <br/></h1>”;
$result = mysql_query($q);
while($row = mysql_fetch_array($result)){

?>
<form name=”nomec”  method=”post”  >
<a href=”<a href=”#” onClick=”MyWindow=window.open(‘https://www.senzabavaglio.info/ele10/scheda.php?Nome=<?php $nome = urlencode ($row[0]); $nome = str_replace(‘%28’, ‘(‘, $nome) ; $nome = str_replace(‘+’, ‘ ‘, $nome) ; $nome = str_replace(‘%29’, ‘) ‘, $nome) ; $nome = str_replace(‘%27’, ”, $nome); echo $nome; ?>&Cognome=<?php $cognome= urlencode ($row[1]); $cognome = str_replace(‘%29’, ‘) ‘, $cognome) ; $cognome = str_replace(‘%28’, ‘(‘, $cognome) ;  $cognome = str_replace(‘+’, ‘ ‘, $cognome) ; $cognome = str_replace(‘%27′, ”, $cognome) ; echo $cognome; ?> &Regione=Lombardia’,’MyWindow’,’toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=570,height=630,left=450,top=10′); return false;”><input  type:”text” value=”<?php echo $row[0].” “. $row[1].”, “.$row[2] ; ?>” readonly=”readonly” name=”nomec” style=”width: 600px;”> </a>
</form>
<?php
}
//if ($_POST[‘nomec’]) {
echo $_POST[‘nomec’];
//}

?>
{/source}

Condividi questo articolo

more recommended stories