示例#1
0
        throw403();
    }
}
$extraHeadCode = "<script>";
$extraHeadCode .= "var channel = \"{$channel}\";";
$extraHeadCode .= "var channelCoebotData = " . json_encode($channelCoebotData) . ";";
$extraHeadCode .= "var userAccessLevel = " . getUserAccessLevel($channel) . ";";
$extraHeadCode .= "</script>";
if (!isCookieTrue("experimentalFeatures")) {
    $extraHeadCode .= "<style>.js-commands-addbtn, .js-commands-editcolumn, .js-quotes-addbtn, .js-quotes-editcolumn, .js-autoreplies-addbtn, .js-autoreplies-editcolumn, .hidden-if-experimental { display: none!important; }</style>";
}
if (!isCookieTrue("showWhalePenis")) {
    $extraHeadCode .= "<style>.whale-penis { display: none!important; }</style>";
}
printHead($channelCoebotData["displayName"], array("/css/channel.css"), array("//cdn.datatables.net/1.10.4/js/jquery.dataTables.min.js", "//cdn.datatables.net/plug-ins/9dcbecd42ad/integration/bootstrap/3/dataTables.bootstrap.js", "/js/later.min.js", "/js/prettycron.js", "/js/channel.js"), $extraHeadCode);
printNav('', true);
?>
<div class="container-fluid">
  <div class="row" role="tabpanel">
    <div class="sidebar">

      <div class="panel panel-default channel-sidebar-panel">
        <div class="panel-heading visible-xs-block" role="tab" id="channelSidebarHeading">
          <h4 class="panel-title">
            <div class="channel-sidebar-heading-title">
              <span class="js-islive islive-indicator-small" data-placement="bottom"><i class="js-islive-icon icon-fw"></i></span>
              <span class="js-channel-title channel-title-small"></span>
            </div>
            <div class="channel-sidebar-heading-toggle">
              <a data-toggle="collapse" href="#channelSidebarCollapse" aria-expanded="true" aria-controls="channelSidebarCollapse" class="btn btn-default btn-sm js-channel-tab-icon"></a>
            </div>
示例#2
0
<?php

require_once "common.php";
printHead("Help", array("/css/help.css"), array("/js/help.js"));
printNav('help');
?>
<div class="container">
  <div class="row">
    <div class="col-md-12">
      <h1>Help</h1>


      <h2 id="faq">Frequently Asked Questions</h2>

      <div class="panel-group" id="faqAccordion" role="tablist" aria-multiselectable="true">

        <div class="panel panel-default">
          <div class="panel-heading" role="tab" id="headingHowToJoin">
            <h4 class="panel-title">
              <a data-toggle="collapse" data-parent="#faqAccordion" href="#questionHowToJoin" aria-expanded="false" aria-controls="questionHowToJoin">
                Q: How can I get CoeBot on my channel?
              </a>
            </h4>
          </div>
          <div id="questionHowToJoin" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingHowToJoin">
            <div class="panel-body">
              Click the "Log in" button at the top right corner of this website and sign in with your Twitch account, then click the join button to have CoeBot enter your channel. If you would rather not sign in with Twitch, you can also join by typing <kbd>+join</kbd> in <a href="http://twitch.tv/coebot" target="_blank">CoeBot's Twitch chat</a>.
              <br><br>
              Getting everything set up for the first time may seem daunting, so feel free to tweet <a href="http://twitter.com/coebottv" target="_blank">@coebottv</a> if you need any help or have any questions.
            </div>
          </div>
示例#3
0
<?php

require_once "common.php";
printHead("Variable display maker");
printNav();
?>
<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">

      <h1>Variable display maker</h1>

      <p>This form can be used to create a webpage which you can then embed in your stream using CLR Browser. Only "Channel" and "Variable name" are required fields; the rest are optional.</p>

      <form action="/showvar.php" method="get">


        <h3>Main options</h3>

        <div class="form-group">
          <label for="makeform-channel">Channel name</label>
          <input type="text" class="form-control" id="makeform-channel" name="channel" placeholder="Your Twitch username">
        </div>

        <div class="form-group">
          <label for="makeform-var">Variable name</label>
          <input type="text" class="form-control" id="makeform-var" name="var" placeholder="ID of the variable">
        </div>

        <div class="form-group">
          <label for="makeform-refresh">Refresh interval (milliseconds)</label>
