<?php
    echo "        <table border=0><tr><td>\n";
    $rekord_kepeslap = olvas_asszociativ($lekerdezes_galeria);
    $kepalairas = $rekord_kepeslap[helynev_nev] != '' ? $rekord_kepeslap[mu_cim]." (".$rekord_kepeslap[helynev_nev].")" : $rekord_kepeslap[mu_cim]." (".$rekord_kepeslap[cim_nev].")";
    echo "          <img title=\"".$kepalairas."\" src=\"".$dir['modules']."/imagecard.php?id=".$id."\" class=\"kepeslap\"><br>\n";
?>
        </td><td valign="top" width="420">
          <br>
          <table>
          <form name="kepeslapkuldes" method="get" action="<?php echo $php;?>">
          <input type="hidden" name="do" value="sendpostcard">
          <input type="hidden" name="mode" value="send">
          <input type="hidden" name="id" value="<?php echo $id;?>">
          <input type="hidden" name="back" value="<?php echo $_SERVER['HTTP_REFERER'];?>">
          <tr>
            <td class="szoveg"><?php echo ucfirst($szoveg['cimzettnev']);?>:</td>
            <td><input type="text" name="cnev" value="<?php echo $_REQUEST['cnev'];?>" title="<?php echo ucfirst($szoveg['cimzettnev']);?>" size="20" maxlength="50" class="kereses"></td>
          <tr>
            <td class="szoveg"><?php echo ucfirst($szoveg['cimzettemail']);?>:</td>
            <td><input type="text" name="cemail" value="<?php echo $_REQUEST['cemail'];?>" title="<?php echo ucfirst($szoveg['cimzettemail']);?>" size="20" maxlength="50" class="kereses"></td>
          </tr>
          <tr>
            <td class="szoveg"><?php echo ucfirst($szoveg['feladonev']);?>:</td>
            <td><input type="text" name="fnev" value="<?php echo $_REQUEST['fnev'];?>" title="<?php echo ucfirst($szoveg['feladonev']);?>" size="20" maxlength="50" class="kereses"></td>
          <tr>
            <td class="szoveg"><?php echo ucfirst($szoveg['feladoemail']);?>:</td>
            <td><input type="text" name="femail" value="<?php echo $_REQUEST['femail'];?>" title="<?php echo ucfirst($szoveg['feladoemail']);?>" size="20" maxlength="50" class="kereses"></td>
          </tr>
          <tr>
            <td class="szoveg" valign="top"><?php echo ucfirst($szoveg['uzenet']);?>:</td>
            <td><textarea name="uzenet" title="<?php echo ucfirst($szoveg['uezenet']);?>" cols="60" rows="10" class="uzenet" onKeyDown="betuszamol(this.form)" onKeyUp="betuszamol(this.form)"><?php echo $_REQUEST['uzenet'];?></textarea><br>
                <input name="hossz" type="text" size="2" value="255" readonly> betű írható.
            </td>
          </tr><tr>
            <td colspan=2 align="center">
              <input type="button" onClick="if (ellenoriz(this.form) == -1) postcardpopup('<?php echo $dir['modules']."/imagecard.php?id=".$id;?>',this.form);" value="<?php echo ucfirst($szoveg['gomb_elonezet']);?>" class="keresesgomb">
              <input type="button" onClick="if (ellenoriz(this.form) == -1) submit(this.form);" value="<?php echo ucfirst($szoveg['gomb_kuldes']);?>" class="keresesgomb">
            </td>
          </tr>
          </table></form>
      </td></tr></table>
