Пример #1
0
    echo \Extension\Form::email('account_email', isset($account_email) ? $account_email : '', array('id' => 'account_email', 'maxlength' => '255', 'class' => 'form-control', 'autocomplete' => 'off'));
    ?>
 
            </div>
        </div>
        <div class="form-group">
            <label for="account_captcha" class="col-sm-2 control-label"><?php 
    echo __('account_captcha');
    ?>
: <span class="txt_require">*</span></label>
            <div class="col-sm-5">
                <?php 
    echo \Asset::img('securimage_show.php', array('class' => 'captcha'));
    ?>
                <a href="#" onclick="$('.captcha').attr('src', '<?php 
    echo \Asset::get_file('securimage_show.php', 'img');
    ?>
?' + Math.random()); this.blur(); return false;" tabindex="-1"><?php 
    echo \Asset::img('reload.gif');
    ?>
</a>
                <div>
                    <?php 
    echo \Form::input('captcha', isset($captcha) ? $captcha : null, array('id' => 'account_captcha', 'class' => 'form-control input-captcha', 'placeholder' => __('account_captcha_enter_text_you_see_in_image')));
    ?>
 
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
Пример #2
0
<!--                --><?php 
//= (isset($navigation) ? $navigation : '' );
?>
            </nav>

        </div><!-- End /.row-->
        <div class="row">
            <h1 >
                <?php 
echo isset($pageTitle) ? $pageTitle : '';
?>
            </h1>
            <hr>
        </div><!-- End /.row-->
        <?php 
echo isset($content) ? $content : '';
?>

    </div>    <!-- End /#wrapper .container-fluid   -->

    <!--    Add path to AngularJS app-->
    <?php 
echo Asset::add_path('app/', 'ngApp', ['js', 'html']);
?>

    <!--  JS Libs  -->
    <?php 
echo Asset::js(['//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.js', 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css', 'https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.3/angular.min.js', 'https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.3/angular-animate.min.js', 'https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.12.1/ui-bootstrap-tpls.min.js', 'https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.15/angular-ui-router.min.js', Asset::get_file('app.module.js', 'ngApp'), Asset::get_file('common/frontCover/frontCoverController.js', 'ngApp'), Asset::get_file('common/sidebar/sidebarController.js', 'ngApp'), Asset::get_file('common/header/headerController.js', 'ngApp'), Asset::get_file('components/blog/blogController.js', 'ngApp'), Asset::get_file('components/authentication/authenticationController.js', 'ngApp')]);
?>
    </body>
</html>
Пример #3
0
?>
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
    <style media="screen">
    #logo{
        background-image: url(<?php 
echo Asset::get_file('logo.png', 'img');
?>
);
        background-size: contain;
    }

    .wallpaper{
        width: 100%;
        height: 100%;
        /*background-image: url(<?php 
echo Asset::get_file('b.png', 'img');
?>
);
        background-repeat: space;*/
    }
    </style>
  </head>
  <body>
      <div class="wallpaper">
        <div class="main">
          <header>
            <div class="header-top">
                <div class="navigator">
                  <ul class="navi-list">
                    <li><?php 
echo Html::anchor('index.php/top', 'TOP', array('class' => 'link'));