Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
 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;
 }
Example #4
0
<?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) {
Example #5
0
<?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;"/>
Example #6
0
 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;
 }
Example #7
0
 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' => ''));
 }
Example #8
0
         $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));
     }
Example #9
0
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>
Example #10
0
<?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:w.cuthbertson@gmx.de" target="_new">w.cuthbertson@gmx.de</a></td></tr>
<?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>
Example #12
0
					  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']);
Example #13
0
 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();
 }
$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='******'username'] . '&key=' . urlencode($key->get_key());
$headers = "From: accountcreation@classmatches.com \n";
$headers .= "Reply-To: accountcreation@classmatches.com \n";
$headers .= "Return-Path: accountcreation@classmatches.com \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();
Example #15
0
 *
 * 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
Example #16
0
<?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>.
Example #17
0
 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);
 }
Example #18
0
<?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 
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: accountrecovery@classmatches.com');
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();
Example #20
0
<?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();
Example #21
0
//haal de pagina met functie op
include 'functions.php';
//maak conectie
connect();
//Zet de titlte van de pagina
$title = 'Bewerk filhosters';
//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';
    }
Example #22
0
<?php

require "funcz/m.functionz.php";
print head("en", "links", "links_e.php", "Y");
?>
<body>
<div data-role="page" id="pageone">
  <div data-role="header">
     <?php 
print top("en", "Links", "Links");
?>
     </div>
  <div data-role="main" class="ui-content">
 <table cellpadding="10">
			 <?php 
alink("alexandertechnique.png", "Alexander Technique", "http://www.alexandertechnique.com/");
alink("wikipedia.png", "Alexander Technique (wikipedia)", "http://en.wikipedia.org/wiki/Alexander_technique");
alink("abrsm.jpg", "Associated Board of the Royal Schools of Music (ABRSM) - Examinations", "http://de.abrsm.org/en/home");
alink("eltzalmuseum.gif", "Elztal Museum, Waldkirch", "http://www.elztalmuseum.de/");
alink("epta.png", "European Piano Teachers Association", "http://epta-europe.org");
alink("klappe11.jpg", "Klappe 11 Cinema and Arts Festival, Waldkirch", "http://www.klappe11.de/");
alink("musicschulewaldkirch.jpg", "Waldkirch Music School", "http://www.fv-musikschule-waldkirch.de/");
alink("pf.png", "Peter Feuchtwanger - Pianist, Composer, Padagogue", "http://www.peter-feuchtwanger.de/");
alink("pfclub.jpg", "Peter Feuchtwanger Club (Facebook)", "https://www.facebook.com/Peter-Feuchtwanger-Club-195576167160189/");
alink("wikipedia.png", "Peter Feuchtwanger (Wikipedia)", "https://en.wikipedia.org/wiki/Peter_Feuchtwanger");
alink("ram.png", "Royal Academy of Music", "http://www.ram.ac.uk/");
alink("blido.jpg", "Stefan Blido", "http://www.blido.de/");
alink("kulturwoche.jpg", "Waldkirch Culture Week", "http://kulturwoche-waldkirch.de/");
alink("wo.jpg", "Waldkirch Organ Foundation", "http://www.waldkircher-orgelstiftung.de/");
alink("fb.jpg", "William Cuthbertson Facebook", "https://www.facebook.com/william.cuthbertson.12");
?>
Example #23
0
<?php

require "funcz/m.functionz.php";
print head("de", "skizzen", "bilde.php", "Y");
?>
<body>
<div data-role="page" id="pageone">
  <div data-role="header">
     <?php 
print top("de", "Skizzen", "Skizzen");
?>
 </div>
  <div data-role="main" class="ui-content">
 <table class="table">
  <tr>
  <td><?php 
photo("1.png", "1_tn.png", "Skizzen%20von%20Gosia%20Kulczyk", "Bild%201", "m.bilde.php", "de");
?>
 &nbsp;  </td>
  <td><?php 
photo("2.jpg", "2_tn.jpg", "Skizzen%20von%20Gosia%20Kulczyk", "Bild%202", "m.bilde.php", "de");
?>
 &nbsp;  </td>
  <td><?php 
photo("4.jpg", "4_tn.jpg", "Skizzen%20von%20Gosia%20Kulczyk", "Bild%203", "m.bilde.php", "de");
?>
 &nbsp; </td>
  <td><?php 
