Phalcon Framework 5.6.2

Error: Call to a member function all() on null

/home/sahara/apps/betjamii/views/cache/www/www_home_sahara_apps_betjamii_views_www_partials_leftsidebar.volt.php (204)
#0Phalcon\Mvc\View\Engine\Volt->render
#1Phalcon\Mvc\View->engineRender
#2Phalcon\Mvc\View->partial
#3Phalcon\Mvc\View\Engine\AbstractEngine->partial
/home/sahara/apps/betjamii/views/cache/www/www_home_sahara_apps_betjamii_views_layouts_user.volt.php (1030)
 <!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.1//EN"-:-
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="fb:app_id" content="1647193645582581" /> 
<meta property="og:url"           content="<?php echo $this->session->has('beturl') ?  $this->session->get('beturl') : 'https://betjamii.com/'; ?>"/> 
<meta property="og:type"          content="website"/>
<meta property="og:title"         content="<?php echo isset($bettitle) ?  $bettitle : 'PLAY With Best Odds and get paid instantly when the match ends'; ?>"/>
<meta property="og:description"   content="Win More cash by playing daily bets" />
<meta property="og:image"         content="https://betjamii.com/images/banners/BetRafikiWebsiteBanner0.jpg"/>
<meta name="csrf_token_name" content="<?php echo $this->security->getTokenKey() ?>">
<meta name="csrf_token" content="<?php echo $this->security->getToken() ?>">
 
<title>Bet Jamii</title>
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="/css/style.css" type="text/css" />
<!--<link rel="stylesheet" href="/css/style.min.css" type="text/css" />-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-formhelpers/2.3.0/css/bootstrap-formhelpers.min.css">
<link href="https://fonts.googleapis.com/css?family=Muli:300,400,600,700,900" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/css/bootstrap-select.min.css">
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css">
<style>
.panel{
 
}
.user-access{
  cursor:pointer;
}
 
.access-box{
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0px 0px 0px 5px #5a5c5e;
    padding: 10px 20px;
    border-radius: 0.5em;
    z-index: 100;
    right: 0;
    padding: 4em 8em;
    height: auto;
    overflow: hidden;
   /* color: #fff;*/
}
.accessinfo{
    position: relative;
    padding: 2em;
}
.accessinfo > h1{
    font-size: 15px;
    font-weight: 900;
}
.accessinfo > h1 > span{
    background: #31303E;
    color: #fff;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: .3em;
    font-weight: 900;
}
.accessinfo > h1 > span i{
    color: #e82738;
}
.access-bg{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: .1;
    z-index: -2;
}
.access-header{
/*    background: #31303E;*/
    border-radius: 0;
    border: none;
   /* border-top: 4px solid #008C51;
    color: #fff;*/
    padding: 6px;
}
.access-box-aside{
    float: left;
    width: 50%; 
}
.login-box,.signup-box{
   width: 400px;
}
.login-box{
 
}
.signup-box{
 
}
.signup-info{
  
}
.login-box .form-group{
  
}
.login-box .form-group label{
  
}
.login-box .form-group input, .signup-box .form-group input{
  /*  background: #444;*/
    border: 0px;
    padding: 6px 10px;
    border-radius: 0.5em;
  /*  color: #fff;*/
    font-weight: 900;
    width: 100%;
    border: 1px solid #444;
    outline: none;
}
#bet-access, #bet-signup, #bet-signup-verify{
    background: #5a5c5e;
    color: #fff;
    border-radius: 0.5em;
    padding: 4px 33px;
    font-weight: 700;
 
}
.login-box h2, .signup-box h2{
/*  color: #fff;*/
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}
 
.signup-code{
/*  display:none;*/
}
 
.signup-code p{
  color:#fff;
  font-style:italic;
}
#close-signup, #close-login{
    color: #fff;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}
#close-signup{
  
}
#close-login{
    top: -7px;
    right: 8px;
}
 