示例#4
0
}
if ($prefix == "hash") {
    $prefix = "#";
}
if ($prefix == "amp") {
    $prefix = "&";
}
if ($prefix == "qmark") {
    $prefix = "?";
}
if (strlen($prefix) != 1) {
    $prefix = $DEFAULT_COMMAND_PREFIX;
}
$extraHead = "<style>.command:before { content:\"{$prefix}\"; }</style>";
printHead("Commands", array("/css/commands.css"), array("/js/commands.js"), $extraHead);
printNav('commands');
?>
<div class="container">
  <div class="row">

    <div class="col-sm-9 col-lg-10">
      <h1>Commands</h1>

      <div class="alert alert-info" role="alert">
        <strong>Under revision!</strong> I have been starting to add permission levels next to all the commands on this page, but for the time being, only some of them have permission levels noted. Apologies for the mess; I hope to have this task finished soon.
      </div>

      <h2 id="general" class="commands-nav-heading">General</h2>

      <dl>
			  <dt><kbd class="command">join</kbd></dt>
示例#5
0
echo $url;
?>
/img/menu.png"       alt="Open Menu"/>
        <img class="fadeOpacityRotation closeMenuIcon" src="<?php 
echo $url;
?>
/img/close_menu.png" alt="Close Menu"/>
      </div>
      <div class="navigation fadeMaxHeightBorder">
        <?php 
printNav("Fisher Evans", $url . "/", isset($currentPage) && $currentPage == "about");
printNav("Blog", $url . "/blog/recent/1", isset($currentPage) && $currentPage == "blog");
printNav("Projects", $url . "/projects", isset($currentPage) && $currentPage == "projects");
printNav("Resources", $url . "/resources", isset($currentPage) && $currentPage == "resources");
printNav("Resume", "http://resume.fisherevans.com/", isset($currentPage) && $currentPage == "resume", true);
printNav("Contact Me", $url . "/contact", isset($currentPage) && $currentPage == "contact", false, true);
?>
      </div>
      <a class="subscribe fadeColors" href="http://eepurl.com/bowcor" target="_blank">Subscribe to my blog</a>
      <div class="connect">
        <a class="icon fadeColors flaticon-gmail3"      target="_blank" title="Email Address"       href="mailto:contact@fisherevans.com"></a>
        <a class="icon fadeColors flaticon-linkedin12"  target="_blank" title="LinkedIn Profile"    href="https://www.linkedin.com/in/fisherevans/"></a>
        <a class="icon fadeColors flaticon-github8"     target="_blank" title="GitHub Account"      href="https://github.com/fisherevans"></a>
        <a class="icon fadeColors flaticon-twitter13"   target="_blank" title="Twitter Feed"        href="https://twitter.com/FisherEvans"></a>
        <a class="icon fadeColors flaticon-facebook29"  target="_blank" title="Facebook Page"       href="https://www.facebook.com/fisherevans"></a>
        <a class="icon fadeColors flaticon-google110"   target="_blank" title="Google Plus Profile" href="https://plus.google.com/+FisherEvans/posts"></a>
        <a class="icon fadeColors flaticon-500px5"      target="_blank" title="500px Profile"       href="https://500px.com/fisherevans"></a>
        <a class="icon fadeColors flaticon-magnifier13" target="_blank" title="Google Search Me"    href="http://lmgtfy.com/?q=Fisher+Evans+software+engineer"></a>
      </div>
      <a class="contact fadeColors" href="<?php 
echo $url;
示例#6
0
<?php

require_once "common.php";
printHead("Channels", array("/css/chanlist.css"), array("/js/chanlist.js"));
printNav('channels');
?>
<div class="container-fluid">
  <div class="row">
    <div class="col-sm-6 col-sm-offset-3 col-md-4 col-md-offset-4">
      <h2>Channels</h2>
      <div class="list-group js-list-channels">
      </div>
      <script>displayListChannels();</script>
    </div>
  </div>
</div>
<?php 
printFooter();
printFoot();