Example #1
0
$helper_product = TiendaHelperBase::getInstance('product');
$name = @$row->first_name . ' ' . @$row->last_name;
if ($name == ' ') {
    $address = $helper_user->getPrimaryAddress($row->id, 'billing');
    if (is_object($address)) {
        $name = $address->first_name . ' ' . $address->last_name;
    }
}
?>

<form action="<?php 
echo JRoute::_(@$form['action']);
?>
" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data">
<?php 
echo TiendaGrid::pagetooltip('users_view');
?>
<table width="100%" border="0">
	<tr>
		<td colspan="2">
			<h2 style="padding:0px; margin:0px;"><?php 
echo @$name;
?>
</h2>
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<fieldset>
				<legend><?php 
echo JText::_('COM_TIENDA_BASIC_USER_INFO');
Example #2
0
                            
<h1 style="margin-left: 2%; margin-top: 2%;"><?php 
echo JText::_('COM_TIENDA_MANAGE_FILES_FOR');
?>
: <?php 
echo $row->product_name;
?>
</h1>

<form action="<?php 
echo JRoute::_(@$form['action']);
?>
" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data">

	<?php 
echo TiendaGrid::pagetooltip(JRequest::getVar('view'));
?>
<div class="note" style="width: 96%; margin-left: auto; margin-right: auto;">
    <div style="float: left; font-size: 1.3em; font-weight: bold; height: 30px;"><?php 
echo JText::_('COM_TIENDA_UPLOAD_A_NEW_FILE');
?>
</div>
    <div style="float: right;">
        <button class="btn btn-primary" onclick="document.getElementById('task').value='createfile'; document.adminForm.submit();"><?php 
echo JText::_('COM_TIENDA_UPLOAD_FILE');
?>
</button>
    </div>
    <div class="reset"></div>

    <table class="table table-striped table-bordered">
Example #3
0
<?php

defined('_JEXEC') or die('Restricted access');
$form = @$this->form;
$row = @$this->row;
?>

<form action="<?php 
echo JRoute::_(@$form['action']);
?>
" method="post" class="adminform" name="adminForm" enctype="multipart/form-data" >

	<?php 
echo TiendaGrid::pagetooltip('products_view');
?>

    <table style="width: 100%;">
    <tr>
        <td style="width: 70%; max-width: 70%; vertical-align: top; padding: 0px 5px 0px 0px;">


		<fieldset>
			<legend><?php 
echo JText::_('COM_TIENDA_PRODUCT');
?>
</legend>
				<table class="admintable">
					<tr>
						<td width="100" align="right" class="key">
							<?php 
echo JText::_('COM_TIENDA_NAME');