.signup{
 
}
.form.group {
    margin-bottom: 15px;
}
.signup .form.group input {
    padding: 6px 10px;
    border-radius: 0.5em;
    font-weight: 900;
    width: 100%;
    border: 1px solid #444;
    outline: none;
}
</style>
<style>
    .quick-menu{
        border-bottom: 2px solid;
        text-align: center;
    }
    .quick-menu ul{
        list-style-type: none;
        padding: 0;
    }
    .quick-menu ul li{
        display: inline-block;
        padding: 5px 11px;
    }
    ul#sport-nav-submenu li{
        display:block;
        padding-top:2em;
    }
    .quick-menu ul li a{
        color:#5a5c5e;
        font-size: 12px;
        text-transform: uppercase;
        font-family: monospace;
        zoom: 1.6;
    }
    .quick-menu ul li.active{
 
    }
    .quick-menu ul li.active a{
        color: #31303E;
    }
    li#sport-nav{
        cursor:pointer;
        position: relative;
    }
    li#sport-nav a{
 
    }
    li#sport-nav a span{
 
    }
    li#sport-nav a.active span:after{
        content: "";
        margin: 0 0.5em;
        display: inline-block;
        border: 5px solid transparent;
        border-left: 8px solid #5a5c5e;
        border-right: 0 none;
    }
 
    #sport-nav-submenu{
        position: absolute;
        left: 0;
        z-index: 1000;
        box-shadow: 0px 4px 3px 0px #f2f2f2;
        display: none;
        width: 200px;
        padding: 2em;
        background: #fff;
    }
 
    li#sport-nav:hover > #sport-nav-submenu {
        display:block;
    }
    li#sport-nav:hover > a.active span:after{
        content: "";
        margin: 0 0.5em;
        display: inline-block;
        border: 7px solid transparent;
        border-top: 8px solid #5a5c5e;
        border-bottom: 0 none;
    }
    ul.event-list{
        list-style-type: none;
        text-align: center;
        padding: 0;
    }
    ul.event-list li{
        border-bottom: 1px solid #e9e9ea;
        padding: 1em 0;
        font-size: 12px;
        display: flow-root;
    }
    .event-row{
            display: inline-block;
    }
    .event-row span{
        /*width: 30%;*/
        display: inline-block;
        text-align: center;
        font-size: 12px;
    }
    .event-row span img{
        display: inline;
        width: 45px;
    }
    .event-datetime{
        text-indent: 1em;
        margin-top: 2em;
        font-size: 12px;  
        text-align: left;
        color: #337ab7;
    }
    .event-name{
        width: 60%;
        text-align: left;
        float: left;
    }
    .event-name > span{
        font-weight: 900;
        font-size: 15px;
        margin: 0px 10px;
    }
    .eventname-vs{
        /*color: rgba(0, 140, 81, .4) !important;*/
        color: #337ab7 !important;
    }
    .event-odds{
        float: right;
    }
    .event-odds > span{
        background: #31303E;
        color: #fff;
        width: 50px;
        margin: 3px 4px;
        padding: 5px 4px;
        border-radius: .5em;
    }
    .gameId{
        float: right;  
        color: #31303E;
        font-weight: 900;
    }
    .gameId > i{
        color: #e82738;
    }
    .gameId > i.coming-id{
      color: #337ab7;  
    }
    .live-timer{
        color: #e82738;
        position: relative;
    }
 
    .live-scores{
        padding: 3px 12px;
        color: #e82738;
    }
    .live-scores > i{
        font-style: normal;
        padding: 2px 3px;
    }
 
    /*follow*/
    ul.follow{
        color: #31303E;
        list-style-type: none;
        padding: 0;
    }
    ul.follow > li{
        border-bottom: 1px solid #ddd;
        display: flex;
        padding: 10px 0;
    }
    ul.follow > li > div.follow-logo{
      width: 30px;
    }
    ul.follow > li > div.follow-logo img{
        width: 100%;
    }
    ul.follow > li > div.follow-handle{
 
    }
    ul.follow > li > div.follow-handle a{
        color: #bebebe;
        text-decoration: none;
        padding: 0 10px;
    }
    ul.follow > li > div.follow-logo,ul.follow > li > div.follow-handle{
        float: left;
    }
    .follow .stats{
 
    }
    .follow .stats >  span{
        padding: 2px 12px;
        color: #666;
    }
    .follow .stats > span:first-child{
        padding-left: 0px;
    }
    .followbtn{
        background: #31303E;
        color: #fff !important;
        border-radius: .5em;
    }
    p.handle-type{
        font-size: 11px;
        color: #bebebe;
    }
 
    .verified{
    background: #008C51;
      margin: 4px;
      color: #fff;
      padding: 2px;
      border-radius: 50%;
      font-size: 8px;
    }
    .verified > i{
 
    }
    /*end follow*/
 
    /*odds table*/
    .best-odds{
        padding: 3em;
        color: #31303E;
        margin: 0;
    }
    .best-odds > label{
        color: #e82738;
    }
    /*end odds table*/
 
    .dob{
 
    }
    .dob > span{
        display: inline-block;
        width: 80px;
    }
    .dob > span input{
 
    }
    .signup  select{
        padding: 6px 10px;
        border-radius: 0.5em;
        font-weight: 900;
        width: 100%;
        border: 1px solid #444;
        outline: none;
    }
 
    .signup-option{
 
    }
    .signup-option > label{
        color: #5a5c5e;
        padding: 3px;
        font-size: 12px;
        font-weight: 900;
    }
    .signup-option input[type="radio"]{
        width: auto !important; 
    }
    .option-disabled{
        pointer-events: none;
        color: #ddd;
    }
    #signup-agree{
        width: auto;
        margin: 4px;
    }
