?> /img/icons/logoPhoto.png"> </div> </div> </div> </div> <?php } ?> </div> </div> <div class=" col-md-12 user-cont no-padd"> <?php $incapsulEventType = isset($model) && $model->private ? 'Private' : 'Public'; $this->widget('zii.widgets.CMenu', array('items' => array(array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'date' ? 'active' : ''), 'data-url' => 'date'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/date.png" /></span>' . $date), array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'map' ? 'active' : ''), 'data-url' => 'map'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/map.png" /></span>' . $map), array('itemOptions' => array('class' => 'user-cont-options col-md-12 checklits' . ($currentPage == 'checklist' ? 'active' : ''), 'data-url' => 'event'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/event.png" /></span>' . $event . '<span class="privorpub">' . $incapsulEventType . '</span>'), array('itemOptions' => array('class' => 'user-cont-options col-md-12 checklits ' . ($currentPage == 'service' ? 'active' : ''), 'data-url' => 'service'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/service.png" /></span>' . $title, 'items' => Services::getAllAsMenu($this->servicesArray)), array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'payment' ? 'active' : ''), 'data-url' => 'payment'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/payment.png" /></span>' . $payment), array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'booking' ? 'active' : ''), 'data-url' => 'booking'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/booking.png" /></span>' . $booking), array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'notes' ? 'active' : ''), 'data-url' => 'notes'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/notes.png" /></span>' . $notes), array('itemOptions' => array('class' => 'user-cont-options col-md-12 checklits ' . ($currentPage == 'checklist' ? 'active' : ''), 'data-url' => 'checklist'), 'label' => '<span class="iconSpan"><i class="fa fa-list-ul"></i></span>' . $checklist, 'items' => Checklist::getAllAsMenu()), array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'team' ? 'active' : ''), 'data-url' => 'team'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/team.png" /></span>' . $team), array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'timeline' ? 'active' : ''), 'data-url' => 'timeline'), 'label' => '<span class="iconSpan"><img src="' . Yii::app()->theme->baseUrl . '/img/icons/sidebar/timeline.png" /></span>' . $timeLine), array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'review' ? 'active' : ''), 'data-url' => 'review'), 'label' => '<span class="iconSpan"><i class="fa fa-star"></i></span>' . $review), array('itemOptions' => array('class' => 'user-cont-options col-md-12 ' . ($currentPage == 'referance' ? 'active' : ''), 'data-url' => 'referance'), 'label' => '<span class="iconSpan"><i class="fa fa-bookmark-o"></i></span>' . $reference)), 'htmlOptions' => array('class' => 'request_nav clearfix'), 'submenuHtmlOptions' => array('class' => 'checklist-sub quote-option'), 'encodeLabel' => false, 'activeCssClass' => 'active', 'itemTemplate' => '<span class="added"></span>{menu}')); ?> </div> <?php // put your Twilio API credentials here $accountSid = 'ACc428f1701f51ab5b67c3ec1e119418dd'; $authToken = 'd1cdc9fbf87449ec8eff22b58b35e681'; $version = date('Y-m-d'); // put your Twilio Application Sid here $appSid = 'AP05d6d7d93d9745349258149dd62937d4'; $clientname = $creatorFirstName; // put your default Twilio Client name here $capability = new Services_Twilio_Capability($accountSid, $authToken); $capability->allowClientOutgoing($appSid); $capability->allowClientIncoming($clientname); $token = $capability->generateToken();