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


PHP Portfolio::header方法代码示例

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


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

示例1:

<?php 
include_once "Portfolio.php";
Portfolio::header(4, " - Contact");
?>

<div class="col-md-6 col-md-offset-3">
    <div class="row">
        <div class="col-md-12">
            <h3><b>Contact</b></h3>
            <p>You can contact me through my personnal mail: <b>louis.schnellbach@gmail.com</b>.</p>
            <p>Feel free to drop a line on social media too!</p>
        </div>
    </div>
</div>

<?php 
Portfolio::footer();
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:17,代码来源:contact.php

示例2: isset

<?php

include_once "Portfolio.php";
$pdf = isset($_GET['pdf']);
Portfolio::header(3, " - Resume", !$pdf);
$projectsColor = array("#0066cc", "#00cccc", "#00cc99", "#00cc00", "#33cc00", "#66cc00", "#99cc00", "#cccc00", "#cc9900", "#cc6600", "#cc3300", "#cc0000", "#cc0033", "#cc0066", "#cc0099", "#cc00cc", "#9900cc", "#0000cc", "#0033cc");
$projectsColorCount = count($projectsColor);
$projectIndex = 0;
function getProjectIndex()
{
    return $GLOBALS['projectIndex']++ % $GLOBALS['projectsColorCount'];
}
function printProfeciency($level)
{
    $max = 5;
    for ($i = 0; $i < $level; ++$i) {
        echo '<span class="glyphicon glyphicon-star glyphicon-profeciency" aria-hidden="true"></span>';
    }
    for ($i = 0; $i < $max - $level; ++$i) {
        echo '<span class="glyphicon glyphicon-star-empty glyphicon-profeciency" aria-hidden="true"></span>';
    }
}
?>
<style>
.glyphicon-padding
{
	display:inline; padding: 5px;
}

.glyphicon-profeciency
{
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:31,代码来源:resume.php

示例3:

<?php

include_once "Portfolio.php";
Portfolio::header(1, " - Projects");
?>

<div class="col-md-10 col-md-offset-1">
    <?php 
Portfolio::project(Portfolio::$projectEnjmin, "Enjmin (2012-2014)", "enjmin");
?>
	<div class="hpush"></div>
</div>

<?php 
Portfolio::footer();
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:15,代码来源:projects.php

示例4: mobileValue

<?php

include_once "Portfolio.php";
Portfolio::header(2, " - Timeline");
function mobileValue($a, $b)
{
    if (Portfolio::isMobile()) {
        echo $a;
    } else {
        echo $b;
    }
}
?>
<style>
.timeline-thumbnail
{
	max-width: 196px;
	height: auto;
}

.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:31,代码来源:timeline.php

示例5:

<?php 
include_once "Portfolio.php";
Portfolio::header(0, " - Error!");
?>

<div class="col-md-6 col-md-offset-3">
    <div class="row">
        <div class="col-md-12">
            <p><b>Something is missing here...</b></p>
            <p>The page you're looking for either disappeared or has been moved away.</p>
        </div>
    </div>

</div>

<?php 
Portfolio::footer();
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:17,代码来源:404.php

示例6:

<?php

require "../../Portfolio.php";
Portfolio::header(1, " - Wander");
?>

<div class="col-md-8 col-md-offset-2">

    <div class="col-md-12">
        <?php 
Portfolio::breadcrumb("Enjmin", "Wander");
?>
        <h3>Wander - Path of Trust</h3>
    </div>
    <div class="col-md-12">
        <table class="table table-bordered">
        <tr>
            <th>Genre</th>
            <th>Plateform</th>
            <th>Engine</th>
            <th>Language</th>
            <th>Dev. Time</th>
        </tr>
        <tr>
            <td>Plateform / Adventure</td>
            <td>PC</td>
            <td>Unity3D</td>
            <td>C#</td>
            <td>February 2013 - June 2013 (v1)<br/>
             September 2013 - December 2013 (v2)</td>
        </tr>
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:31,代码来源:wander.php

示例7: Engine

<?php

require "../../Portfolio.php";
Portfolio::header(1, " - MIRA");
?>

<div class="col-md-8 col-md-offset-2">

    <div class="col-md-12">
        <?php 
Portfolio::breadcrumb("Enjmin", "MIRA");
?>
        <h3>MIRA</h3>
    </div>

    <div class="col-md-12">
        <table class="table table-bordered">
        <tr>
            <th>Genre</th>
            <th>Plateform</th>
            <th>Engine</th>
            <th>Language</th>
            <th>Dev. Time</th>
        </tr>
        <tr>
            <td>God Game / SandBox</td>
            <td>PC</td>
            <td>Custom Engine (SFML / OpenGL / Fmod)</td>
            <td>C++ / Lua</td>
            <td>May 2013 - June 2013</td>
        </tr>
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:31,代码来源:mira.php

示例8:

<?php

require "../../Portfolio.php";
Portfolio::header(1, " - Event[0]");
?>

<div class="col-md-8 col-md-offset-2">

    <div class="col-md-12">
        <?php 
Portfolio::breadcrumb("Enjmin", "Event[0]");
?>
        <h3>Event[0]</h3>
    </div>

    <div class="col-md-12">
        <table class="table table-bordered">
        <tr>
            <th>Genre</th>
            <th>Plateform</th>
            <th>Engine</th>
            <th>Language</th>
            <th>Dev. Time</th>
        </tr>
        <tr>
            <td>AI Interaction</td>
            <td>PC</td>
            <td>Unity3D</td>
            <td>C#</td>
            <td>October 2013 - March 2014</td>
        </tr>
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:31,代码来源:event0.php

示例9:

<?php

require "../../Portfolio.php";
Portfolio::header(1, " - Fakteur");
?>

<div class="col-md-8 col-md-offset-2">

    <div class="col-md-12">
        <?php 
Portfolio::breadcrumb("Enjmin", "Fakteur");
?>
        <h3>Fakteur</h3>
    </div>

    <div class="col-md-12">
        <table class="table table-bordered">
        <tr>
            <th>Genre</th>
            <th>Plateform</th>
            <th>Engine</th>
            <th>Language</th>
            <th>Dev. Time</th>
        </tr>
        <tr>
            <td>Adventure</td>
            <td>PC</td>
            <td>Unity3D</td>
            <td>C#</td>
            <td>July 2013 - September 2013</td>
        </tr>
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:31,代码来源:fakteur.php

示例10:

<?php 
include_once "Portfolio.php";
Portfolio::header(0, " - Home");
?>

<div class="col-md-6 col-md-offset-3">
	<div class="hpush"></div>
		<p><b>Hello and Welcome!</b></p>
		<p>Currently working in the video game industry, I am interested in many fields like <b>network</b>, <b>graphics</b>, <b>engine</b> &amp; <b>low-level</b> programming.<br/><br/>
		You'll find here some details about projects I made or I am currently working on, as well as other things about me.
		</p>
		<p>Feel free to drop a line,</p>
		<p>Have fun!</p>
	</div>
</div>

<?php 
Portfolio::footer();
开发者ID:Xipiryon,项目名称:Portfolio,代码行数:18,代码来源:index.php


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