</style>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PVN58TR');</script>
<!-- End Google Tag Manager -->
 
<?php if ($_SERVER["REQUEST_URI"] == '/weeklyjackpot') { ?>
  <style type="text/css">
  .kenburns-top{
    display: none;
  }
 
  </style>
<?php } ?>
 
<style type="text/css">
 
@media only screen and (max-width: 700px){
  .mobilewrap.mobilewrap-user {
      z-index: 9000;
  }
}
 
.signup-large-view .navbar-form .btn.btn-default{
  height:26px;
}
 
 
/*s-account*/
.login-wrap {
    /* border: 2px solid rgba(0, 116, 183, .7); */
    /* border: 1px solid #36454F; */
    /* margin-top: 5px; */
    border-radius: 0.3em;
    text-align: right;
    position: relative;
    z-index: 10;
    margin-top: 8px;
    padding: 6px;
}
 
 
.login-signup {
    display: contents;
}
#login-action.active, #signup-action.active {
    font-weight: 900;
}
#login-action {
    color: #fff;
}
#login-action, #signup-action {
    cursor: pointer;
}
#login-action, #signup-action {
    position: relative;
}
 
 
 
#new-signup-getstarted {
    padding-top: 1em;
    margin-top: 5em;
}
 
ul.profilelist{
    padding: 4px 2px;
    margin-top: 10px;
}
ul.profilelist li{
  text-transform: capitalize;
  display: inline-block;
}
ul.profilelist li span{
    padding: 2px;
    line-height: 0;
    position: relative;
    margin-left: 10px;
    font-size: 12px;
}   
ul.profilelist li span input[type="radio"]{
    position: absolute;
    top: 4px;
}
.new-signup {
    padding: 0;
    margin: 0;
/*    min-width: 250px;
    height: 300px;*/
    overflow: auto;
    box-sizing: content-box;
}
.signup-terms {
    height: 100px;
    overflow-y: scroll;
    font-size: 12px;
    padding: 2px 9px;
    box-shadow: 0px 0px 1px 1px #ddd;
}
 
.quick-start {
    position: absolute;
    top: 35px;
    right: 4px;
    width: 425px;
    display: none;
    z-index: 10;
}
.quick-start {
    position: absolute;
    top: 0;
    right: 4px;
    width: 300px;
    display: none;
    z-index: 10;
    background: #fff;
    border-radius: 1.5em;
    box-shadow: -11px 9px 13px 1px #ddd;
    z-index: 1100;
}
.close-quick-start {
    cursor: pointer;
}
.close-quick-start {
   /* cursor: pointer;
    padding: 8px;
    top: 0;
    position: absolute;
    z-index: 100;
    left: 0;*/
 
    cursor: pointer;
    padding: 6px;
    top: -7px;
    position: absolute;
    z-index: 100;
    left: -9px;
    padding-right: 8px;
    background: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    text-align: center;
    font-weight: 900;
 
}
#login-panel{
    padding: 3em;
}
#login-panel, #signup-panel {
  /*  padding: 3em;*/
  overflow: hidden;
    text-align: left !important;
    padding: 10px;
}
#login-panel li, #signup-panel li{
    list-style-type: none;
}
#login-panel .input-box {
    padding: 3px 7px;
    border-radius: 1.5em;
}
 
