<?php defined('_JEXEC') or die('Restricted access'); ?>


<fieldset>
<legend><?php echo JText::_('PHOCAGALLERY_BACKGROUND_IMAGE'). ' - '. JText::_('PHOCAGALLERY_SMALL_THUMBNAIL');?></legend>

<div style="float:right;position:relative">
<?php echo JHTML::_('image.site',  'image-bg-image.png', '/components/com_phocagallery/assets/images/', NULL, NULL, '' ); ?>
</div>

<form  action="index.php" method="post" name="adminFormBackgroundImageSmall">
<table class="admintable">
<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'Small Image Width' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="siw" id="siw" size="12" maxlength="8" value="<?php echo $this->tmpl['siw'];?>" /></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'Small Image Height' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="sih" id="sih" size="12" maxlength="8" value="<?php echo $this->tmpl['sih'];?>" /></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'PHOCAGALLERY_SITE_BACKGROUND_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="ssbgc" id="ssbgc" size="12" maxlength="8" value="<?php echo $this->tmpl['ssbgc'];?>" /> <span style="margin-left:10px" onclick="openPicker('ssbgc')"  class="picker_buttons"><?php echo  JText::_('Pick color'); ?></span> (1)</td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'PHOCAGALLERY_IMAGE_BACKGROUND_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="sibgc" id="sibgc" size="12" maxlength="8" value="<?php echo $this->tmpl['sibgc'];?>" /> <span style="margin-left:10px" onclick="openPicker('sibgc')"  class="picker_buttons"><?php echo  JText::_('Pick color'); ?></span> (2)</td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'PHOCAGALLERY_IMAGE_BORDER_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="sibrdc" id="sibrdc" size="12" maxlength="8" value="<?php echo $this->tmpl['sibrdc'];?>" /> <span style="margin-left:10px" onclick="openPicker('sibrdc')"  class="picker_buttons"><?php echo  JText::_('Pick color'); ?></span> (3)</td>
</tr>

<tr>
	<td valign="middle" align="right" class="key"><?php echo JText::_( 'PHOCAGALLERY_IMAGE_EFFECT' ); ?>:</td>
	<td valign="middle"><select id="sie" name="sie">
		<option value="0" <?php if ($this->tmpl['sie'] == 0) {echo 'selected="selected"';} ?> ><?php echo JText::_('PHOCAGALLERY_NONE')?></option>
		<option value="1" <?php if ($this->tmpl['sie'] == 1) {echo 'selected="selected"';} ?> ><?php echo JText::_('PHOCAGALLERY_DROP_SHADOW')?></option>
		<option value="2" <?php if ($this->tmpl['sie'] == 2) {echo 'selected="selected"';} ?> ><?php echo JText::_('PHOCAGALLERY_DROP_SHADOW_TR')?></option>
		<option value="3" <?php if ($this->tmpl['sie'] == 3) {echo 'selected="selected"';} ?> ><?php echo JText::_('PHOCAGALLERY_OUTER_GLOW')?></option>
	</select></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'PHOCAGALLERY_IMAGE_EFFECT_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="siec" id="siec" size="12" maxlength="8" value="<?php echo $this->tmpl['siec'];?>" /> <span style="margin-left:10px" onclick="openPicker('siec')"  class="picker_buttons"><?php echo  JText::_('Pick color'); ?></span> (4)</td>
</tr>


<tr>
	<td valign="middle" align="right" class="key"><?php echo JText::_( 'PHOCAGALLERY_CURRENT_IMAGE' ); ?>:</td>
	<td valign="middle">
	<?php echo '(shadow3.'.$this->tmpl['formaticon'].')';?>
	<br />
	<?php echo JHTML::_('image', 'components/com_phocagallery/assets/images/shadow3.'.$this->tmpl['formaticon'] .'?imagesid='.md5(uniqid(time())),'');?>
	</td>
</tr>
</table>
<div style="text-align:right"><input type="submit" name="sisubmit" value="<?php echo JText::_('PHOCAGALLERY_CREATE_BG_IMAGE');?>" /></div>
	
<input type="hidden" name="type" value="" />
<input type="hidden" name="task" value="bgimagesmall" />
<input type="hidden" name="option" value="com_phocagallery" />
<input type="hidden" name="controller" value="phocagalleryt" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>

