• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP top函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: update_goods

 function update_goods($arr, $aid, $posttime)
 {
     global $_G;
     if (!$arr[num_iid]) {
         return false;
     }
     if (!$aid || !$posttime) {
         $goods = DB::fetch_first("SELECT aid,posttime,sum FROM " . DB::table('goods') . " WHERE num_iid ='" . $arr[num_iid] . "' ");
         $aid = $goods[aid];
         $posttime = $goods[posttime];
     }
     if ($aid > 0) {
         $data = array();
         foreach ($_G['setting']['filter_field'] as $k => $v) {
             if (isset($arr[$v])) {
                 $data[$v] = $arr[$v];
             }
         }
         //肯定是没有获取成功
         if ($arr[sum] == 0 && $arr[num] == 0) {
             return false;
         }
         //只更新10天前的商品,一般上线时间是5天,可能5天后卖家没有修改价格..
         if ($data[yh_price] && $posttime + 864000 > TIMESTAMP) {
             unset($data[yh_price]);
         }
         if ($data) {
             $data[dateline] = TIMESTAMP;
             $rt = top('goods', 'update', $data, $aid);
             return $rt;
         }
     }
     return false;
 }
开发者ID:lqlstudio,项目名称:ttae_open,代码行数:34,代码来源:m_taobao.api.php


示例2: get_ext_for_baichuan

 function get_ext_for_baichuan($goods_arr)
 {
     $iids = array();
     foreach ($goods_arr as $k => $v) {
         $iids[] = $v['open_iid'];
     }
     $iids = implode(',', $iids);
     $rs = top('baichuan', 'get_goods', '', $iids);
     foreach ($goods_arr as $k => $v) {
         foreach ($rs as $k1 => $v1) {
             if ($v1['open_iid'] == $v['open_iid']) {
                 $goods_arr[$k]['num'] = $v1['num'];
                 $goods_arr[$k]['num_iid'] = $v1['num_iid'];
                 $goods_arr[$k]['url'] = $v1['url'];
                 $goods_arr[$k]['baoyou'] = $v1['baoyou'];
             }
         }
     }
     return $goods_arr;
 }
开发者ID:lqlstudio,项目名称:ttae_open,代码行数:20,代码来源:taobaoke.api.php


示例3: get_goods

 function get_goods($goods_id = '')
 {
     global $_G;
     if (!$goods_id || !$_G[setting][sitekey]) {
         return false;
     }
     if ($_G[setting][web_type] == 0) {
         //外站
         //include_once libfile('api/m_taobao');
         //$m = new m_taobao();
         $m = top('m_taobao');
         //dump($m->get($goods_id,true),1);
         return $m->get($goods_id, true);
     } else {
         if ($_G[setting][web_type] == 2) {
             return top('baichuan', 'get_goods', $goods_id);
         }
     }
     return false;
 }
开发者ID:lqlstudio,项目名称:ttae_open,代码行数:20,代码来源:goods.api.php


示例4: session_start

<?php

require "pics_e.php";
session_start();
$_SESSION["gpics"] = $gpics;
$x = json_decode($gpics, true);
$sz = count($x["gallery"]);
require "funcz/m.functionz.php";
print head("en", "kinder", "kinder.php", "Y");
?>
<body> 
<div data-role="page" id="pageone">
	<div data-role="header">
		<?php 
print top("en", "Photos", "Photos");
?>
	</div>
    <br/>