ul.country-list{
    display: none;
}
#active-access-country-kenya{
    display: none;
}
#user-login {
    background: rgba(0, 116, 183, .7);
    padding: 3px 18px;
    border-radius: 0.3em;
    cursor: pointer;
    border-bottom-right-radius: 0.3em;
    font-weight: 900;
    /* float: right; */
    /* pointer-events: none; */
    /* opacity: .2; */
    /* display: flex; */
    width: fit-content;
    margin-top: .4em;
    cursor: pointer;
    background: #000000;
    color: #fff;
}
 
.access-wrapper {
    position: relative;
    font-size: 12px;
}
.input-box {
    box-shadow: 0px 0px 2px 1px #ddd;
    position: relative;
    margin-top: 1em;
}
.input-box label {
    position: absolute;
    top: -9px;
    left: 6px;
    background: #fff;
    padding: 0px 4px;
}
#login-panel .loginId {
    /* display: none; */
    width: 100%;
    border: 0px;
}
.input-box input {
    padding: 3px;
    width: 100%;
    outline: none;
}
#signup-panel{
    display: none;
    min-width: 250px;
    height: 500px;
    overflow-y: scroll;
}
#signup-header {
    position: relative;
    display: block;
    width: 100%;
    background: #fff;
    margin-top: 2em;
    margin-left: 13px;
}
#signup-notify {
    padding: 0;
    line-height: 1;
    margin: 0;
    font-size: 12px;
    margin-top: 16px;
}
#new-signup-getstarted {
}
.new-signup {
    padding: 0;
    margin: 0;
   /* min-width: 250px;
    height: 300px;*/
    overflow: auto;
    box-sizing: content-box;
}
.new-signup li.signup-start {
    display: block;
}
.new-signup li.signup-line {
    /*display: none;*/
    width: 100%;
}
.new-signup li.signup-start {
    display: block;
}
.new-signup li {
    display: inline-block;
    font-size: 12px;
    padding: 8px 21px;
    cursor: pointer;
    position: relative;
}
#signup-complete.inactive {
    pointer-events: none;
    background: #eee;
}
#signup-complete {
    background: #649fc3;
    color: #fff;
    padding: 4px 26px;
}
#signup-complete {
    padding: 1px 17px;
    border-radius: 1.5em;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
#loginId-select{
    border: 0;
    background: none;
}
#login-pin{
    border: 0px;
}
#user-signup{
    background: none;
    margin: 2em;
}
 
 
 
.logindetails{
    width: 94%;
    border: 1px solid #ddd;
    margin: 11px 8px;
    padding: 12px;
}
.login-title{
 
}
#saharaId{
    display: block;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: .3em;
}
p.alert{
    font-size: 9px;
    text-transform: lowercase;
}
p.hint{
    font-size: 8px;
}
#loginIdwrap{
    margin: 1em 0;
}
#loginId-field{
 
}
#loginId-field span{
    display: inline-block;
}
.usernameSuggest{
position: relative;
    padding: 4px;
}
#loginId-suggest{
    border: 0;
    font-size: 9px;
    font-weight: 900;   
}
.usernameSuggest input[type="radio"]{
    position: absolute;
    top: 5px;
}
.usernameSuggest span{
    margin-left: 2em;
}
.passwordWrap{
    margin: 2em 0;
}
.passwordWrap label{
    font-weight: 900;
    display: block;
}
.passwordWrap span{
    display: inline-block;
}
.passwordWrap input[type="password"]{
    width: 94%;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: .3em;
}
 
.passwordWrap.inactive{
    pointer-events: none;
    color: #ddd;
}
 
