HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/irk2.ru/templates/skin/new/actions/ActionBlog/add.tpl
{if $sEvent=='add'}
	{include file='header.tpl' menu='topic_action' showWhiteBack=true}
{else}
	{include file='header.tpl' menu='blog_edit' showWhiteBack=true}
{/if}

		{if $sEvent=='add'}
			<h1>{$aLang.blog_create}</h1>
		{else}
			<h1>{$aLang.blog_admin}: <a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_BLOG}/{$oBlogEdit->getUrl()}/">{$oBlogEdit->getTitle()}</a></h1>
		{/if}
		<form action="" method="POST" enctype="multipart/form-data">
								
			<p><label for="blog_title">{$aLang.blog_create_title}:</label><br />
			<input type="text" id="blog_title" name="blog_title" value="{$_aRequest.blog_title}" class="w100p" /><br />
			<span class="form_note">{$aLang.blog_create_title_notice}</span></p>

			<p><label for="blog_url">{$aLang.blog_create_url}:</label><br />
			<input type="text" id="blog_url" name="blog_url" value="{$_aRequest.blog_url}" class="w100p"  {if $_aRequest.blog_id}disabled{/if} /><br />
			<span class="form_note">{$aLang.blog_create_url_notice}</span></p>
			
			<p><label for="blog_type">{$aLang.blog_create_type}:</label><br />
			<select name="blog_type" id="blog_type" onChange="">
				<option value="open">{$aLang.blog_create_type_open}</option>
			</select><br />
			<span class="form_note">{$aLang.blog_create_type_notice}</span></p>

			<p><label for="blog_description">{$aLang.blog_create_description}:</label><br />
			<textarea name="blog_description" id="blog_description" rows="20">{$_aRequest.blog_description}</textarea><br />
			<span class="form_note">{$aLang.blog_create_description_notice}</span></p>
			
			<p><label for="blog_limit_rating_topic">{$aLang.blog_create_rating}:</label><br />
			<input type="text" id="blog_limit_rating_topic" name="blog_limit_rating_topic" value="{$_aRequest.blog_limit_rating_topic}" class="w100p" /><br />
			<span class="form_note">{$aLang.blog_create_rating_notice}</span></p>
				
			<p>
			{if $oBlogEdit and $oBlogEdit->getAvatar()}
				<img src="{$oBlogEdit->getAvatarPath(48)}" />
				<img src="{$oBlogEdit->getAvatarPath(24)}" />
				<label for="avatar_delete"><input type="checkbox" id="avatar_delete" name="avatar_delete" value="on"> &mdash; {$aLang.blog_create_avatar_delete}</label><br /><br />
			{/if}
			<label for="avatar">{$aLang.blog_create_avatar}:</label><br />
			<input type="file" name="avatar" id="avatar"></p>
							
			<p><input type="submit" name="submit_blog_add" value="{$aLang.blog_create_submit}">						
			<input type="hidden" name="blog_id" value="{$_aRequest.blog_id}"></p>
			
		</form>

{include file='footer.tpl'}