View file ds-c-wmzo_ru/modules/photo/inc/gallery_form.php

File size: 1.15Kb
<?
if (isset($user) && $user['id'] == $ank['id'])
{
	if (isset($_GET['act']) && $_GET['act'] == 'create')
	{
		?>
		<form action="?act=create&amp;ok" method="post">
		<div class="mess">
		
		<input placeholder="Название" type="text" name="name" value="" /><br />
		<textarea placeholder="Описание" name="opis"></textarea><br />
		<input placeholder="Пароль" type="text" name="pass" value="" /></div>

		<div class="mess">
		Могут смотреть:<br />
		<input name="privat" type="radio" checked="checked" value="0" />Все 
		<input name="privat" type="radio" value="1" />Друзья 
		<input name="privat" type="radio" value="2" />Только я</div>

		<div class="mess">
		Могут комментировать:<br />
		<input name="privat_komm" type="radio" checked="checked" value="0" />Все 
		<input name="privat_komm" type="radio" value="1" />Друзья 
		<input name="privat_komm" type="radio" value="2" />Только я</div>
		
		<div class="mess">
		<input class="submit" type="submit" value="Добавить"></form>
		</div>
		<?

		include_once '../../sys/inc/tfoot.php';
		exit;
	}
}
?>