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


PHP logo函数代码示例

本文整理汇总了PHP中logo函数的典型用法代码示例。如果您正苦于以下问题:PHP logo函数的具体用法?PHP logo怎么用?PHP logo使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: logo

?>
>

<div id="cuerpo" align="center" style="margin: 0px;">
<table width="1030" border="0" align="center" cellpadding="0" cellspacing="0" style="background: <?php 
echo $row2[color];
?>
">
  <tr>
    <td colspan="2">
    	<table align="center" cellpadding="0" border="0" cellspacing="0" width="100%">	
			<tr>
            	<td width="25%" valign="middle">
					<div style="margin-left: 13px;"> 
						<?php 
logo();
?>
					</div><br />

				</td>
                <td valign="bottom"><?php 
include "../admin/botonera/archivos/boton_sec.php";
?>
</td>
            </tr>
        </table>    
	</td>	   
  </tr>          
  <tr>
	<td colspan="2">
		<div id="base">
开发者ID:xmachadox3,项目名称:fjrsomecode,代码行数:31,代码来源:createMessage.php

示例2: require_once

<?php
require_once("function.php");
require_once("config.php");
require_once("myscript.php");
require_once("auth.php");
?>
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<title><?php title();?></title>
<?php logo(); ?>
<?php css(); ?>
<?php ajax(); ?>
</head>

<!-- BEGIN BODY -->
<body class="page-header-fixed page-sidebar-fixed">
<!-- BEGIN HEADER -->
<?php
nevibar_menu();
?>
<div class="clearfix">
</div>
<!-- BEGIN CONTAINER -->
<div class="page-container">
<?php menu();?>
<?php temp(); ?>
<div class="page-content-wrapper">
<div class="page-content">
<div class="row">				
				<?php
开发者ID:NileshTailor,项目名称:dream,代码行数:31,代码来源:emp_menu.php

示例3: exit

//controller of de get goe dis gezet
if (!isset($_GET['id'])) {
    exit('De get  is niet goed gezet');
}
//haal de info van de filehoster op uit de DB
$sql = "SELECT name,url,link_mail,contact,report_link,method,API,HTML,ready,black FROM filehoster WHERE uid = " . $_GET['id'];
if (!($query = mysql_query($sql))) {
    exit('Er gaat iets fout met ophalen van de data');
}
top($title);
?>

