Changeset 72


Ignore:
Timestamp:
Apr 2, 2010, 10:57:16 AM (15 years ago)
Author:
roby
Message:

client: risistemata funzione contatti e riordinato output di 02_risultati

Location:
trunk/client/modules/Elezioni
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/blocchi/02_risultati.php

    r42 r72  
    1919    if ($gruppo!='')echo "<h5>Risultati </h5>";
    2020    //$content .="<div style=\"text-align:left;\"><strong>$descr_cons</strong></div><br/>";
     21    echo "<table>";
    2122    for($x=0;$x<count($gruppo);$x++){
    22         echo "<strong><big>&middot;</big></strong>".$gruppo[$x]." <b><span style=\"color:#ff0000;\">".$pro[$x] ."%</span></b> <br />\n";
     23        echo "<tr><td><strong><big>&middot;</big></strong></td><td>".$gruppo[$x]." </td><td><b><span style=\"color:#ff0000;\">".$pro[$x] ."%</span></b></td></tr>\n";
    2324    }
     25    echo "</table>";
    2426
    2527  //echo $content;
  • trunk/client/modules/Elezioni/contatti.php

    r2 r72  
    1111    die ("You can't access this file directly...");
    1212}
     13if (isset($param['sender_name'])) get_magic_quotes_gpc() ? $sender_name=$param['sender_name'] : $sender_name=addslashes($param['sender_name']); else $sender_name="";
     14if (isset($param['sender_email'])) get_magic_quotes_gpc() ? $sender_email=$param['sender_email'] : $sender_email=addslashes($param['sender_email']); else $sender_email="";
     15if (isset($param['opi'])) get_magic_quotes_gpc() ? $opi=$param['opi'] : $opi=addslashes($param['opi']); else $opi="";
     16if (isset($param['message'])) get_magic_quotes_gpc() ? $message=$param['message'] : $message=addslashes($param['message']); else $message="";
    1317
    1418$ip = $_SERVER["REMOTE_ADDR"];
     
    3943    echo "$form_block";
    4044} elseif ($opi == "ds") {
     45        $send="";
     46        $subject="From EleOnLine";
    4147    if ($sender_name == "") {
    4248        $name_err = "<font class=\"message\"><i>"._FBENTERNAME."</i></font><br/><br/>";
Note: See TracChangeset for help on using the changeset viewer.