#add-captcha-box{
    display: none;
    padding: 5px 14px;
}
 
.inputwrapper{
        position: relative;
}
.signupinput{
    padding: 2px 6px;
    width: 85%;
    position: relative;
    border: 0;
    border-bottom: 1px solid #ddd;
}
.get-input{
    position: absolute;
    right: 5px;
    top: 7px;
}
 
.hidebtn, .skiphide{
    display: none !important;
}
.validate.required{
    border-bottom: 1px solid red;
}
.input-validate-notify{
    text-transform: lowercase;
    font-style: italic;
    font-size: 9px;
}
 
.skipfield{
    float: right;
    text-transform: lowercase;
    font-size: 9px;
}
#dialog{
    text-align: center;
    margin-bottom: 1em;
}
#dialog h3{
    font-size: 10px;
    margin: 1em;
}
#dialog span{
 
}
.code-input input[type="text"]{
 
}
.passCodeSubmit{
 
}
 
#passwordId{
 
}
 
.btnHdisabled{
    pointer-events: none;
    visibility: hidden;
}
/*end s-account*/
 
/*nav menu*/
.cloud-menu {
    cursor: pointer;
    position: absolute;
    left: 9px;
    top: 12px;
}
.cloud-menu:hover > .cloud-drop-menu span{
    border-bottom: 5px solid #649fc3;
}
.cloud-drop-menu {
    display: inline-block;
    cursor: pointer;
}
.cloud-drop-menu span {
    border-bottom: 5px solid #ddd;
    width: 22px;
    display: block;
    margin-bottom: 2px;
}
.cloud-menu input[type="checkbox"].cloud-menu-check {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
}
.cloud-menu-check:checked ~ .menuwrap{
  visibility: visible;
}
.menuwrap {
    position: absolute;
    left: -15px;
    min-width: 200px;
    visibility: hidden;
    z-index: 100;
}
ul.menutools {
    background: #fff;
    padding: 0;
}
 
/*end nav menu*/
 
 
.mobile-show{
    display: none !important;
}
 
@media only screen and (max-width: 720px){
    .sticky{
 
    }
    .mainlogo.navbar-brand img{
        width: 85px;
    }
 
    .search-wrap{
        margin: 0px;
    }
    .search-wrap input[type="search"]{
        width: 100%;
        margin-left: auto;
        border: 1px solid #eee;
        background: #eee;
        border-radius: 2.4em;
        padding: 7px 15px;
        font-size: 17px;
        letter-spacing: 1px;
        font-weight: inherit;
    }
    .mobile-hidden{
        display: none !important;
    }
    .mobile-show{
        display: block !important;
    }
    .navbar.bet-navigation{
        background: #fff;
    }
    #login-action{
        color: #31303E;
    }
    #mobile-quick{
        display: none !important;
    }
    .mainBlock,.col-md-12.mainBlock{
        padding: 0;
    }
    .box-wrap{
        padding: 0;
    }
    #content{
        border: 0px;
        overflow: hidden;
    }
    .quick-menu ul li a{
        font-size: 8px;
    }
    .quick-menu ul li{
        padding: 5px 5px;
    }
    li#sport-nav{
        display: none;
    }
 
    ul.leftnav{
        background: #fff;
        padding: 1em !important;
        text-align: left !important;
    }
}
</style>
 
</head>
 
<body>
  <?php  #var_dump($_SESSION); ?>
  <!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PVN58TR"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- <div class="overlay"></div> -->
 
<?php // }  } ?>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
 
  ga('create', 'UA-91749248-1', 'auto');
  ga('send', 'pageview');
 
</script>
<div id="fb-root"></div>
 