</head>
<body>
<?php 
logo($title);
while ($row = mysql_fetch_array($query)) {
    echo "\n   <form method='post'>\n    Name:<br />\n    <input type='text'  name ='name' style='width: 250;' value='" . $row['name'] . "' required autofocus /><br />\n    Url:<br />" . $row['url'] . "\n    <br />\n    <br />\n\n    Report with link or mail:<br />\n    <select  name='linkmail'  style='width: 150;'>\n        <option name='linkmail' value='mail' ";
    if ($row['link_mail'] == 'mail') {
        echo 'selected';
    }
    echo ">Mail</option>\n        <option name='linkmail' value='link' ";
    if ($row['link_mail'] == 'link') {
        echo 'selected';
    }
    echo ">Link</option>\n        <option name='linkmail' value='signo' ";
    if ($row['link_mail'] == 'signo') {
        echo 'selected';
    }
    echo ">Aanmelden</option>\n        <option name='linkmail' value='non' ";
    if ($row['link_mail'] == 'non') {
开发者ID:Beertie,项目名称:web_scraper,代码行数:31,代码来源:fh_bewerk.php

示例4: saveRemote

 /**
  * 拉取远程图片
  * @return mixed
  */
 private function saveRemote()
 {
     $imgUrl = htmlspecialchars($this->fileField);
     $imgUrl = str_replace("&amp;", "&", $imgUrl);
     //http开头验证
     if (strpos($imgUrl, "http") !== 0) {
         $this->stateInfo = $this->getStateInfo("ERROR_HTTP_LINK");
         return;
     }
     //获取请求头并检测死链
     $heads = get_headers($imgUrl);
     if (!(stristr($heads[0], "200") && stristr($heads[0], "OK"))) {
         $this->stateInfo = $this->getStateInfo("ERROR_DEAD_LINK");
         return;
     }
     //格式验证(扩展名验证和Content-Type验证)
     $fileType = strtolower(strrchr($imgUrl, '.'));
     if (!in_array($fileType, $this->config['allowFiles']) || stristr($heads['Content-Type'], "image")) {
         $this->stateInfo = $this->getStateInfo("ERROR_HTTP_CONTENTTYPE");
         return;
     }
     //打开输出缓冲区并获取远程图片
     ob_start();
     $context = stream_context_create(array('http' => array('follow_location' => false)));
     readfile($imgUrl, false, $context);
     $img = ob_get_contents();
     ob_end_clean();
     preg_match("/[\\/]([^\\/]*)[\\.]?[^\\.\\/]*\$/", $imgUrl, $m);
     $this->oriName = $m ? $m[1] : "";
     $this->fileSize = strlen($img);
     $this->fileType = $this->getFileExt();
     $this->fullName = $this->getFullName();
     $this->filePath = $this->getFilePath();
     $this->fileName = $this->getFileName();
     $dirname = dirname($this->filePath);
     //检查文件大小是否超出限制
     if (!$this->checkSize()) {
         $this->stateInfo = $this->getStateInfo("ERROR_SIZE_EXCEED");
         return;
     }
     //创建目录失败
     if (!file_exists($dirname) && !mkdir($dirname, 0777, true)) {
         $this->stateInfo = $this->getStateInfo("ERROR_CREATE_DIR");
         return;
     } else {
         if (!is_writeable($dirname)) {
             $this->stateInfo = $this->getStateInfo("ERROR_DIR_NOT_WRITEABLE");
             return;
         }
     }
     //移动文件
     if (!(file_put_contents($this->filePath, $img) && file_exists($this->filePath))) {
         //移动失败
         $this->stateInfo = $this->getStateInfo("ERROR_WRITE_CONTENT");
     } else {
         //移动成功
         //----------------------------------------控制上传图片的宽度 及 图标水银效果
         include '../../common/i.php';
         thumb($this->filePath, true, $this->pwidth);
         logo($this->filePath);
         //----------------------------------------控制上传图片的宽度 及 图标水银效果
         $this->stateInfo = $this->stateMap[0];
         $this->stateInfo = $this->stateMap[0];
     }
 }
开发者ID:lsunny,项目名称:henanshichang,代码行数:69,代码来源:Uploader.class.php

示例5: cabecera

</div>

<!-- CUENTA BANCARIA -->
<div data-role="page" id="banco">

<!-- cabecera -->
  <div data-role="header" data-theme="e">
  <?php 
echo cabecera();
?>
  </div>

  <!-- contenido -->
  <div data-role="main" class="ui-content2">
<?php 
echo logo();
?>

  <h1 class="letras">Cuentas Bancarias</h1>
    <ul data-role="listview" data-inset="true" data-shadow="false">
      <li data-role="collapsible" data-iconpos="right" data-inset="false">
        <h2>Provincial</h2>
        <ul data-role="listview" data-theme="b">
          <li><div class="datos_banco">
                CUENTA DE AHORRO <br>No – 0108 0908 80 0200042413<br>
                JESUS LOBATON CI 15668694<br>
                ventas@seguridadsistema.com.ve</div>
          </li>
        </ul>
        <li data-role="collapsible" data-iconpos="right" data-inset="false">
        <h2>Fondo Comun</h2>
开发者ID:jlobaton,项目名称:inventario,代码行数:31,代码来源:prueba.blade.php

示例6: logo

<?php

/********************LOGO*******************************/
echo logo("index.html", 'Aqui vai o logo');
/******************Menu e Submenu Topo*****************************/
$menu_t = array('link' => '#', 'nome' => 'Nome');
$submenu_t = array(array('#' => '<i class="fa fa-fw fa-envelope"></i> Nome1'), array('#' => '<i class="fa fa-fw fa-envelope"></i> Nome2'));
//echo menu_topo($menu_t, $submenu_t);
开发者ID:Barbarulo,项目名称:sistema_email,代码行数:8,代码来源:_menu_topo.php

示例7: redirecina

    if (strlen($dest) > 0) {
        /* save */
        if (move_uploaded_file($tmp, $dest)) {
            echo 'ok';
        } else {
            echo '--';
        }
    }
    echo $dest;
    redirecina(page());
    exit;
}
/* Imagens */
$img1 = logo(1);
$img2 = logo(2);
$img3 = logo(3);
echo '<TABLE width="100%" border=0 >';
echo '<TR><TD align="left">';
echo '<h1>' . msg('logo_documents') . '</h1>';
echo '<fieldset><legend>' . msg('logo_documents') . '</legend>';
echo '<img src="' . $img1 . '">';
echo '<form action="' . page() . '" method="post" enctype="multipart/form-data">';
echo '<label for="file">Select a file:</label>';
echo '<input type="file" name="userfile" id="file"> <br />';
echo '<input type="hidden" name="dd1" value="logo1"> <br />';
echo '<input type="submit" value="' . strip_tags(msg('submit_file')) . '">';
echo '</form>';
/* Borrar arquivo */
$dest = 'document/proethos_logo_1.jpg';
if (file_exists($dest)) {
    echo '<form action="' . page() . '" method="post">';
开发者ID:bireme,项目名称:proethos,代码行数:31,代码来源:admin_customize_logo.php

示例8: upload

<?php

require 'islogin.php';
require '../common/db.php';
include '../common/f.php';
if (isset($_POST['title'])) {
    $uf = upload('../upload/zz/', 1);
    $_POST['url'] = $uf[0];
    include '../common/i.php';
    save('hnsc_zz', $_POST);
    thumb('../upload/zz/' . $uf[0], false, 201, 142, 's_');
    logo('../upload/zz/' . $uf[0]);
    header('location:zzmanager.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>后台管理系统Ver1.0</title>
<link href="index.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
<!--
$(document).ready(function(){
	function init(){
	var h = $(document).height()-50;
	$("#imiddle").css("height",h);
	$("#imiddle_left").css("height",h);
	$("#imiddle_center").css("height",h);
	$("#imiddle_right").css("height",h);
开发者ID:lsunny,项目名称:henanshichang,代码行数:31,代码来源:zzadd.php

示例9: array

$xlogin = 1;
/* Habilita o modo login */
/* Add Styles */
$style_add = array('proethos_login.css');
require "cab.php";
/* Classses */
require $include . '_class_windows.php';
require $include . '_class_form.php';
$form = new form();
echo '
<table border=0 align="center">
	<tr VALIGN="TOP"><td width="300">
		<img src="' . logo(3) . '" width="200" border=0>
		<BR>' . msg('about_cep') . '
	<td>
	<img src="' . logo(2) . '">
	<BR><BR>
';
echo '
<!--- Login form -->
<div id="loginform">
	<div id="facebook"><i class="fa fa-facebook"></i><div id="connect">
	' . msg('connect with') . '
	</div>
</div>
<div id="mainlogin">
<div id="or">' . msg('or') . '</div>
<h2 style="text-align: center;">' . msg('login_cab') . '</h2>';
/* Login form input */
$cp = array();
array_push($cp, array('$H8', '', '', False, True));
开发者ID:bireme,项目名称:proethos,代码行数:31,代码来源:_login_paho.php

示例10: ini_set

<?php

ini_set('max_execution_time', 0);
ini_set('upload_max_filesize', '1024M');
ini_set('post_max_size', '1024M');
ini_set('date.timezone', 'PRC');
if ($_FILES['img']['error'] == 0) {
    include '../common/f.php';
    include '../common/db.php';
    include '../common/i.php';
    $f = upload('../upload/project/', 1);
    $_POST['ntime'] = strtotime($_POST['ntime']);
    $_POST['img'] = $f[0];
    save('hnsc_project', $_POST);
    thumb('../upload/project/' . $f[0], false, 201, 142, 's_');
    logo('../upload/project/' . $f[0]);
    header('location:projectadd.php');
} else {
    echo '请正确选择工程图片,添加失败';
    exit;
}
开发者ID:lsunny,项目名称:henanshichang,代码行数:21,代码来源:projectsave.php


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