当前位置: 首页>>代码示例>>PHP>>正文


PHP Router::webroot方法代码示例

本文整理汇总了PHP中Router::webroot方法的典型用法代码示例。如果您正苦于以下问题:PHP Router::webroot方法的具体用法?PHP Router::webroot怎么用?PHP Router::webroot使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Router的用法示例。


在下文中一共展示了Router::webroot方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: foreach

?>
" class="Scrollbar-Handle" />
		</div>
		<img src="<?php 
echo Router::webroot('utilsE/img/down_arrow.gif');
?>
" class="Scrollbar-Down" />
	</div>
	<div id="element" style="position:absolute; top:0;">
		<?php 
foreach ($Urgency as $k => $v) {
    echo '<div class="img">';
    if (!empty($v->image_path)) {
        echo '<img src="' . Router::webroot($v->image_path) . '" alt="Pharmacie Renard-Thauvin - ' . $v->name . '" />';
    } else {
        echo '<img src="' . Router::webroot('utils/img/non_image.gif') . '" alt="Pharmacie Renard-Thauvin - ' . $v->name . '" />';
    }
    ?>
			</div>
		<div class="txt">
			<span style="color:red; font-size:20px;"><?php 
    echo $v->name;
    ?>
</span>
			<br />
			<span class="sstxt"><?php 
    echo $v->information;
    ?>
</span>
			<br />
			<div class="telImg"></div>
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:index.php

示例2:

?>
"></script>
	    <script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/bootstrap-alert.js');
?>
"></script>
	    <script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/bootstrap-dataTable.js');
?>
"></script>
	   	<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/bootstrap-datetimepicker.js');
?>
"></script>
		<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/jquery.fancybox.pack.js');
?>
"></script>
        <script type="text/javascript">
			$('.iframe-btn').fancybox({	
				width: '80%',
				height: '90%',
				type: 'iframe',
				autoSize : false,
			});
			
           $(function(){
				$('#inputpublicationpicker').datetimepicker({
					language:  'fr',
					weekStart: 1,
					todayBtn:  1,
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:admin.php

示例3: array

echo $this->Form->input('content', 'Contenu', array('type' => 'textarea', 'rows' => 10, 'cols' => 7));
?>
	<?php 
echo $this->Form->input('online', 'En ligne', array('type' => 'checkbox'));
?>
	<div class="form-group">
    	<div class="col-sm-offset-2 col-sm-10">
      		<button type="submit" class="btn btn-primary">Modifier</button>
    	</div>
  	</div>
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- CKEditor -->
<script src="<?php 
echo Router::webroot('js/ckeditor/ckeditor.js');
?>
"></script>
<script src="<?php 
echo Router::webroot('js/ckeditor/adapters/jquery.js');
?>
"></script>
<script type="text/javascript">
	var editor = CKEDITOR.replace( 'content', {
		filebrowserBrowseUrl: '<?php 
echo Router::url('admin/medias/index/' . $id);
?>
',
		filebrowserWindowWidth: '800',
    	filebrowserWindowHeight: '550'
	});
</script>
开发者ID:EmmanuelMarti,项目名称:Koffee4Free,代码行数:31,代码来源:admin_edit.php

示例4: jQuery

?>
			    </ul>
		    </div><!-- /.navbar-collapse -->
	  	</div><!-- /.container-fluid -->
	</nav>

	<div class="container" id="lefond">
		<?php 
echo $this->Session->flash();
?>
 
		<?php 
echo $content_for_layout;
?>
	</div>
	<div class="mascotte">
		<img src="<?php 
echo Router::webroot('img/Mascotte.png');
?>
">
	</div>
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
	<script src="<?php 
echo Router::webroot('js/hidden.js');
?>
"></script>
</body>
</html>
开发者ID:EmmanuelMarti,项目名称:Koffee4Free,代码行数:31,代码来源:default.php

示例5: while

			</tr>
			</thead>
			<tbody>

			<?php 
if ($folders = opendir('../webroot/media/restricted/documents/aide')) {
    while (false !== ($folder = readdir($folders))) {
        if ($folder != '.' && $folder != '..' && $folder != 'config.php') {
            ?>
						<tr>
							<td><?php 
            echo $folder;
            ?>
</td>
							<td style="text-align: center;"><a href="<?php 
            echo Router::webroot('/media/restricted/documents/aide/' . $folder);
            ?>
" title="<?php 
            echo $folder;
            ?>
" target="_blank"><?php 
            echo ButtonsTranslate::getLabel('preview');
            ?>
</a></td>
						</tr>
					<?php 
        }
    }
}
?>
			</tbody>
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:listing.php

示例6: array

echo $this->FormGen->input('online', 'Online', array('type' => 'checkbox', array('class' => 'form-control')));
?>

	
	<div class="form-group">
		<div class="col-sm-offset-5 col-sm-10">
			<button type="submit" class="btn btn-primary">Submit</button>
			<a class="btn btn-default" href="<?php 
echo Router::url('admin/posts/index');
?>
">Cancel</a>
		</div>
	</div>
</form>
<script type="text/javascript" src="<?php 
echo Router::webroot('js/tinymce/tinymce.min.js');
?>
"></script>

<script type="text/javascript">
tinymce.init({
  selector: "textarea.wysiwyg",
  plugins: [
  "advlist autolink lists link image charmap print preview anchor",
  "searchreplace visualblocks code fullscreen",
  "insertdatetime media table contextmenu paste"
  ],
  toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
  relative_urls : false,

  file_browser_callback : function(field_name, url, type, win) {
开发者ID:adilJad,项目名称:grid_website,代码行数:31,代码来源:admin_edit.php

示例7: isset

		<meta name="author" content="<?php 
echo FrontendTranslate::getLabel('author_webpassions');
?>
">
		<link rel="shortcut icon" href="<?php 
echo Router::webroot('utils/img/favicon_cms.png');
?>
" />
		
		<title><?php 
echo TITLE;
?>
</title>
		
		<link rel="stylesheet" href="<?php 
echo Router::webroot('utils/css/site_default.css');
?>
" >
	</head>

	<body>
		<?php 
include 'site_menu.php';
?>
		
		<header>
			<div class="container-fluid">
				<div class="row">
					<h1><?php 
echo isset($title_for_layout) ? mb_strtolower($title_for_layout, 'UTF-8') : TITLE;
?>
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:site_cockpit.php

示例8: foreach

</div>
<div class="container">
  <div class="row" >

    <?php 
foreach ($partners as $key => $value) {
    ?>

    <div class="col-sm-3 col-md-4">
      <div class="thumbnail">
        <a href="<?php 
    echo isset($value->website) ? $value->website : '#';
    ?>
" class="thumbnail">
          <img src="<?php 
    echo Router::webroot('img/' . $imgs['logo_img' . $value->idMember]->file);
    ?>
" alt="Logo" style="width: auto; height: 230px; overflow: auto;">
        </a>
        <div class="caption">
          <h3>Pr. <?php 
    echo $value->name;
    ?>
</h3>
        </div>
      </div>
    </div>
  <?php 
}
?>
</div>
开发者ID:adilJad,项目名称:grid_website,代码行数:31,代码来源:index.php

示例9: foreach

    $i++;
}
?>
			
			</ul>
		</div>
		<div class="panel-body">
			<div class="tab-content">
				<?php 
$i = 0;
foreach ($teams as $c) {
    if ($i == 0) {
        echo '<div class="tab-pane fade active in" id="featured_tab_' . $c->id . '">';
    } else {
        echo '<div class="tab-pane fade" id="featured_tab_' . $c->id . '">';
    }
    $players = $this->request(PLAYER, 'getPlayers', $c->id);
    foreach ($players as $player) {
        echo '<div class="col-md-3 portfolio-item bottom-buffer">';
        echo '<h5>' . $player->player . '</h5>';
        echo '<a><img class="img-responsive thumbnail" src="' . Router::webroot($player->image_path) . '" alt=""></a>';
        echo '</div>';
    }
    echo '</div>';
    $i++;
}
?>
			</div>
		</div>
	</div>
</div>
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:listing.php

示例10:

	</head>

	<body>
		<header></header>
		<div class="container">
			<div class="row">
				<div class="col-lg-10 col-centered">
					<?php 
include 'site_nav.php';
?>
				</div>
			</div><!--/.row -->
			<div class="row">
				<div class="col-lg-10 col-centered">
					<?php 
echo $content_for_layout;
?>
				</div>
			</div><!--/.row -->
		</div><!--/.container -->
		
		<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/jquery-1.9.1.min.js');
?>
"></script>
		<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/bootstrap.js');
?>
"></script>
	</body>
</html>
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:site_cockpit.php

示例11:

        echo Router::generateURL($module);
        ?>
">
								<?php 
        echo FrontendTranslate::getLabel($module);
        ?>
							</a>
						</li>
					<?php 
    }
    ?>
				<?php 
}
?>
				<li>
					<a href="<?php 
echo Router::webroot('contact');
?>
" title="<?php 
echo FrontendTranslate::getLabel('contact');
?>
">
						<?php 
echo FrontendTranslate::getLabel('contact');
?>
					</a>
				</li>
			</ul>
		</div>
	</div>
</nav>
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:site_menu.php

示例12:

	<div class="page-header">
		<h1></h1>
	</div>

	<div class="row">
		<div class="col-sm-10">
			<h1><?php 
echo $member->position == 'Professor' ? 'Pr. ' : '';
echo $member->last_name . ' ' . $member->first_name;
?>
</h1>
		</div>

		<div class="col-sm-2">
			<img title="profile image" class="img-rounded img-responsive" src="<?php 
echo Router::webroot('img/' . $member_profil_pic->file);
?>
">
		</div>

	</div>
	<br>

	<div class="row">
		<div class="col-sm-3"><!--left col-->

			<ul class="list-group">
				<li class="list-group-item text-muted">General Informations</li>
				<li class="list-group-item text-right"><span class="pull-left"><strong>Position</strong></span> <?php 
echo $member->position;
?>
开发者ID:adilJad,项目名称:grid_website,代码行数:31,代码来源:view.php

示例13: stripcslashes

						</div>
					</div>
					<div class="pro-dtl-text">
						<?php 
echo stripcslashes($this->request->data->content);
?>
					</div>					
					<div class="pro-agent">
						<h4 class="pro-dtl-title"><?php 
echo FrontendTranslate::getLabel('contact_agency');
?>
</h4>
						<div class="row">
							<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
								<a href="#"><img src="<?php 
echo Router::webroot('utils/img/siska.png');
?>
" alt="" ></a>
							</div>
							<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
								<h5><?php 
echo $_SESSION['company'];
?>
</h5>
								<!--div class="agent-social" style="margin-top: 10px;">
									<ul>
										<li><a href="#"><i class="fa fa-facebook"></i></a></li>
										<li><a href="#"><i class="fa fa-twitter"></i></a></li>
										<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
										<li><a href="mailto:name@sunhome.com"><i class="fa fa-envelope"></i></a></li>
									</ul>
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:view.php

示例14: array

	<?php 
echo $this->Form->input('file', 'imagine', array('type' => 'file'));
?>
	<?php 
echo $this->Form->input('name', 'titolo');
?>

<div class="form-actions">
	<input type = "submit" value="inviare" class ="btn btn-primary">
</div>

</form>

<script type="text/javascript" src=" <?php 
echo Router::webroot('js/tinyMCE/tiny_mce_popup.js');
?>
 "></script>

<script type="text/javascript">

	var FileBrowserDialogue = {
    init : function () {
        // Here goes your code for setting your custom things onLoad.
    },
    sendURL : function (URL) {
        var win = tinyMCEPopup.getWindowArg("window");

        // insert information now
        win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = URL;
开发者ID:jasyn,项目名称:MyFirstPHP,代码行数:29,代码来源:admin_index.php

示例15:

echo Router::webroot('utils/js/jquery-1.9.1.min.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/bootstrap.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/superfish.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/jquery.flexslider-min.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/jquery.selectbox-0.2.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/jquery.mixitup.min.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/jquery.fancybox.pack.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo Router::webroot('utils/js/site.js');
?>
"></script>
开发者ID:WebPassions,项目名称:2015,代码行数:31,代码来源:site_footer.php


注:本文中的Router::webroot方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。