<script>/*(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));*/</script>
 
 
<div class="wrapper">
    <div id="root"></div>
  <!--top-nav -->
  <?php $this->partial("partials/topnav"); ?>
  <!--navigation -->
  <?php $this->partial("partials/navigation"); ?>
  <div class="col-md-12 mainBlock">    
     <?php //if ( !isset($this->session->user) ) { ?>
          <?php //} ?>
    <!--left sidebar -->
    <div class="container-fluid">
      <p><?php $this->flashSession->output() ?></p>
      <?php $this->partial("partials/leftsidebar"); ?>
      <div class="col-md-8" id="content">
         <?php if ( $_SERVER["REQUEST_URI"] == '/') { ?>
        <div class="mobile-quick" style="display:none !important;">
          <div class="weeklyjackpotbtn"><span <?php echo $_SERVER["REQUEST_URI"] == '/weeklyjackpot' ? 'class="currentmenu active"' : ''; ?> style="width: 100%;"><a class="btn" href="/weeklyjackpot">Play Weekly Jackpot - Ksh 2.5m</a></span></div>
        <div>
          <!-- <span <?php //echo $this->router->getRewriteUri() == '/place-a-bet' ? 'class="currentmenu active"' : ''; ?>><a class="btn" href="/place-a-bet">Place a bet</a></span> -->
          <!-- <span <?php //echo $this->router->getRewriteUri() == '/challenge-a-bet' ? 'class="currentmenu active"' : ''; ?>><a class="btn" href="/challenge-a-bet">Challenge a bet</a></span> -->
          <span <?php echo $_SERVER["REQUEST_URI"] == '/soccer/jackpot' ? 'class="currentmenu active"' : ''; ?>><a class="btn" href="/soccer/jackpot">Create daily Jackpot</a></span>
          <span <?php echo $_SERVER["REQUEST_URI"] == '/jackpots' ? 'class="currentmenu active"' : ''; ?>><a class="btn" href="/jackpots">Play daily Jackpot</a></span>
        <!--   <span <?php //echo $this->router->getRewriteUri() == '/weeklyjackpot' ? 'class="currentmenu active"' : ''; ?>><a class="btn" href="/weeklyjackpot">Weekly Jackpot - Ksh 10m</a></span> -->
          
          <?php if ( isset($this->session->user) ) { ?>
          <span <?php echo $_SERVER["REQUEST_URI"] == '/my-account' ? 'class="currentmenu active"' : ''; ?>><a class="btn" href="/my-account/withdraw">Withdraw Funds</a></span>
          <span <?php echo $_SERVER["REQUEST_URI"] == '/bet-history' ? 'class="currentmenu active"' : ''; ?>><a class="btn" href="/bet-history">Bet History</a></span>
          <?php } ?>
        </div>
        </div>
        <?php } ?>
        <?php if ( !isset($this->session->user) ) {
          if (isset($guestnotify) && $guestnotify == true ) {
          }else{
         ?>
        <?php } } ?>
 
                
        <div><span id="testchat"></span></div>
 
 
                <style type="text/css">
 
                    .search-wrap {
                        margin: 0.4em;
                        position: relative;
                        margin-bottom: 12px;
                    }
                    .search-wrap input[type="search"] {
                        width: 90%;
                        margin-left: 5%;
                        border: 1px solid #eee;
                        background: #eee;
                        border-radius: 2.4em;
                        padding: 12px 22px;
                        font-size: 20px;
                        letter-spacing: 3px;
                        font-weight: 900;
                    }
                </style>
    <!--             <div class="search-wrap mode light">
                    <input type="search" name="search" id="jsearch" placeholder="Search here">
                    <ul id="slabsearch-result">
 
                    </ul>
                  </div> -->
 
        <?= $this->getContent() ?>
         
      </div>
      <?php $this->partial("partials/rightsidebar"); ?>
    </div>    
  </div>
</div>
<!--bootom-nav -->
<?php $this->partial("partials/bottomnav"); ?>
<a href="javascript:" id="return-to-top"><i class="fa fa-arrow-up" style="left: 12px;top: 11px;"></i></a>
<div class="minmaxCon"></div>
 
 
<!-- <div class="access-box login-box">
  <span class="close-userbox" id="close-login">x</span>
  <h2>Login To Your Account</h2>
  <div class="form-group"><input type="number" placeholder="phonenumber"/></div>
  <div class="form-group"><input type="password" placeholder="pin"/>
  <p style="color:#fff;">forgot pin? <span>click here</span></p>
  </div>
  <div class="form-group" style="text-align: center;"><button id="bet-access">Login</button></div>
