Esempio n. 1
0
    $( "#tags" ).autocomplete({
      source: availableTags
    });
  });
  </script>


                    <?php 
$api_url = 'https://data.leafly.com/strains/' . $slug . '';
$app_id = '91768d00';
$app_key = 'fa557088ad73a02196ab929a1be0437b';
include app_path() . '/includes/leafly/utils.php';
include app_path() . '/includes/leafly/src/leafly.php';
Leafly_Connector::init($app_id, $app_key);
$strains = new Leafly_Strains();
$search = $strains->search(array('take' => 1, 'page' => 0, 'sort' => 'rating'));
foreach ($search->Strains as $strain) {
    ?>

        <!-- CONTENT -->

        <!-- Intro Section -->
        <section class="inner-intro bg-img overlay-dark light-color parallax parallax-background2" style="background:url('http://i.huffpost.com/gen/1192715/images/o-MARIJUANA-DISPENSARY-facebook.jpg')">
             <div class="container">
                <div class="row title">
                    <h1>{{$slug}}</h1>

                        <form class="contact-form" id="contact" role="form">
                        <div class="row">
                            <div class="col-md-8 col-md-offset-2">
                                <div class="col-md-12">
$api_url = 'http://data.leafly.com/strains/';
$app_id = 'ccb0ba11';
$app_key = 'b7165ad5ce9797420c95bcc009f99298';
include app_path() . '/includes/leafly/utils.php';
include app_path() . '/includes/leafly/src/leafly.php';
Leafly_Connector::init($app_id, $app_key);
$strains = new Leafly_Strains();
if (isset($_GET['strain'])) {
    $strain = $strains->get_strain('');
}
if (isset($_GET['symptom'])) {
    $symptoms = $_GET['symptom'];
} else {
    $symptoms = '';
}
$search = $strains->search(array('take' => 20, 'page' => 0, 'Condition' => 'PTSD'));
foreach ($search->Strains as $strain) {
    ?>


                    <div class="container">
                    <div class="nf-item 


                            <?php 
    echo $strain->Category;
    ?>

                            spacing

                <?php 
$api_url = 'http://data.leafly.com';
$app_id = '91768d00';
$app_key = 'fa557088ad73a02196ab929a1be0437b';
include app_path() . '/includes/leafly/utils.php';
include app_path() . '/includes/leafly/src/leafly.php';
Leafly_Connector::init($app_id, $app_key);
$strains = new Leafly_Strains();
if (isset($_GET['strain'])) {
    $strain = $strains->get_strain('');
}
if (isset($_GET['symptom'])) {
    $symptoms = $_GET['symptom'];
} else {
    $symptoms = '';
}
$search = $strains->search(array('take' => 20, 'page' => 0, 'Condition' => 'addadhd'));
foreach ($search->Strains as $strain) {
    ?>


                    <div class="container">
                    <div class="nf-item 


                            <?php 
    echo $strain->Category;
    ?>

                            spacing

                <?php 
Esempio n. 4
0
  </script>



                    <?php 
$api_url = 'http://data.leafly.com/strains/og-kush';
$app_id = '91768d00';
$app_key = 'fa557088ad73a02196ab929a1be0437b';
include app_path() . '/includes/leafly/utils.php';
include app_path() . '/includes/leafly/src/leafly.php';
Leafly_Connector::init($app_id, $app_key);
$strains = new Leafly_Strains();
if (isset($_GET['strain'])) {
    $strain = $strains->get_strain($_GET['strain']);
}
$search = $strains->search(array('take' => 1));
foreach ($search->Strains as $strain) {
    ?>
                    <section class="inner-intro bg-img overlay-dark light-color parallax parallax-background2" style="background:url('http://i.huffpost.com/gen/1192715/images/o-MARIJUANA-DISPENSARY-facebook.jpg')">
                    <div >
                        <canvas id="pollyfill-canvas"></canvas>
                    </div>
                    <div class="full-cap-wraper">
                        <div class="content-caption light-color">
                            <div class="container">
                                <h1 class="h1">BD</h1>
                                <br>
                                <h1>Blue Dream</h1>
                                <img src="https://s3.amazonaws.com/enterprise-multitenant.3scale.net.3scale.net/leafly/2014/08/06/pbl-white-c112478ef31d5ce9.png?AWSAccessKeyId=AKIAIRYLTWBQ37ZNGBZA&Expires=1436411597&Signature=%2BFyUabPqlUm84aRIvxXV6%2FwPpp4%3D" alt="Powered by Leafly"><br>
                                <br>
                            </div>
Esempio n. 5
0
    $( "#tags" ).autocomplete({
      source: availableTags
    });
  });
  </script>


                    <?php 
$api_url = 'http://data.leafly.com/strains/';
$app_id = 'ccb0ba11';
$app_key = 'b7165ad5ce9797420c95bcc009f99298';
include app_path() . '/includes/leafly/utils.php';
include app_path() . '/includes/leafly/src/leafly.php';
Leafly_Connector::init($app_id, $app_key);
$strains = new Leafly_Strains();
$search = $strains->search(array('take' => 15, 'page' => 0, 'conditons' => 'PTSD'));
if (isset($slug)) {
    $strain = $strains->get_strain($slug);
}
?>



        <!-- CONTENT -->

        <!-- Intro Section -->
        <section class="inner-intro bg-img overlay-dark light-color parallax parallax-background2" style="background:url('<?php 
echo $strain->photos[0]->fullsize;
?>
')">
             <div class="container">