</fieldset>



<fieldset>
<legend><?php echo JText::_('PHOCAGALLERY_BACKGROUND_IMAGE'). ' - '. JText::_('PHOCAGALLERY_MEDIUM_THUMBNAIL');?></legend>

<div style="float:right;position:relative">
<?php echo JHTML::_('image.site',  'image-bg-image.png', '/components/com_phocagallery/assets/images/', NULL, NULL, '' ); ?>
</div>

<form  action="index.php" method="post" name="adminFormBackgroundImageMedium">
<table class="admintable">
<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'Medium Image Width' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="miw" id="miw" size="12" maxlength="8" value="<?php echo $this->tmpl['miw'];?>" /></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'Medium Image Height' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="mih" id="mih" size="12" maxlength="8" value="<?php echo $this->tmpl['mih'];?>" /></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'PHOCAGALLERY_SITE_BACKGROUND_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="msbgc" id="msbgc" size="12" maxlength="8" value="<?php echo $this->tmpl['msbgc'];?>" /> <span style="margin-left:10px" onclick="openPicker('msbgc')"  class="picker_buttons"><?php echo  JText::_('Pick color'); ?></span> (1)</td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'PHOCAGALLERY_IMAGE_BACKGROUND_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="mibgc" id="mibgc" size="12" maxlength="8" value="<?php echo $this->tmpl['mibgc'];?>" /> <span style="margin-left:10px" onclick="openPicker('mibgc')"  class="picker_buttons"><?php echo  JText::_('Pick color'); ?></span> (2)</td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'PHOCAGALLERY_IMAGE_BORDER_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="mibrdc" id="mibrdc" size="12" maxlength="8" value="<?php echo $this->tmpl['mibrdc'];?>" /> <span style="margin-left:10px" onclick="openPicker('mibrdc')"  class="picker_buttons"><?php echo  JText::_('Pick color'); ?></span> (3)</td>
</tr>

<tr>
	<td valign="middle" align="right" class="key"><?php echo JText::_( 'PHOCAGALLERY_IMAGE_EFFECT' ); ?>:</td>
	<td valign="middle"><select id="mie" name="mie">
		<option value="0" <?php if ($this->tmpl['mie'] == 0) {echo 'selected="selected"';} ?> ><?php echo JText::_('PHOCAGALLERY_NONE')?></option>
		<option value="1" <?php if ($this->tmpl['mie'] == 1) {echo 'selected="selected"';} ?> ><?php echo JText::_('PHOCAGALLERY_DROP_SHADOW')?></option>
		<option value="2" <?php if ($this->tmpl['mie'] == 2) {echo 'selected="selected"';} ?> ><?php echo JText::_('PHOCAGALLERY_DROP_SHADOW_TR')?></option>
		<option value="3" <?php if ($this->tmpl['mie'] == 3) {echo 'selected="selected"';} ?> ><?php echo JText::_('PHOCAGALLERY_OUTER_GLOW')?></option>
	</select></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'PHOCAGALLERY_IMAGE_EFFECT_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="miec" id="miec" size="12" maxlength="8" value="<?php echo $this->tmpl['miec'];?>" /> <span style="margin-left:10px" onclick="openPicker('miec')"  class="picker_buttons"><?php echo  JText::_('Pick color'); ?></span> (4)</td>
</tr>


<tr>
	<td valign="middle" align="right" class="key"><?php echo JText::_( 'PHOCAGALLERY_CURRENT_IMAGE' ); ?>:</td>
	<td valign="middle">
	<?php echo '(shadow3.'.$this->tmpl['formaticon'].')';?>
	<br />
	<?php echo JHTML::_('image', 'components/com_phocagallery/assets/images/shadow1.'.$this->tmpl['formaticon'] .'?imagesid='.md5(uniqid(time())),'');?>
	</td>
</tr>
</table>
<div style="text-align:right"><input type="submit" name="misubmit" value="<?php echo JText::_('PHOCAGALLERY_CREATE_BG_IMAGE');?>" /></div>
	
<input type="hidden" name="type" value="" />
<input type="hidden" name="task" value="bgimagemedium" />
<input type="hidden" name="option" value="com_phocagallery" />
<input type="hidden" name="controller" value="phocagalleryt" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>

</fieldset>


