コード例 #1
0
			var role = "<?php 
echo $role;
?>
";
			if(role=="admin"){
				getUnacceptedUsers("no");
				getDropRequested("yes");
			}
			
			
		</script>
	</head>  
	<body>
		<div class="Canvas">
			<?php 
echo menuHeader(true, $nick, $role);
?>
			<br/><br/>
			<h>Aceptar Usuarios:</h>
			<hr/>
			<br/><br/>
			<div id="display" class="Display"></div>    
			<br/><br/>  
			<h>Dar de baja Usuarios:</h>
			<hr/>
			<br/><br/>
			<div id="display2" class="Display"></div>    
			<br/><br/>  
		</div>
	</body>
</html>
コード例 #2
0
ファイル: new_photo.php プロジェクト: jagumiel/bigou-Album
?>

<!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>Bigou - Crear Álbum</title>       
        <link href="style/bigou_style.css" rel="stylesheet" type="text/css" />
        <!--<link rel='stylesheet' type='text/css' media='only screen and (max-width: 480px)' href='estilos/smartphone.css'/>-->
	</head>  
    <body>
	<body>
		<div class="Canvas">
			<?php 
echo menuHeader(true, $nick, $_SESSION['role']);
?>
	
		
			<form class="Fancy" enctype="multipart/form-data" onSubmit='' action="./business_logic/newPhoto_bl.php" method="post" name="newPhoto" > 
				<fieldset>
					<legend>Subir Foto</legend>
					<label>Los campos marcados con (*) son obligatorios.</label><br/><br/>
					
					<label>(*) Álbum:</label> &emsp; 
					<select name="albumName">
						<?php 
$userAlbums = getAlbums($nick);
foreach ($userAlbums as $album) {
    echo "<option value='" . $album['name'] . "'>" . $album['name'] . "</option>";
}
コード例 #3
0
ファイル: profile.php プロジェクト: jagumiel/bigou-Album
					return false;
				}
				return true;		
			}
						
			function uploadPassword() {
			
			
			}
			
		</script>
	</head>  
	<body>
		<div class="Canvas">
			<?php 
echo menuHeader(isset($_SESSION['nick']), $_SESSION['nick'], $_SESSION['role']);
?>
			
			<div class="GeneralDisplay">	
				<h1><?php 
echo $targetNick;
?>
</h1>
				<?php 
echo profileTable($nick, $targetNick);
?>
				
				<h1>Álbumes de <?php 
echo $targetNick;
?>
</h1>
コード例 #4
0
ファイル: register.php プロジェクト: jagumiel/bigou-Album
    header("Location: main.php");
}
?>
<!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>Bigou - Registro</title>      
        <link href="style/bigou_style.css" rel="stylesheet" type="text/css" />
        <!--<link rel='stylesheet' type='text/css' media='only screen and (max-width: 480px)' href='estilos/smartphone.css'/>-->
	</head>  
	<body>
		<div class="Canvas">
			<?php 
echo menuHeader(false, "", "");
?>
	
			<form class="Fancy" name="register" enctype="multipart/form-data" onSubmit='' action="./business_logic/register_bl.php" method="post" >
				<fieldset>
					<legend>Registro</legend>
					<label>Los campos marcados con (*) son obligatorios.</label><br/><br/>
					<!-- &emsp; y &nbsp; son un char especial que nos permite poner espacios extra, como si fuera una tabulación -->
					
					<label>(*) Usuario:</label> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp;<label>(*) Email:</label> 
					<br/>
					<input type="text" name="nick" onBlur = "checkNick()">&emsp;&emsp;<input type="text" name="email" onBlur = "checkEmail()"> 
					
					<br/><br/>
					
					<label>(*) Contraseña:</label>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp;<label>(*) Repita la contraseña:</label>