| Server IP : 180.180.241.3 / Your IP : 216.73.216.80 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/administrator/components/com_youtubegallery/views/linksform/tmpl/ |
Upload File : |
<?php
// No direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.formvalidation');
JHtml::_('behavior.tooltip');
JHTML::addIncludePath(JPATH_SITE.DS.'administrator'.DS.'components'.DS.'com_youtubegallery'.DS.'helpers');
$document = JFactory::getDocument();
$document->addCustomTag('<link rel="stylesheet" href="components/com_youtubegallery/views/linksform/tmpl/wizard.css" type="text/css" />');
$document->addCustomTag('<script src="components/com_youtubegallery/views/linksform/tmpl/wizard.js"></script>');
?>
<form action="<?php echo 'index.php?option=com_youtubegallery&controller=linkslist&layout=edit&id='.(int) $this->row->id; ?>" method="post" name="adminForm" id="youtubegallery-form" class="form-validate">
<fieldset class="adminform">
<?php
if($this->row->id>0)
echo JText::_( 'ID' ).': '.$this->row->id;
?>
<legend><?php echo JText::_( 'Video List' ); ?></legend>
<p>
<?php echo JText::_( 'Category' ); ?>:
<?php
echo JHTML::_('YGCategory.render','catid', $this->row->catid, '', 'catid' );
?>
</p>
<p>
<?php echo JText::_( 'List Name' ); ?>: <input type="text" name="listname" id="listname" class="inputbox" size="40" value="<?php echo $this->row->listname; ?>" />
</p>
<p>
</p>
<div style="display: none;top:0;left:0;position:fixed;width:100%;height:100%;background-color: black; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5;position: fixed;" id="YGShade">
</div>
<div style="display: none;position:absolute;top:0px;left:0px;width:100%;height:100%;" id="YGDialog"></div>
<div style="display: block;height:530px;border:none;" id="videolisttab_0" class="videolisttab_content">
<?php //Layout Wizard ?> <h4>Video Links | <a href="javascript: SwithTabs('videolisttab_',2,1)">Source</a></h4>
<div style="margin-top:0px;height:450px;border: 1px dotted #000000;padding:10px;margin:0px;overflow: scroll -moz-scrollbars-vertical;overflow-x: hidden;overflow-y: auto;">
<table style="border:none;">
<tbody>
<tr>
<td style="vertical-align: middle;font-weight:bold;" valign="middle">Video Links</td>
<td style="vertical-align: middle;padding-left:20px;" valign="middle">
<div class="-wrapper" >
<button onclick="YGAddLink()" class="btn btn-small btn-success" type="button">
<span class="icon-new icon-white"></span><span style="margin-left:10px;">Add Link</span></button>
</div>
</td>
</tr>
</tbody>
</table>
<!-- video links - dynamic-->
<br/>
<div id="ygvideolinkstable"></div>
</div>
</div>
<div style="display: none;height:530px;border:none;" id="videolisttab_1" class="videolisttab_content">
<?php //Layout Wizard ?> <h4><a href="javascript: SwithTabs('videolisttab_',2,0);YGUpdatelinksTable();">Video Links</a> | Source</h4>
<div style="margin-top:0px;height:450px;border: 1px dotted #000000;padding:10px;margin:0px;overflow: scroll -moz-scrollbars-vertical;overflow-x: hidden;overflow-y: auto;">
<?php
$textarea_box='<textarea name="videolist" id="videolist" class="inputbox" cols="90" rows="30" >'.$this->row->videolist.'</textarea>';
require_once('doc.php');
?>
</div>
</div>
<br/>
<table style="border:none;">
<tbody>
<tr><td>Cache Update Period</td><td>:</td><td>
<?php
$periods=array();
$periods[]=array('vlu'=>0.041, 'text'=>'Check for New Videos Every Hour');
$periods[]=array('vlu'=>0.125, 'text'=>'Check for New Videos Every 3 Hours');
$periods[]=array('vlu'=>0.25, 'text'=>'Check for New Videos Every 6 Hours');
$periods[]=array('vlu'=>0.33, 'text'=>'Check for New Videos Every 8 Hours');
$periods[]=array('vlu'=>0.5, 'text'=>'Check for New Videos Every 12 Hours');
$periods[]=array('vlu'=>1, 'text'=>'Check for New Videos Every Day');
$periods[]=array('vlu'=>3, 'text'=>'Check for New Videos Every 3 Days');
$periods[]=array('vlu'=>7, 'text'=>'Check for New Videos Every Week');
$periods[]=array('vlu'=>10, 'text'=>'Check for New Videos Every 10 Days');
$periods[]=array('vlu'=>30, 'text'=>'Check for New Videos Every Month');
$periods[]=array('vlu'=>365, 'text'=>'Check for New Videos Every Year');
$periods[]=array('vlu'=>-0.041, 'text'=>'Refresh Video List Every Hour');
$periods[]=array('vlu'=>-0.125, 'text'=>'Refresh Video List Every 3 Hours');
$periods[]=array('vlu'=>-0.25, 'text'=>'Refresh Video List Every 6 Hours');
$periods[]=array('vlu'=>-0.33, 'text'=>'Refresh Video List Every 8 Hours');
$periods[]=array('vlu'=>-0.5, 'text'=>'Refresh Video List Every 12 Hours');
$periods[]=array('vlu'=>-1, 'text'=>'Refresh Video List Every Day');
$periods[]=array('vlu'=>-3, 'text'=>'Refresh Video List Every 3 Days');
$periods[]=array('vlu'=>-7, 'text'=>'Refresh Video List Every Week');
$periods[]=array('vlu'=>-10, 'text'=>'Refresh Video List Every 10 Days');
$periods[]=array('vlu'=>-30, 'text'=>'Refresh Video List Every Month');
$periods[]=array('vlu'=>-365, 'text'=>'Refresh Video List Every Year');
echo JHTML::_('select.genericlist', $periods, 'updateperiod', 'class="inputbox"', 'vlu', 'text', $this->row->updateperiod); ?>
</td></tr>
</tbody>
</table>
<script>
YGSetVLTA('videolist');
YGUpdatelinksTable();
</script>
</fieldset>
<div>
<input type="hidden" name="task" value="linkslist.edit" />
<input type="hidden" name="id" value="<?php echo $this->row->id; ?>" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>