<?php 
$col = 1;
$endblock = false;
for ($i = 0; $i < $sz; $i++) {
    $y = $x["gallery"][$i];
    $picSmall = $y["picSmall"];
    $picLarge = $y["picLarge"];
    $picTtl = $y["picTtl"];
    $flag = $y["flag"];
    $copy = $y["copy"];
    switch ($flag) {
        case "T":
            if ($endblock) {
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:m.foto_e.php


示例5: top

<?php

include_once "util/top_foot_inc.php";
include "includes/caching.php";
include "includes/versetto.php";
top();
?>
<br><br><br><br>
<div class="testo_18" style="position:static;margin:auto;width:650px;" >
    <form action="request2.php" method="post" accept-charset="utf-8">
Descrivi il problema / suggerimento
<br>E anche cosa stavi facendo se possibile
		<textarea style="position: relative; top: 10px;" id="omg" class="text2" rows="10" cols="75" name="omg">
Cosa stavi facendo: 
Suggerimento: 









</textarea>
<input type="submit" value="Invia" style="height:36px;
left:720px;
position:relative;
top:-27px;
width:50px;"/>
开发者ID:RoyBellingan,项目名称:Seishonotasuke,代码行数:30,代码来源:1.php


示例6: search_shop

 function search_shop()
 {
     global $_G, $assign;
     $sid = $_GET['sid'] ? $_GET['sid'] : $_GET['shop'];
     $index = array();
     //获取相关的
     $rs = memory('get', $sid);
     if ($rs) {
         $index['xiangguan'] = $rs;
     } else {
         $index['xiangguan'] = top('taobaoke', 'get_recommend', 4, $sid, 20);
         if ($index['xiangguan']) {
             memory('set', $sid, $index['xiangguan'], 86400);
         }
     }
     $title = $assign['shop']['shop_title'];
     $shop1 = "专营";
     $shop2 = "旗舰";
     $shop3 = "专卖";
     $and = "";
     if (strpos($title, $shop1) !== false) {
         $and = " AND shop_title like '%{$shop1}%'";
     } else {
         if (strpos($title, $shop2) !== false) {
             $and = " AND shop_title like '%{$shop2}%'";
         } else {
             if (strpos($title, $shop3) !== false) {
                 $and = " AND shop_title like '%{$shop3}%'";
             }
         }
     }
     //	$index['tag_shop'] = $this->get_shop($and);
     $tehui = D(array('and' => '', 'limit' => 20));
     $index['tehui'] = $tehui;
     return $index;
 }
开发者ID:lqlstudio,项目名称:ttae_open,代码行数:36,代码来源:data_api.php


示例7: update

 function update()
 {
     global $_G;
     $success = 0;
     $type = $_G['setting']['api_type'];
     if (!$_GET[num_iid]) {
         msg('商品num_iid不存在');
     }
     //1,用淘宝客权限的API来获取,只能获取部分字段,一次最多10条,只能用open_iid
     //2,用百川高级商品权限,获取字段较多较完整,可返回open_iid,num_iid,url . 一次最多50条, 可用num_iid,open_iid	(推荐)
     //3,远程抓取,一般外站来用
     //0=阿里妈妈淘客	1 = 百川淘宝客
     if ($type == 1) {
         $rs = top('baichuan', 'get_goods', $_GET[num_iid]);
         if (!$rs) {
             msg('更新失败' + $_G['msg']);
         }
         if ($rs['num_iid']) {
             $rs = array($rs);
         }
         foreach ($rs as $k => $v) {
             if (!$v['num_iid']) {
                 continue;
             }
             $id = $v['num_iid'];
             $v['dateline'] = TIMESTAMP;
             $len = DB::update('goods', $v, "num_iid='{$id}'");
             if ($len > 0) {
                 $success++;
             }
         }
     } else {
         if ($type == 0) {
             $tmp = explode(',', trim($_GET[num_iid]));
             $arr = array();
             foreach ($tmp as $k => $v) {
                 $arr[$v . ''] = array('num_iid' => $v);
             }
             $rs = top('tbk', 'extends_info_j', $arr);
             foreach ($rs as $k => $v) {
                 $id = $v['num_iid'];
                 $v['dateline'] = TIMESTAMP;
                 if (is_array($v['images'])) {
                     $v['images'] = implode(',', $v['images']);
                 }
                 $len = DB::update('goods', $v, "num_iid='{$id}'");
                 if ($len > 0) {
                     $success++;
                 }
             }
         } else {
             $tmp = explode(',', trim($_GET[num_iid]));
             $ids = array();
             $m = top('m_taobao');
             foreach ($tmp as $k => $v) {
                 $v = get_goods_id($v);
                 $len = $m->get($v, true);
                 if ($len > 0) {
                     $success++;
                 }
             }
         }
     }
     json(array('status' => 'success', 'len' => $success, 'data' => ''));
 }
开发者ID:lqlstudio,项目名称:ttae_open,代码行数:65,代码来源:goods.action.php


示例8: number_format

         $hourly_stat[$i]['pi_percent'] = $totalPageImpressions ? number_format(100 * $pi[$i]['value'] / $totalPageImpressions, 2) : '0';
         $hourly_stat[$i]['visits_number'] = $visits[$i]['value'];
         $hourly_stat[$i]['visits_percent'] = $totalVisits ? number_format(100 * $visits[$i]['value'] / $totalVisits, 2) : '0';
     }
     //ha grafikonokat hasznalunk
     if (!empty($_SESSION['site_stat_is_graph'])) {
         $tpl->assign('graph_link_hourly', 'admin/stat_graph.php?what=access_statistics&amp;when=hourly&amp;client_id=' . $clientID);
     }
     $tpl->assign('year', $year);
     $tpl->assign('month', $monthNames[$month]);
     $tpl->assign('day', $day);
     $tpl->assign('back_arrow', 'admin.php?p=' . $module_name . '&amp;act=' . $page . '&amp;sub_act=' . $sub_act . '&amp;statpage=month&amp;client_id=' . $clientID . '&amp;month=' . $month . '&amp;year=' . $year);
 }
 //Top oldalak
 include_once $include_dir . '/function.stat.php';
 $top = top($clientID, $limit, $start, $end);
 //Keresok
 if (!empty($_SESSION['site_stat_search'])) {
     include_once $libs_dir . '/' . $pear_dir . '/phpOpenTracker/API.php';
     if (phpOpenTracker_API::pluginLoaded('search_engines')) {
         $engines = phpOpenTracker::get(array('client_id' => $clientID, 'api_call' => 'search_engines', 'what' => 'top_search_engines', 'start' => $start, 'end' => $end, 'limit' => $limit));
         $keywords = phpOpenTracker::get(array('client_id' => $clientID, 'api_call' => 'search_engines', 'what' => 'top_search_keywords', 'start' => $start, 'end' => $end, 'limit' => $limit));
     }
     $tpl->assign('search_engines', $engines['top_items']);
     $tpl->assign('search_keywords', $keywords['top_items']);
 }
 //orszagok listaja
 if (!empty($_SESSION['site_stat_country'])) {
     if (phpOpenTracker_API::pluginLoaded('localizer')) {
         $countries = phpOpenTracker::get(array('client_id' => $clientID, 'api_call' => 'localizer', 'what' => 'top_localizer', 'start' => $start, 'end' => $end, 'limit' => $limit));
     }
开发者ID:span20,项目名称:Kallay,代码行数:31,代码来源:stat_total.php


示例9: connect

oke
<?php 
include 'functions.php';
connect();
if (isset($_GET['all']) and isset($_GET['host'])) {
    if ($_GET['all'] == 'all') {
        make_sommatie_all($_GET['host'], $_GET['fuid']);
    } elseif ($_GET['all'] == 'notall' and isset($_GET['number'])) {
        make_sommatie_limit($_GET['host'], $_GET['fuid'], $_GET['number']);
    } else {
        exit;
    }
} else {
    exit;
}
top("Add sommatie");
?>

</head>
<body>

<?php 
logo();
?>
<div class="row">
    <div class="large-12 columns">

        <div class="panel">
            <h4>Add sommatie</h4>
            <div class="row">
                <p>
开发者ID:Beertie,项目名称:web_scraper,代码行数:31,代码来源:sommatie.php


示例10: head

<?php

require "funcz/m.functionz.php";
print head("de", "kontakt", "kontakt.php", "Y");
?>
<body>
<div data-role="page" id="pageone">
  <div data-role="header">
       <?php 
print top("de", "kontakt", "Kontakt");
?>
  </div>
  <div data-role="main" class="ui-content">
    <blockquote> <table class="table">
<tr>
<td valign="top"><strong>Post</strong></td>
<td valign="top"><b>&nbsp;:&nbsp;</b></td>
<td>William Cuthbertson<br/>
Theodor-Heuss-Str.16<br/>
79183 Waldkirch<br/>
Baden-Württemberg<br/>
Deutschland</td>
</tr>
<tr>
<td   valign="top"><strong>Tel.</strong></td>
<td valign="top"><b>&nbsp;:&nbsp;</b></td>
<td><a href="tel:+497681409260">076 81 40 92 60</a></td></tr>
<tr>
<td  valign="top" ><strong>E-Mail</strong></td>
<td valign="top"><b>&nbsp;:&nbsp;</b></td>
<td  valign="top" ><a href="mailto:[email protected]" target="_new">[email protected]</a></td></tr>
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:m.kontakt.php


示例11: head

<?php

require "funcz/m.functionz.php";
print head("en", "kontakt", "kontakt_e.php", "Y");
?>
<body>
<div data-role="page" id="pageone">
  <div data-role="header">
       <?php 
print top("en", "kontakt", "Kontakt");
?>
  </div>
  <div data-role="main" class="ui-content">
  <blockquote>
  <table class="table">
      <tr>
      <td  valign="top"><strong>Post</strong></td>
      <td valign="top">:</td>
      <td>William Cuthbertson<br/>
      Theodor-Heuss-Str.16<br/>
      79183 Waldkirch<br/>
      Baden-Württemberg<br/>
      Germany</td>
      </tr>
      <tr>
      <td   valign="top"><strong>Tel.</strong></td>
      <td valign="top">:</td>
      <td><a href="tel:+497681409260">076 81 40 92 60</a></td>
      </tr>
      <tr>
      <td  valign="top" ><strong>E-Mail</strong></td>
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:m.kontakt_e.php


示例12: escape

					  cost= "' . escape($c) . '",
					  price= "' . escape($sP) . '",
					  onHand= "' . escape($noH) . '",
					  reorderPoint= "' . escape($rP) . '",
					  backOrder= "' . escape($bO) . '",
					  deleted= "' . escape($del) . '"';
    }
    $status = new DBlink();
    $res = $status->set($status->conn(), $query);
    if ($res) {
        header("Location: view.php");
    } else {
        echo "Your query didn't work.  <a href=add.php>try again</a>";
    }
} else {
    top("Brennan Films Add");
    ?>
    <h5>*All fields mandatory except "On Back Order"</h5>	
	<form action="" method="post">
		<table>
		<tr>
			<?php 
    if (isset($_GET['id'])) {
        ?>
				<td>ID:</td>
				<td><input readonly="readonly" value="<?php 
        echo $_GET['id'];
        ?>
"></td>	
			<?php 
        $row = escape($_GET['id']);
开发者ID:DanBrennan33,项目名称:Admin-Manager-Web,代码行数:31,代码来源:add.php


示例13: post

 function post()
 {
     global $_G;
     $goods_id = '';
     if ($_GET['onsubmit'] && check()) {
         $shop = get_filed(__CLASS__, $_GET['postdb'], $_GET[id]);
         if ($_FILES[file]) {
             $src = upload();
             if ($src) {
                 $shop[picurl] = $src;
             }
         }
         if ($_FILES['pic_path']['tmp_name']) {
             $src = upload($_FILES['pic_path']);
             if ($src) {
                 $shop[pic_path] = $src;
             }
         }
         $url = '';
         if ($_GET['id']) {
             $id = intval($_GET['id']);
             top('shop', 'insert', $shop, $id);
             $url = '&id=' . $id;
             $msg = '修改';
         } else {
             $msg = '添加';
             $top = top('shop', 'insert', $shop);
         }
         cpmsg($msg . '成功', 'success', 'm=' . __CLASS__ . '&a=' . __FUNCTION__ . $url);
         return false;
     } elseif ($_GET[get_submit] && $_GET['goods_id']) {
         $goods_id = get_goods_id($_GET['goods_id']);
         if (!$goods_id) {
             cpmsg('抓取失败,商品ID或链接不存在或填写错误', 'error', 'm=' . __CLASS__ . '&a=' . __FUNCTION__);
             return false;
         }
         $goods = top('goods', 'get_goods', $goods_id);
         if ($goods === false) {
             cpmsg('当前商品未成功获取,可能是商品未上线,请更换当前店铺中的其它一款商品再重试,或是请手动添加');
             return false;
         }
         $query = top('shop', 'get_shop', $goods['sid']);
         $query[nick] = $goods[nick];
         if ($query === false) {
             cpmsg('抱歉,获取失败,请检查用户名是否正确');
             return false;
         }
         foreach ($query as $k => $v) {
             $shop[$k] = trim_html($v, 1);
         }
         $shop = get_filed(__CLASS__, $shop);
     } elseif ($_GET['id']) {
         $id = intval($_GET['id']);
         $shop = DB::fetch_first("SELECT * FROM " . DB::table('shop') . " WHERE id = {$id} ");
         $shop['start_time'] = dgmdate($shop['start_time'], 'dt');
         $shop['end_time'] = dgmdate($shop['end_time'], 'dt');
     } else {
         $shop = get_filed(__CLASS__);
     }
     $this->add(array('shop' => $shop, 'goods_id' => $goods_id));
     $this->show();
 }
开发者ID:lqlstudio,项目名称:ttae_open,代码行数:62,代码来源:shop.action.php


示例14: connect

$insert_db = connect('insert');
$stmt = dbexec($insert_db, 'INSERT IGNORE INTO users (email, first_name, last_name, username, password, last_update, activation_key)
			VALUES (?, ?, ?, ?, ?, ?, ?)', array($params['email'], $params['first_name'], $params['last_name'], $params['username'], $params['password'], 0, $key->get_key()), array(PDO::PARAM_STR, PDO::PARAM_STR, PDO::PARAM_STR, PDO::PARAM_STR, PDO::PARAM_STR, PDO::PARAM_INT, PDO::PARAM_STR));
$last_id = $insert_db->lastInsertId();
$stmt = $insert_db->prepare('INSERT INTO group_users (user_id, group_id) VALUES (?, ?)');
$stmt->bindParam(1, $last_id, PDO::PARAM_INT);
$stmt->bindParam(2, $group_id);
$group_id = GROUP_ROOT;
$stmt->execute();
//for the alpha
//$group_id = CLASSMATCHES_ROOT;
//$stmt->execute();
$message = 'Thank you for registering for an account with us here at Classmatches. To help
			ensure security for our website, we have sent you this email with a confirmation key. Follow
			this url to activate your account!
			https://classmatches.com/account/activate.php?username=' . $params['username'] . '&key=' . urlencode($key->get_key());
$headers = "From: [email protected] \n";
$headers .= "Reply-To: [email protected] \n";
$headers .= "Return-Path: [email protected] \n";
$headers .= "X-Mailer: PHP \n";
if (!mail($params['email'], 'Account Creation Confirmation', $message, $headers)) {
    error('There was an error with sending the email, please try again', 'login.php');
}
top(false, 'Thanks for creating an account!', false);
?>
<p>An email has been sent to <?php 
echo htmlspecialchars($params['email']);
?>
</p>
<?php 
bottom();
开发者ID:dulinriley,项目名称:classmatches,代码行数:31,代码来源:newaccountsubmit.php


示例15: connect

 *
 * 2: handmatig controlleren of de links weg zijn dan worden er automatch een x aantal links geven die handmatig moeten wordne gecontoleert
 *
 * Veder kan hier ook de HTML-tag wordne toegevoegt
 */
//Haal de pagina met functie op
include 'functions.php';
//Maak conectie met de DB
connect();
//Zet de titlte van de pagina
$title = "Controle";
//haal de sommatie op als dit niet lukt laat helemaal nisk zien
if (!($data = get_sommatie())) {
    exit('Er gaat iets super fout met opahlen');
}
top($title, 1, 'asc');
?>
</head>
<body>
<?php 
logo($title);
?>
<div class="row">
    <table id="datatables" class="display" style="width:955px;border:1px solid #ccc;">
        <thead>
            <tr>
                <th>
                    Hostname
                </th>
                <th>
                    Date Report
开发者ID:Beertie,项目名称:web_scraper,代码行数:31,代码来源:controle.php


示例16: top

<?php

top("Source code");
?>

<p>
To use the frames technique, the document must be structued to contain
three <code>div</code>s, with classes <code>top</code>, <code>bottom</code>
and <code>left</code>. Their position should be obvious from the class
names.  Due to a scaling bug in IE, at least each of <code>bottom</code>
and <code>top</code> should directly beneath contain another
<code>div</code> with class <code>inner</code>.
</p>
<p>
Again, due to Internet Explorer, the XML preamble and a proper
<code>DOCTYPE</code> header must be included at the top of the file.
This is to triger what's called 
<a 
href="http://msdn.microsoft.com/library/en-us/dnie60/html/cssenhancements.asp">standard compliant mode</a>. 
If nothing works in IE, and everything works in everything else, this is
probably what you've done wrong. Also see an article on this subject
by <a
href="http://gutfeldt.ch/matthias/articles/doctypeswitch.html">Matthias
Gutfeldt</a>.
</p>
<p>Finally, some more workarounds for IE is needed, and trickily
included with a IE-only <code>if</code>-statement within the HTML.</p>

<p>
Two CSS files are needed, <a href="fixed.css">fixed.css</a>
and <a href="fixed_ie.css">fixed_ie.css</a>.
开发者ID:stain,项目名称:scrapbook,代码行数:31,代码来源:source.php


示例17: main

 public function main()
 {
     global $_G;
     $aid = $_GET['aid'] ? $_GET['aid'] : get_goods_id($_GET['itemid']);
     if ($aid && $aid < 1) {
         msg('抱歉ID不存在');
     }
     if ($_GET['aid']) {
         $aid = intval($aid);
         $goods = D(array('and' => "aid = " . $aid, 'limit' => 1, 'all' => true, 'key' => 'goods_' . $aid));
     } else {
         $goods = D(array('and' => "num_iid = '{$aid}'", 'limit' => 1, 'all' => true, 'key' => 'goods_' . $aid));
     }
     if ($goods['status'] == 0 || $goods['status'] == 2) {
         msg('抱歉,当前商品 ' . $goods[status_text] . ' 暂时无法查看');
     }
     if ($_G[mobile]) {
         $url = URL . 'a=go_pay&num_iid=' . $goods[num_iid];
         _header("Location:" . $url);
     }
     $update = array();
     if ($goods['aid'] > 0) {
         if (!$goods[keywords]) {
             $keyword = get_keywords($goods['title'] . $goods['ly']);
             if ($keyword) {
                 $goods[keywords] = $keyword;
                 $update[keywords] = $keyword;
             }
         }
     }
     if ($goods['fid']) {
         $channel = $_G['all_channel']['k' . $goods[fid]];
     }
     $tpl = '';
     if ($channel) {
         $tpl = trim($channel['goods_tpl']);
     }
     $_G['channel'] = $channel;
     if ($goods[fid]) {
         $_G[fid] = $goods[fid];
     }
     if ($_G['setting']['get_message'] && !$goods['message']) {
         $message = top('m_taobao', 'get_message', $goods[num_iid]);
         if ($message) {
             $goods['message'] = $message;
             $update['message'] = $message;
         }
     }
     $up = D(array('and' => ' AND aid <' . $goods['aid'], 'table' => 'goods', 'order' => 'aid DESC'));
     $down = D(array('and' => ' AND aid >' . $goods['aid'], 'table' => 'goods', 'order' => 'aid ASC'));
     $goods[up] = $up[id] ? '<a href="' . $up[id_url] . '">' . $up[title] . '</a>' : '没有了';
     $goods[down] = $down[id] ? '<a href="' . $down[id_url] . '">' . $down[title] . '</a>' : '没有了';
     $this->add(array('goods' => $goods, 'up' => $up, 'down' => $down));
     if ($goods['aid'] > 0 && $update) {
         $update[views] = $goods['views'] + 1;
         DB::update('goods', $update, 'aid=' . $goods['aid']);
     }
     save_history(__CLASS__, $goods['aid']);
     $title = $goods['seo_title'] ? $goods['seo_title'] : $goods['title'];
     seo($title, $goods['keywords'], $goods['description']);
     $this->show($tpl);
 }
开发者ID:lqlstudio,项目名称:ttae_open,代码行数:62,代码来源:goods.action.php


示例18: head

<?php

require "funcz/m.functionz.php";
print head("de", "Biographie", "bio.php", "Y");
?>
<body>
<div data-role="page" id="pageone">
  <div data-role="header">
     <?php 
print top("de", "Biographie", "Biographie");
?>
   </div>
  <div data-role="main" class="ui-content"> <h3>Klassischer Pianist</h3>
Seit vielen Jahren geh&ouml;rt der in Waldkirch lebende Pianist William Cuthbertson zu den
bedeutenden Protagonisten auch der regionalen Kulturszene.
Der aus Kent / England stammende Cuthbertson gewann bereits als Kind zahlreiche musikalische Wettbewerbe und absolvierte eine pianistische Karriere par excellence: das Klavierstudium an der <a href="http://www.ram.ac.uk/">Royal Academy of Music</a> in London bei Ruth Harte und Gordon Green, Chopin-Studien in Krakau bei Ludwik Stefanksi mit einem Stipendium der polnischen Regierung und Meisterschüler bei dem revolution&auml;ren Klavierpädagogen
<br/>
<br/>
Prof. Peter Feuchtwanger (London) sind die wichtigsten Stationen seiner musikalischen Vita. 
Mit Feuchtwanger richtet William Cuthbertson jedes Jahr einen internationalen <a href="meisterkurse.php">Meisterkurs</a> in Waldkirch aus.
William Cuthbertson hat Konzerte in Deutschland, Holland, Polen, Dänemark, Norwegen, England, Österreich, Schweden, der Schweiz und in den USA gegeben. 
Ein Schwerpunkt seiner Konzerttätigkeit war immer wieder das Werk von Fr&eacute;d&eacute;ric Chopin: &quot;Cuthbertsons Spiel zeugt von höchstem technisch-virtuosem K&ouml;nnen und Brillanz und ist dabei absolut frei und überaus nuancenreich in der Darstellung. 
Eine Meisterschaft des musikalischen Ausdrucks, wie sie wohl nur durch eine lebenslange Besch&auml;ftigung mit Chopin möglich ist&quot; urteilte die Badische Zeitung nach einem Chopin-Konzert von Cuthbertson.
Unter dem Titel  Poesie und Piano  bietet William Cuthbertson gemeinsam mit Martin Lunz, Schauspieler aus Badenweiler, Musik und Dichtung im Zwiegespräch, z.B. Rilke und Chopin.
<br/>
<br/>
Kulturelle Berührungsängste kennt er nicht: Cuthbertson ist Mitorganisator der <a href="http://kulturwoche-waldkirch.de/">Waldkircher Kulturwochen</a> und von Anfang an im Vorstand des Kommunalen Kinos <a href="http://www.klappe11.de/">Klappe 11</a>
 dabei, wo er auch Stummfilme mit freier Improvisation begleitet.       
 </div>
 <div data-role="footer">
      <?php 
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:m.bio.php


示例19: logged_out

require '../utility/htmlcommon.php';
logged_out();
validate_key();
$params = validate_params('POST', array('email'), array(FILTER_VALIDATE_EMAIL), array(FILTER_SANITIZE_EMAIL));
if (!$params) {
    error('Invalid params', 'login.php');
}
$select_db = connect('select');
$stmt = dbexec($select_db, 'SELECT username FROM users WHERE email = ?', array($params['email']), array(PDO::PARAM_STR));
$res = $stmt->fetch(PDO::FETCH_ASSOC);
if ($stmt->rowCount() === 0) {
    echo 'That email does not exist in our database';
    die;
}
$message = 'Hello, you recently requested to recover your username for the account associated
			with this email at Classmatches. If you did not request this information, we suggest
			you change your password at Classmatches as soon as possible. Your username is: ' . $res['username'] . '. Thank you for using Classmatches.';
$message = wordwrap($message, 100);
mail($params['email'], 'Username account recovery', $message, 'From: [email protected]');
top(false, 'Account recovery submit');
?>
		<div>
			<p>An email has been sent to <?php 
echo htmlspecialchars($params['email']);
?>
 with your username</p>
			<p><a href="login.php">Log In</a></p>
		</div>

<?php 
bottom();
开发者ID:dulinriley,项目名称:classmatches,代码行数:31,代码来源:usernamerecoversubmit.php


示例20: top

<?php

include "topbot.inc.php";
$header = "Legal Disclaimers &amp; Information";
top("Legal Disclaimers and Information", $header);
?>
			<div class="bodytext" style="padding:12px;" align="justify">
				The Recycle Buddy application contained in this website is still in its beginning versions. It is not without bugs. Use at your own discretion. The locations contained are, to the best of our knowledge, accurate and open facilities. When in doubt, please use the phone number provided to verify these locations before traveling to the facility. We are not responsible for gas used or any wear and tear on your car should you drive to one of these locations without first verifying the information. Other than the application, none of the information retrieved on the application is stored on your phone, so memory usage is kept at a minimum. These statements have not been approved by the FDA and neither the website or smartphone application is intended to treat, diagnose or cure any disease.</div>
			<div class="panel" align="justify">
				<div class="orangetitle">Credits &amp; Attributions</div>
				<div class="bodytext"><br />
					Android is a trademark of Google Inc. Use of this trademark is subject to <a href="http://www.google.com/permissions/index.html">Google Permissions</a>.<br />
					Portions of this page are modifications based on work created and <a href="http://code.google.com/policies.html">shared by Google</a> and used according to terms described in the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons 3.0 Attribution License</a>.<br />
					<br />
					The original template used for this site is by <a href="http://www.winkhosting.com" title="Hosting Colombia">Hosting Colombia</a>. It has been modified from the original design.<br />
				</div>
			</div>
			
<?php 
bottom();
开发者ID:neard,项目名称:recycle-buddy.site,代码行数:20,代码来源:legal.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP topMenus函数代码示例发布时间:2022-05-23
下一篇:
PHP tooltip函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap