Esempio n. 1
0
function events()
{
    $posts = events_query()->posts();
    // Custom sort because ordering by meta_value_num screws up the meta_query
    usort($posts, 'event_cmp');
    return $posts;
}
Esempio n. 2
0
    exit;
}
if (isset($_GET["status"])) {
    status_section();
    exit;
}
if (isset($_GET["PowerDNS-status"])) {
    PDNSStatus();
    exit;
}
if (isset($_GET["logs"])) {
    events();
    exit;
}
if (isset($_GET["syslog-table"])) {
    events_query();
    exit;
}
if (isset($_GET["popup-dn"])) {
    popup_dn_tabs();
    exit;
}
if (isset($_GET["record"])) {
    popup_record();
    exit;
}
if (isset($_GET["mx"])) {
    popup_mx();
    exit;
}
if (isset($_GET["mx-record-list"])) {
Esempio n. 3
0
<?php

get_header();
?>
<div class="wrapper">
  <div id="main">

    <section id="mission">
      <h2>Bellingham Circus Guild</h2>
      <p>We are jugglers, acrobats, aerialists, stilters, clowns, myth makers, experimental multi-medium theatricalists, and so very much more.</p>
    </section>

    <?php 
$event = events_query()->random_post();
?>
    <?php 
if ($event) {
    _loop::load($post = $event);
    ?>
      <section id="coming-soon" class="alert">
        <h3>Coming Soon</h3>
        <h4>to the Cirque Lab</h4>

        <hr />

        <a href="<?php 
    the_permalink();
    ?>
">
          <time class="highlight"><?php 
    the_event_date();
Esempio n. 4
0
if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["tabs"])){tabs();exit;}


if(isset($_GET["config"])){config();exit;}
if(isset($_GET["network-pdns-table"])){listen_ip_list();exit;}
if(isset($_POST["RemoteAddAddr"])){listen_ip_add();exit;}
if(isset($_POST["RemoteDelAddr"])){listen_ip_del();exit;}



if(isset($_GET["status"])){status_section();exit;}
if(isset($_GET["PowerDNS-status"])){PDNSStatus();exit;}

if(isset($_GET["logs"])){events();exit;}
if(isset($_GET["syslog-table"])){events_query();exit;}

if(isset($_GET["popup-dn"])){popup_dn_tabs();exit;}
if(isset($_GET["record"])){popup_record();exit;}

if(isset($_GET["mx"])){popup_mx();exit;}
if(isset($_GET["mx-record-list"])){popup_mx_list();exit;}
if(isset($_GET["mx-records-list"])){popup_mx_records();exit;}
if(isset($_GET["delete-mx-record"])){popup_mx_delete();exit;}
if(isset($_GET["add-mx-record"])){popup_mx_save();exit;}

if(isset($_GET["ns-record-field"])){popup_ns_field();exit;}
if(isset($_GET["ns-records-list"])){popup_ns_list();exit;}
if(isset($_GET["add-ns-record"])){popup_ns_save();exit;}
if(isset($_GET["aRecord-soa"])){popup_arecord_edit();exit;}