photo("5.jpg", "5_tn.jpg", "Skizzen%20von%20Gosia%20Kulczyk", "Bild%208", "m.bilde.php", "de");
?>
</td>
Example #24
0
<?php

include "topbot.inc.php";
$header = "Recycle Buddy Android™ App";
top("Android™ App", $header);
?>
			<!--<div class="bodytext" style="padding:12px;" align="justify">
				<strong>Quick one-liner.</strong><br />
				<br />
				Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur id est   tincidunt nisl pellentesque tincidunt. Donec in mauris. Mauris neque magna,   consectetuer id, malesuada vitae, tincidunt sit amet, mi. Aliquam lacinia.   Suspendisse potenti. Proin justo lorem, rutrum ac, facilisis in, malesuada sed,   ligula. Mauris lobortis lacus at nibh. Aenean vitae odio vel odio placerat   hendrerit. Suspendisse lacus lacus, tempor id, pharetra eget, ornare sit amet,   pede. Sed aliquet, justo ac elementum pretium, arcu leo placerat est, a luctus   purus diam eget arcu. Nam augue diam, mollis a, scelerisque eget, aliquet   condimentum, pede. Vestibulum tristique lectus sed augue.
			</div>
			<div class="panel" align="justify">
				<div class="orangetitle">Coming Soon</div>
				<div class="bodytext"><br />
					More information is coming soon. Until then, feel free to use the <a href="contact.php">Contact Form</a> for any questions or requests.			
				</div>			</div>-->
			<div class="panel" align="center">
				<div class="orangetitle">Download</div>
				<div class="bodytext"><br />
					Download the latest version of Recycle Buddy from our site.<br />Scan this code with your phone's Barcode Scanner:<br /><img src="qrcode-apppage.png" alt="QR Code for Android App" />
					<p>Or go to this URL in your phone's browser and download:<br /><a href="http://recyclebuddy.itjustwerx.net/net.itjustwerx.recyclebuddy.apk" style="color:black">http://recyclebuddy.itjustwerx.net/net.itjustwerx.recyclebuddy.apk</a><br />(Note: You will need to be able to <a href="http://www.groovypost.com/howto/mobile/android-how-to-allow-install-apps-unknown-sources/">install apps from Unknown sources</a>.)</p>
				</div>
			</div>

<?php 
bottom();
Example #25
0
<?php

require '../utility/common.php';
require '../utility/htmlcommon.php';
logged_out();
top(false, 'Reset your password');
?>

		<p>Type in your email, and we'll confirm you're you, then you can reset your password</p>
		<p>Please allow up to an hour for the email to arrive</p>
		<form action="forgotsubmit.php" method="post">
			<fieldset>
				<legend>Reset password</legend>
				<label>Email: <input type="text" name="email" placeholder="*****@*****.**" /></label>
				<?php 
echo form_security_gen();
?>
				<input type="submit" value="Submit" />
			</fieldset>
		</form>
<?php 
bottom();
Example #26
0
<?php

include "topbot.inc.php";
$header = "Welcome to Recycle Buddy";
top("Home", $header);
?>
			<div class="bodytext" style="padding:12px;" align="justify">
				<strong>The Recycle Buddy smartphone application and this website are submitted to meet the requirements of CSC 424 at the University of Southern Mississipi, a computer science capstone course. For more information about the creators (Doug Burkhalter and Chris Truitt), view the <a href="about.php">About</a> page.</strong><br />
				<br />
				
			</div>
			<div class="panel" align="justify">
				<div class="orangetitle">Making the World a better place, one smartphone app at a time.</div>
				<div class="bodytext"><br />
					You hear information every day about making the world a better place, to conserve natural resources, or to help save the ozone layer. Many of you may be skeptical believing the idea: "Oh, I am just one person, what kind of difference can I make?" The truth however, is YOU can make a difference. By making a few, simple changes to your everyday routine you can significantly reduce your carbon footprint. By turning off the lights in a room you are not using, or carpooling with coworkers to work, you are making a beneficial impact on your world. Hey, you might even inspire others around you to do the same. One of the easiest ways to help make such changes is to recycle materials instead of tossing them in a garbage bag that is just left to sit in a landfill somewhere. Welcome to Recycle Buddy! Whether you are already a diligent recycler or you are just starting out, this website and it's smartphone component are right for you. With Recycle Buddy, you can easily search for the nearest recyclingcenters near you. You can search by the city in which you live, or even by the material you wish to recycle. Not good with directions? That's okay, Recycle Buddy will even send the address to a map application for turn-by-turn directions to get you to the center with ease. The best part, it's free! There are no fees for locating places on the website or for downloading the application to your phone. What are you waiting for? Your carbon footprint isn't going to reduce itself! 				</div>			</div>


			

		