</div> -->
 
<script src="https://sync.sahara.co.ke/socket.io/socket.io.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-formhelpers/2.3.0/js/bootstrap-formhelpers.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.23.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.min.js"></script>
<script src="/js/betjamii.js"></script>
<script src="/js/match-select.js"></script>
<script src="/js/betclick.js"></script>
<script src="/js/betslipgame.js"></script>
<script src="/js/challenge.js"></script>
<script src="https://sahara.co.ke/js/login.js"></script>
<script src="https://sahara.co.ke/js/account.js"></script>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/multi-select/0.9.12/css/multi-select.min.css"></script>-->
<script src="/js/markets.js"></script>
<script src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/bootstrap-select.min.js"></script>
<script src="//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/2.0.5/velocity.min.js"></script>
 
<script>
  $(document).ready(function(){
     $('.user-access').click(function(){
         var id =  $(this).attr('id');
         var action = id.split('-')[1];
         $('.access-box').css('display','none');
         $('.'+action+'-box').css('display','block');
     });
 
     $('.close-userbox').click(function(){
         $('.access-box').css('display','none');
     });
  });
</script>
 
<script>
 
  var socket = io.connect('https://www.sync.sahara.co.ke');
 // const socket = io();
  socket.on('connect', function () {
         console.log("connected!");
     });
     socket.on('disconnect', function () {
         console.log("disconnected!");
     });
    
   socket.on('message', function(data){
     //document.write(data);
   });
 
   socket.on('testerEvent', function(data){
     // document.write(data.description);
   });
 
   socket.emit('clientEvent', 'Sent an event from the client!');
</script>
 
</body>
</html> 
#4Phalcon\Mvc\View\Engine\Volt->render
#5Phalcon\Mvc\View->engineRender
#6Phalcon\Mvc\View->processRender
#7Phalcon\Mvc\View->render
#8Phalcon\Mvc\Application->handle
/home/sahara/apps/betjamii/public/index.php (103)
<?php
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
use Phalcon\Mvc\Application,
    Phalcon\Security,
    Phalcon\Loader;
    //use Phalcon\Logger;
    use Phalcon\Http\Cookie;
    use Phalcon\Http\Response\Cookies; 
 
    use Phalcon\Logger\Logger;
    use Phalcon\Logger\Adapter\File as FileAdapter;
    use Jambochat\Library\TokenManager;
    use Phalcon\Mvc\Model\Manager;
 
    use Phalcon\Logger\Adapter\Stream;
 
 
    use Phalcon\Support\Debug;
    $debug = new Debug();
    $debug->listen();
 
    use Phalcon\Encryption\Security\JWT\Enum;
    use Phalcon\Encryption\Security\JWT\Builder;
    use Phalcon\Encryption\Security\JWT\Signer\Hmac;
    use Phalcon\Encryption\Security\JWT\Token\Parser;
    use Phalcon\Encryption\Security\JWT\Validator;
 
    define('BASE_PATH', dirname(__DIR__));
    define("BASE_URL", 'https://'. $_SERVER['HTTP_HOST']);
    define('SYS_PATH', BASE_PATH . '');
    define('APP_PATH', '/home/sahara/apps/olinpmpggngi');
    define('PRODUCTION_PATH', 'https://nipponimports.co.ke');
    define('ROOT_PATH', dirname(__DIR__));
 
    require_once(SYS_PATH . '/slab/config/diFile.php');
 
 
    $di->set(
    "logger",
    function () {
 
        $adapter = new Stream(BASE_PATH."/logger.log");
        $logger  = new Logger(
            'messages',
            [
                'main' => $adapter,
            ]
        );
 
        return $logger;
    });
 
 
    $di->set( 
       "signer", function () { 
        // Defaults to 'sha512'
        $signer  = new Hmac();
          return $signer;
       } 
    ); 
 
 
    $di->set( 
       "builder", function () { 
        // Defaults to 'sha512'
        $signer  = new Hmac();
        $builder = new Builder($signer);
 
          return $builder;
       } 
    ); 
 
    $di->set( 
       "parser", function () { 
        // Defaults to 'sha512'
        $parser  = new Parser();
          return $parser;
       } 
    );
 
    $di->set( 
       "validator", function ($tokenObject,$timeshift) { 
        // Defaults to 'sha512'
        $validator  = new Validator($tokenObject,$timeshift);
          return $validator;
       } 
    ); 
    
 
    $di->set( 
       "enum", function () { 
        // Defaults to 'sha512'
        return Enum;
    
       } 
    );
 
    $application = new \Phalcon\Mvc\Application($di);
    $modules = include SYS_PATH . "/slab/config/modules.php";
    $application->registerModules($modules);
    $response = $application->handle($_SERVER["REQUEST_URI"]);
    $response->send();
