Example #1
0
/*getComponent('LinkBox', array('volunteer')); */
?>
      <p>Want to get involved but not really sure how you could help? Here are some tips.</p>
      <ul>
        <li>Be active on Social Media - if you're on twitter, reach out.</li>
        <li>Get together with family and neighbors and actually discuss politics.</li>
        <li>Reach out on <a href="http://marcorubio.com/team-marco/" target="_blank">MarcoRubio.com</a> and sign up for their newsletter and request to help.</li>
      </ul>
    </div>

    <div class="col-sm-12" style="text-align: center;">
      <h2>This election is a generational choice about what kind of country we will be.</h2>
      <h3>Are you ready for a new American Century?</h3>

      <?php 
getComponent('flexvid');
?>

      <p>Watch highlight's from Marco's announcement speech at the Freedom Tower in Miami</p>
    </div>

    <div class="col-sm-12">
      <div class="mod-box">
        <a href="/media" class="link-box">
          <h3>
            <span class="icon">
              <svg><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#image"></use></svg>
            </span>
            Media from TexansForRubio
          </h3>
        </a>
Example #2
0
        <link rel="stylesheet" href="<?php 
$_SERVER['DOCUMENT_ROOT'];
?>
/public/css/main.css">

        <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>

    </head>
    <body>


      <!--[if lt IE 10]>
            <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->

      <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><symbol id="hammer" viewBox="0 0 32 32"><path d="M31.562 25.905l-9.423-9.423c-0.583-0.583-1.538-0.583-2.121 0l-0.707 0.707-5.75-5.75 9.439-9.439h-10l-4.439 4.439-0.439-0.439h-2.121v2.121l0.439 0.439-6.439 6.439 5 5 6.439-6.439 5.75 5.75-0.707 0.707c-0.583 0.583-0.583 1.538 0 2.121l9.423 9.423c0.583 0.583 1.538 0.583 2.121 0l3.535-3.535c0.583-0.583 0.583-1.538 0-2.121z"></path></symbol><symbol id="image" viewBox="0 0 32 32"><path d="M0 4v26h32v-26h-32zM30 28h-28v-22h28v22zM22 11c0-1.657 1.343-3 3-3s3 1.343 3 3c0 1.657-1.343 3-3 3s-3-1.343-3-3zM28 26h-24l6-16 8 10 4-3z"></path></symbol><symbol id="twitter" viewBox="0 0 32 32"><path d="M32 6.076c-1.177 0.522-2.443 0.875-3.771 1.034 1.355-0.813 2.396-2.099 2.887-3.632-1.269 0.752-2.674 1.299-4.169 1.593-1.198-1.276-2.904-2.073-4.792-2.073-3.626 0-6.565 2.939-6.565 6.565 0 0.515 0.058 1.016 0.17 1.496-5.456-0.274-10.294-2.888-13.532-6.86-0.565 0.97-0.889 2.097-0.889 3.301 0 2.278 1.159 4.287 2.921 5.465-1.076-0.034-2.088-0.329-2.974-0.821-0.001 0.027-0.001 0.055-0.001 0.083 0 3.181 2.263 5.834 5.266 6.437-0.551 0.15-1.131 0.23-1.73 0.23-0.423 0-0.834-0.041-1.235-0.118 0.835 2.608 3.26 4.506 6.133 4.559-2.247 1.761-5.078 2.81-8.154 2.81-0.53 0-1.052-0.031-1.566-0.092 2.905 1.863 6.356 2.95 10.064 2.95 12.076 0 18.679-10.004 18.679-18.68 0-0.285-0.006-0.568-0.019-0.849 1.283-0.926 2.396-2.082 3.276-3.398z"></path></symbol><symbol id="texas-logo" viewBox="0 0 250 250"><polyline class="body" points="173.182,224.45 166.939,207.018 171.084,183.266 195.399,171.985 208.783,159.506 230.591,148.065 232.492,137.659 232.049,132.408 235.108,122.751 228.865,110.235 224.388,104.708 222.146,74.508 215.327,74.012 204.19,67.793 198.738,67.384 189.364,73.184 159.893,72.888 154.883,67.001 140.422,67.001 134.76,61.256 130.315,63.918 120.705,58.099 119.48,20.519 72.808,19.356 67.871,108.636 6.303,104.379 6.303,108.555 25.199,128.776 38.663,136.855 50.067,163.307 64.323,169.327 69.709,163.941 73.294,150.002 90.856,149.368 107.737,163.429 127.031,192.365 130.896,195.901 138.307,216.222 161.264,226.649"/></symbol><symbol id="paper" viewBox="0 0 32 32"><path d="M27.879 5.879l-3.757-3.757c-1.167-1.167-3.471-2.121-5.121-2.121h-14c-1.65 0-3 1.35-3 3v26c0 1.65 1.35 3 3 3h22c1.65 0 3-1.35 3-3v-18c0-1.65-0.955-3.955-2.121-5.121zM20 4.236c0.069 0.025 0.139 0.053 0.211 0.082 0.564 0.234 0.956 0.505 1.082 0.631l3.757 3.757c0.126 0.126 0.397 0.517 0.631 1.082 0.030 0.072 0.057 0.143 0.082 0.211h-5.764v-5.764zM26 28h-20v-24h12v8h8v16zM8 16h16v2h-16zM8 20h16v2h-16zM8 24h16v2h-16z"></path></symbol><symbol id="facebook" viewBox="0 0 32 32"><path d="M17.996 32h-5.996v-16h-4v-5.514l4-0.002-0.007-3.248c0-4.498 1.22-7.236 6.519-7.236h4.412v5.515h-2.757c-2.064 0-2.163 0.771-2.163 2.209l-0.008 2.76h4.959l-0.584 5.514-4.37 0.002-0.004 16z"></path></symbol><symbol id="instagram" viewBox="0 0 32 32"><path d="M26.688 0h-21.375c-2.922 0-5.313 2.391-5.313 5.313v21.375c0 2.922 2.391 5.313 5.313 5.313h21.375c2.922 0 5.313-2.391 5.313-5.313v-21.375c0-2.922-2.391-5.313-5.313-5.313zM10.244 14h11.513c0.218 0.627 0.337 1.3 0.337 2 0 3.36-2.734 6.094-6.094 6.094s-6.094-2.734-6.094-6.094c0-0.7 0.119-1.373 0.338-2zM28 14.002v11.998c0 1.1-0.9 2-2 2h-20c-1.1 0-2-0.9-2-2v-12h3.128c-0.145 0.644-0.222 1.313-0.222 2 0 5.014 4.079 9.094 9.094 9.094s9.094-4.079 9.094-9.094c0-0.687-0.077-1.356-0.222-2l3.128 0.002zM28 7c0 0.55-0.45 1-1 1h-2c-0.55 0-1-0.45-1-1v-2c0-0.55 0.45-1 1-1h2c0.55 0 1 0.45 1 1v2z"></path></symbol><symbol id="youtube" viewBox="0 0 32 32"><path d="M26 4h-20c-3.3 0-6 2.7-6 6v12c0 3.3 2.7 6 6 6h20c3.3 0 6-2.7 6-6v-12c0-3.3-2.7-6-6-6zM12 24v-16l10 8-10 8z"></path></symbol></svg>

      <header class="site-header container-fluid">
        <?php 
