Пример #1
0
				<span class="icon-next"></span>
			</a>
		</div>
			</div>
			<!--End of adblock-->
			<div class="content_block">
				<div id="content">
									<?php 
//$settings = new SliderSettings();
include_once "phplibs/class_item.php";
$n = 5;
//кол-во товара на одну строку
$width = 200;
$height = 270;
$tovar = new Tovar();
$toolbar = new ToolBar();
$toolbar->construct();
$tovar->setSize($width, $height);
$tovar->setStyle("#FF7373");
$tovar->setMargin($n * $width + 20 * $n);
//задать равноудаленность для товаров
$odrer_query = "";
$title = "Главная";
switch ($_GET['age']) {
    case "jun":
        $odrer_query .= " WHERE `pet_age_id` = 1";
        break;
    case "pregnant":
        $odrer_query .= " WHERE `pet_age_id` = 2";
        break;
    case "adults":
Пример #2
0
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * HUBzero is a registered trademark of Purdue University.
 *
 * @package   hubzero-cms
 * @copyright Copyright 2005-2015 HUBzero Foundation, LLC.
 * @license   http://opensource.org/licenses/MIT MIT
 */
// No direct access
defined('_HZEXEC_') or die;
Toolbar::title(Lang::txt('COM_TOOLS') . ': ' . Lang::txt('COM_TOOLS_ZONES'), 'tools.png');
Toolbar::spacer();
Toolbar::addNew();
ToolBar::makeDefault('default', 'COM_TOOLS_MAKE_DEFAULT');
Toolbar::deleteList();
Toolbar::spacer();
Toolbar::help('zones');
?>
<script type="text/javascript">
function submitbutton(pressbutton)
{
	var form = document.adminForm;

	if (pressbutton == 'cancel') {
		submitform(pressbutton);
		return;
	}

	submitform(pressbutton);
Пример #3
0
 /**
  * @return string
  */
 function ToHTML()
 {
     return $this->_top->ToHTML() . $this->_hideDivs . $this->_toolbar->ToHTML() . $this->_center->ToHTML() . $this->_foot->ToHTML();
 }