KeyValue
KeyValue
PHP_INI_SCAN_DIR/etc/php.d/:/home/sahara/apps/betjamii/
USERsahara
HOME/home/sahara
ORACLE_HOME/usr/lib/oracle/21/client64/lib
SCRIPT_NAME/public/index.php
REQUEST_URI/
QUERY_STRING
REQUEST_METHODGET
SERVER_PROTOCOLHTTP/1.1
GATEWAY_INTERFACECGI/1.1
REDIRECT_URL/
REMOTE_PORT45558
SCRIPT_FILENAME/home/sahara/apps/betjamii/public/index.php
SERVER_ADMIN[no address given]
CONTEXT_DOCUMENT_ROOT/home/sahara/apps/betjamii/
CONTEXT_PREFIX/
REQUEST_SCHEMEhttp
DOCUMENT_ROOT/home/sahara/apps/betjamii
REMOTE_ADDR216.73.217.71
SERVER_PORT80
SERVER_ADDR127.0.0.1
SERVER_NAMEwww.betjamii.com
SERVER_SOFTWAREApache
SERVER_SIGNATURE<address>Apache Server at www.betjamii.com Port 80</address>\n
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_COOKIEPHPSESSID=j8gvdk3tvu01a78b834l205dl2
HTTP_ACCEPT_ENCODINGgzip, br, zstd, deflate
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT*/*
HTTP_CONNECTIONupgrade
HTTP_X_FORWARDED_SSLon
HTTP_X_FORWARDED_PROTOhttps
HTTP_HTTPSon
HTTP_FORWARDED_REQUEST_URI/
HTTP_X_FORWARDED_SERVERwww.betjamii.com
HTTP_X_FORWARDED_HOSTwww.betjamii.com
HTTP_HOSTwww.betjamii.com
proxy-nokeepalive1
HTTPSon
UNIQUE_IDal92MKhLMKUCBHo3X-0U0wAAAJI
REDIRECT_STATUS200
REDIRECT_HTTPSon
REDIRECT_UNIQUE_IDal92MKhLMKUCBHo3X-0U0wAAAJI
FCGI_ROLERESPONDER
PHP_SELF/public/index.php
REQUEST_TIME_FLOAT1784641072.852
REQUEST_TIME1784641072
#Path
0/home/sahara/apps/betjamii/public/index.php
1/home/sahara/apps/betjamii/slab/config/diFile.php
2/home/sahara/apps/betjamii/slab/config/config.php
3/home/sahara/apps/betjamii/slab/config/modules.php
4/home/sahara/apps/betjamii/slab/api/www/www.php
5/home/sahara/apps/betjamii/slab/api/www/controllers/IndexController.php
6/home/sahara/apps/betjamii/slab/api/www/controllers/ControllerBase.php
7/home/sahara/apps/betjamii/views/cache/www/www_home_sahara_apps_betjamii_views_www_index_index.volt.php
8/home/sahara/apps/betjamii/views/cache/www/www_home_sahara_apps_betjamii_views_layouts_user.volt.php
9/home/sahara/apps/betjamii/views/cache/www/www_home_sahara_apps_betjamii_views_www_partials_topnav.volt.php
10/home/sahara/apps/betjamii/views/cache/www/www_home_sahara_apps_betjamii_views_www_partials_navigation.volt.php
11/home/sahara/apps/betjamii/views/cache/www/www_home_sahara_apps_betjamii_views_www_partials_leftsidebar.volt.php
Memory
Usage2097152