getComponent('Logo');
?>
        <nav class="header__nav">
          <ul>
            <li><a href="/about">About Us</a></li>
            <li><a href="/help">How to help</a></li>
            <li><a href="/issues">Issues</a></li>
            <li><a href="/newsletter">Newsletter</a></li>
          </ul>
        </nav>
      </header>
Example #3
0
                        $def = ' menu_layers ';
                        if ($holder['align'] == "full") {
                            $def = 'full-area';
                        }
                        if ($holder['align'] == "full" || $holder['align'] == "center") {
                            $def .= ' menu-centered';
                        }
                        if (isset($holder['elements']) && count($holder['elements']) > 0) {
                            ?>
                              <div class="<?php 
                            echo $def . ' ' . $holder['align'];
                            ?>
 clearfix">
                                <?php 
                            foreach ($holder['elements'] as $el) {
                                getComponent($el);
                            }
                            ?>
                              </div>

                              <?php 
                        }
                    }
                    ?>
 


                  </div>
                
                  </div>  
                
Example #4
0
<?php

getHeader($data);
?>

<div class="jumbotron inner-page-title">
  <h1><?php 
echo $data['pagetitle'];
?>
</h1>
</div>

<div class="container inner-main-wrap">
    <div class="col-sm-12">
      <h3>On the issues:</h3>
      <?php 
getComponent('issuesposts', $data['issues']);
?>


    <?php 
getComponent('LinkBox', array('newsletter', 'media', 'twitter'));
?>

  </div>
</div>

<?php 
getFooter();
 *
 * @category     ISN
 * @package      Joomla Client
 * @author       Nick Temple <*****@*****.**>
 * @license      GNU/GPL 2.0 http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * @copyright    2008 Intellispire/Nick Temple
 * @version SVN: $Id: tools.view.default.html.php 164 2010-04-16 16:16:06Z ntemple $
 *
 */