<?php 
bottom();
Example #27
0
     start($from['id'], $from['first_name'], $from['last_name']);
     break;
 case '/stop':
 case '/end':
 case '/стоп':
 case '/Стоп':
 case '/Stop':
 case '/quit':
 case '/exit':
     stop($from['id']);
     break;
 case '/help':
     help($from['id']);
     break;
 case '/top':
     top($from['id']);
     break;
 case '/mytop':
     mytop($from['id']);
     break;
 case '/reloadquiz':
     if ($from['id'] == administrator_id) {
         global $questionlist;
         $questions = file_get_contents('quiz');
         $questions .= "\n" . file_get_contents('quiz2');
         $questionlist = explode("\n", trim($questions));
     }
     break;
 default:
     if (mb_stripos($text, '/ban', 0, 'UTF-8') !== FALSE && $from['id'] == administrator_id) {
         ban(mb_substr($text, 5, mb_strlen($text, 'UTF-8'), 'UTF-8'));
Example #28
0
<?php

require '../utility/common.php';
require '../utility/htmlcommon.php';
list($user_id, $tree, $name) = logged_in();
session_start();
$_SESSION['first_load'] = true;
session_commit();
top(true, 'Groupmates', $name, array('/utility/classmatch.css', 'groups.css'));
$select_db = connect('select');
eventsidebar($select_db, $user_id);
$groups = $tree->vars();
?>
<div class="listsDiv">
	<ul id = "groupFunctions">
		<li><a href="groups.php">My Groups</a></li>
		<li><a href="search.php">Search and Add Groups</a></li>
		<li><a href="create.php">Create a New Group</a></li>
		<li><a href="groupmates.php">Find People in your Groups</a></li>
	</ul>
	<h2>Find People in your Groups</h2>
	<select name="group">
		<?php 
foreach ($groups as $group) {
    ?>
			<option value="<?php 
    echo htmlspecialchars($group['id']);
    ?>
"><?php 
    echo htmlspecialchars($group['name']);
    ?>
Example #29
0
<?php

require "funcz/m.functionz.php";
print head("de", "kinder", "kinder.php", "Y");
?>
<body>
<div data-role="page" id="pageone">
  <div data-role="header">
      <?php 
print top("de", "Kinder", "Unterricht f&uuml;r Kinder");
?>
   </div>
  <div data-role="main" class="ui-content">
                 William Cuthbertson unterrichtet auch Kinder, von Anfängern bis Fortgeschrittene. 		
                 Dabei könnten die Kinder ausser klassischen Stücken auch Stücke aus derm Pop- und Jazzrepertoire kennenzulernen.  
                 Es besteht auch die Möglichkeit ABRSM Prufüngen zu machen.
                 <br/>
				 <br />
				 <h3>Erwachsene (Laien)</h3>
 				 Späteinsteiger und Wiedereinsteiger sind auch herzlich willkommmen.
<table>
<tr>
<td valign="top">
<?php 
photorightfs("Vorspiel1.jpg", "Vorspiel1_240.jpg", "Kinder", "Kind%201", "kinder.php", "de");
?>
<br  class='brclear'/>
<br  class='brclear'/>
<?php 
photorightfs("Vorspiel2.jpg", "Vorspiel2_240.jpg", "Kinder", "Kind%202", "kinder.php", "de");
?>
Example #30
0
 /**
  * Pop the item reference off the list as a reference
  * 
  * This truncates the list from the top, and returns its value as a
  * reference
  * 
  * @return string|Falcraft\Data\Types\Null
  * 
  */
 public function &popReference()
 {
     $top = $this0 > top();
     if (!$top instanceof Null) {
         return array_shift($this->list);
     }
     return new Null();
 }