<?
include("area_riservata.php");
require ("../include/valori.php");
?>
<br />
<center>I campi contrassegnati in <strong class="obbligatorio">verde *</strong> sono obbligatori</center>
<br /><br />
<form action="<?php $PHP_SELF ?>" method="POST" enctype="multipart/form-data">
<fieldset class="form_admin">
<legend>Coppia di Sposi *</legend>
<div id="form_admin">
<center>
<span class="obbligatorio">
<select name="id_lista">
<option value=""></option>
<?
require ("../include/valori.php");
mysql_connect("$DBHost","$DBUser","$DBPass");
mysql_select_db("$DBName");
$result2=mysql_query("SELECT * FROM sposi ORDER BY id DESC");
while ($row2= mysql_fetch_array ($result2)) {
?>
<option value="<? echo $row2['id'] ?>" <? if ($id_lista==$row2['id']){ echo 'selected="selected"'; } ?> /><? echo html_entity_decode($row2['nome_sposo'])." - ".html_entity_decode($row2['nome_sposa']); ?></option>
<?
}
?>
</select>
</span>
</center>
</div>
</fieldset>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Amministrazione</title>
</head>
<link href="../css/admin.css" rel="stylesheet" type="text/css" />
<body>
<div id="page">
<div class="img_page"></div>
<div class="form_page">
<h1><a href="index.php">Pannello d'Amministrazione</a></h1>
<h3><strong>Venduto lista</strong>
<?php include "footer.php" ?>
</body>
</html>
</body>
</html>