defined('_JEXEC') or die;
if (defined('_JLEGACY')) {
    $mode = 'Off';
} else {
    $mode = 'On';
}
$diagnostics = array('Updater Version' => UPDATER_HVERSION . "-" . UPDATER_REVISON . "(" . UPDATER_VERSION . ")", 'CB Installed' => getComponent('com_comprofiler'), 'VirtueMart Installed' => getComponent('com_virtuemart'), 'FTP Mode' => UPDATER_FTP_ENABLED, 'Legacy' => $mode, 'File 1' => $finfo1['stat'], 'File 2' => $finfo2['stat'], 'Core' => $finfo5['stat'], 'Temp' => $finfo3['stat'], 'Site' => $finfo4['stat']);
$wanted = array('PHP Version', 'System', 'Server API', 'allow_url_fopen', 'memory_limit', 'register_globals', 'cURL support', 'Client API version', 'MYSQL_MODULE_TYPE', 'MYSQLI_SOCKET', 'PDO drivers', 'session.save_path');
foreach ($info as $module => $array) {
    foreach ($wanted as $name) {
        if (isset($array[$name])) {
            $diagnostics[$name] = $array[$name];
        }
    }
}
$out = '';
foreach ($diagnostics as $name => $value) {
    $out .= "{$name}: {$value}\n";
}
?>
<div class="col50">
  <fieldset class="adminform">
Example #6
0
    <p>Check out what we have to offer by following us on Twitter.</p>
    <a href="https://twitter.com/texansforrubio" target="_blank">@TexansForRubio</a>
  </div>


  <div class="mod-box--alpha" style="margin-top: 1em;">
    <h2>
      <span class="icon icon-twitter"><svg><use xlink:href='#facebook'></use></svg></span>
        Like us on Facebook
    </h2>
    <p>Join the strong community of Texans supporting Marco on Facebook!</p>
    <a href="https://www.facebook.com/groups/marcorubioforpresidenttexas/" target="_blank">Marco Rubio TX</a>
  </div>

  <?php 
getComponent('RubioOnSocial');
?>

  <?php 
/*<div class="mod-box">
    <a href="https://docs.google.com/forms/d/1CVsxBpnqCFyoZpGImNmIqYSgDb6ItCT3upl274whsCA/viewform?c=0&w=1" target="_blank" class="link-box">
      <h3>
          <span class="icon">
            <svg><use xlink:href="#hammer"></use></svg>
          </span>
        Volunteer
      </h3>
    </a>
  </div> */
?>
Example #7
0
$not_resolve = intval($not_resolve);
//echo "<pre>";
//print_r($hosts);
//echo $hosts;
//print_r($postParams);
//echo "</pre>";
global $dbconn, $username;
$query = "select count(*) from vuln_nessus_plugins";
$result = $dbconn->execute($query);
list($pluginscount) = $result->fields;
if ($pluginscount == 0) {
    logAccess("NO PLUGINS IN THE DB - USER NEED LAUNCH UPDATEPLUGINS");
    //$logh->log("$username : "******" : You need to run updateplugins.pl", PEAR_LOG_CRIT);
    die("<h2>Please run updateplugins.pl script first before using web interface.</h2>");
}
$component = getComponent($username);
function java_validation()
{
    global $emailDomains;
    echo <<<EOT

<script language="JavaScript">
function checkForm()
{
   var sname, notify_email, tarSel, ip_list, ip_start, ip_end, named_list, subnets,  schedule_type;
   with(window.document.msgform)
   {
      cname    = sname;
      cemail   = notify_email;
      csubject = schedule_type;
      ctSel    = tarSel;
Example #8
0
    </div>
  </div>
</div>

<hr>

<div id="issues"></div>
<div class="container-fluid issues-wrap">
  <div class="container">
    <div class="col-sm-12">
      <h3>On the issues:</h3>
      <?php 
getComponent('issuesposts', $data['issues']);
?>
      <?php 
getComponent('LinkBox', array('issues'));
?>
    </div>
  </div>
</div>

<div id="about-rubio"></div>
<div class="container-fluid about-rubio-wrap">
  <h2>More about Marco Rubio</h2>
</div>
<div class="container container--tight">
  <div class="col-sm-12">
    <h4>A Quick Story About How I Became A Republican</h4>
    <h5><small>from Marco Rubio</small></h5>
    <article>
      <p>Here I’m not going to tell you all the reasons I’m a Republican. I’m going to tell you the story of how I first started calling myself a Republican.</p>