PageRenderTime 45ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 1ms

/lms_debug/protected/views/dashboard/renewaldashboard.php

https://gitlab.com/badelal143/lms_debug
PHP | 553 lines | 487 code | 51 blank | 15 comment | 33 complexity | e14e65a9ec5e8ee2622521b9350e38aa MD5 | raw file
Possible License(s): LGPL-2.1, LGPL-3.0, LGPL-2.0
  1. <style>
  2. #fancybox-wrap{
  3. z-index:9999999 !important;
  4. }
  5. </style>
  6. <div class="rightSection">
  7. <div class="toolbarheaderContainer">Renewal Dashboard
  8. <table border="0" cellspacing="0" cellpadding="0" class="toolbarheaderContainer_date">
  9. <?php $form=$this->beginWidget('CActiveForm',array(
  10. 'id'=>'dashboard_update',
  11. 'action'=> Yii::app()->createUrl('dashboard/renewal'),
  12. ));
  13. ?>
  14. <tr>
  15. <td>Select Date :</td>
  16. <td>
  17. <?php
  18. $this->widget('zii.widgets.jui.CJuiDatePicker', array(
  19. 'name' => 'searchDashboard',
  20. 'id' => 'textfield2',
  21. 'value'=>''.@$_POST['searchDashboard']?stripslashes($_POST['searchDashboard']):'Select Date'.'',
  22. 'options' => array(
  23. // how to change the input format? see http://docs.jquery.com/UI/Datepicker/formatDate
  24. 'dateFormat'=>'dd-M-yy',
  25. // user will be able to change month and year
  26. 'changeMonth' => 'true',
  27. 'changeYear' => 'true',
  28. // speed at which the datepicker appears, time in ms or "slow", "normal" or "fast"
  29. 'duration'=>'fast',
  30. // animation effect, see http://docs.jquery.com/UI/Effects
  31. 'showAnim' =>'slide',
  32. ),
  33. 'htmlOptions' => array(
  34. 'maxlength' => '10', // textField maxlength
  35. 'class'=>'txtfield_calendericon_select',
  36. 'onclick'=>'javascript:this.value=""',
  37. 'onblur'=> 'this.value = ( this.value == "" ) ? "Select Date" : this.value;',
  38. ),
  39. ));
  40. ?>
  41. </td>
  42. <td><input name="image" type="image" img src="<?php echo Yii::app()->request->baseUrl;?>/images/go.png" border="none" class="go"/></td>
  43. </tr>
  44. <?php $this->endWidget(); ?>
  45. </table>
  46. <div class="cl"></div>
  47. </div>
  48. <script src="js/excanvas.js"></script>
  49. <?php
  50. $relationManager = $_SESSION['relationalManager'];
  51. $managerMemberId = implode(",",array_unique(@$relationManager));
  52. Yii::app()->getClientScript()->registerScriptFile(Yii::app()->baseUrl.'/js/fullcalendar.js');
  53. $todayTime = strtotime(date('d M Y'));
  54. /* $models = Yii::app()->db->createCommand("SELECT startDate, count(*) AS total,leadFollowupId FROM leadFollowup WHERE
  55. userId = '".@$_SESSION['id']."' AND STATUS = 'Pending' AND (actionType = 'Meeting' OR actionType = 'Follow Up') AND startDate = '".@$todayTime."' GROUP BY startDate DESC")->queryAll();*/
  56. /* $models = Yii::app()->db->createCommand("SELECT startDate, count(*) AS total,leadFollowupId FROM leadFollowup WHERE
  57. userId IN (".@$managerMemberId.") AND STATUS = 'Pending' AND (actionType = 'Meeting' OR actionType = 'Follow Up') AND startDate = '".@$todayTime."' GROUP BY startDate DESC")->queryAll();
  58. */
  59. $models = Yii::app()->db->createCommand("SELECT startDate, count(*) AS total,leadFollowupId FROM renewalleadFollowup WHERE
  60. userId IN (".@$managerMemberId.") AND STATUS = 'Pending' AND (actionType = 'Meeting' OR actionType = 'Follow Up') GROUP BY startDate DESC")->queryAll();
  61. $meetingArray = array();
  62. for($i=0;$i<count($models);$i++){
  63. $meetingDate = @$models[$i]['startDate'];
  64. $totalCount = @$models[$i]['total'];
  65. $monthValue = date('m',@$models[$i]['startDate']);
  66. $meetingArray[$i]['totalCount'] = @$totalCount;
  67. $meetingArray[$i]['day'] = date('d',@$models[$i]['startDate']);
  68. $meetingArray[$i]['month'] = $monthValue-1;
  69. $meetingArray[$i]['year'] = date('Y',@$models[$i]['startDate']);
  70. $meetingArray[$i]['leadFollowupId'] = @$models[$i]['leadFollowupId'];
  71. //$meetingModels = LeadFollowup::model()->findAll(array("condition"=>"startDate = '".@$meetingDate."' AND userId = '".@$_SESSION['id']."' AND STATUS = 'Pending' AND (actionType = 'Meeting' OR actionType = 'Follow Up') ORDER BY hour DESC"));
  72. $meetingModels = renewalleadFollowup::model()->findAll(array("condition"=>"startDate = '".@$meetingDate."' AND userId IN(".@$managerMemberId.") AND STATUS = 'Pending' AND (actionType = 'Meeting' OR actionType = 'Follow Up') ORDER BY hour DESC"));
  73. $meetingArray[$i]['finalDescription'] = '';
  74. for($j=0;$j<count($meetingModels);$j++) {
  75. $srno = $j+1;
  76. $meetingArray[$i]['finalDescription'] = @$meetingDate;
  77. }
  78. }
  79. ?>
  80. <link href="<?php echo Yii::app()->request->baseUrl;?>/css/fullcalendar.css" rel="stylesheet" type="text/css" />
  81. <link href="<?php echo Yii::app()->request->baseUrl;?>/css/fullcalendar.print.css" rel="stylesheet" type="text/css" />
  82. <script>
  83. $(document).ready(function() {
  84. var date = new Date();
  85. var d = date.getDate();
  86. var m = date.getMonth();
  87. var y = date.getFullYear();
  88. //alert(y+'-'+m+'-'+d);
  89. $('#calendar').fullCalendar({
  90. theme: true,
  91. header: {
  92. left: 'prev today',
  93. center: 'title',
  94. right: 'next'
  95. },
  96. editable: true,
  97. events: [
  98. <?php
  99. $g=1;
  100. for($i=0;$i<count($meetingArray);$i++) { ?>
  101. {
  102. title: '<?php echo @$meetingArray[$i]['totalCount']?>',
  103. start: new Date(<?php echo @$meetingArray[$i]['year']?>, <?php echo @$meetingArray[$i]['month']?>, <?php echo @$meetingArray[$i]['day']?>, 0),
  104. allDay: false,
  105. rel: "myrel",
  106. 'class': 'class-link',
  107. url: '<?php echo Yii::app()->request->baseUrl;?>/index.php?r=renewalleads/renViewCalenderActs&id=<?php echo $meetingArray[$i]['finalDescription']; ?>',
  108. }
  109. <?php if(count($meetingArray) > $g){
  110. echo ",";
  111. }
  112. $g++;
  113. } ?>
  114. ],
  115. eventClick : function(event) {
  116. //parent.$.fancybox.close();
  117. $.fancybox(
  118. {
  119. 'autoDimensions' : false,
  120. 'type' : 'iframe',
  121. 'href' : event.url,
  122. 'width' : 700,
  123. 'height' : 316,
  124. 'transitionIn' : 'none',
  125. 'transitionOut' : 'none',
  126. 'onClosed' : function(){
  127. $.fn.yiiGridView.update("acc-payment-recei-grid2");
  128. $.fn.yiiGridView.update("acc-payment-recei-grid4");
  129. }
  130. }
  131. );
  132. return false;
  133. }
  134. });
  135. $('a.tstf').fancybox({
  136. type: "iframe",
  137. width:700,
  138. height:500,
  139. });
  140. });
  141. </script>
  142. <!--Dashboard start here-->
  143. <div class="opentaskside fl">
  144. <div class="fullcontainer items">
  145. <p> Leads for Today</p>
  146. <?php
  147. $form=$this->beginWidget('CActiveForm',array(
  148. 'id'=>'leadfortoday_filter',
  149. 'action'=> Yii::app()->createUrl('dashboard/renewal'),
  150. ));
  151. ?>
  152. <table class="items" style="width:55%;border:none;">
  153. <tr><td>Financial year &nbsp;<div class="dropdownBox">
  154. <select name="financialyear" class="styled">
  155. <?php
  156. $u=0;
  157. for($i=date('Y')-5; $i<=date('Y'); $i++){
  158. $res = date('Y')-$u++;
  159. ?>
  160. <option value="<?php echo $res; ?>" <?php if(@$_POST['financialyear']==$res){ echo "selected='true'"; } ?> ><?php echo $res;?></option>;
  161. <?php
  162. }
  163. ?>
  164. </select>
  165. </div></td><td>&nbsp;<input name="image" type="image" src="images/go.png" /></td></tr>
  166. </table>
  167. <?php $this->endWidget();
  168. if(isset($dataProviderc) && !empty($dataProviderc)) {
  169. $alert="Are you sure you want to Change Status? ";
  170. $this->widget('zii.widgets.grid.CGridView', array(
  171. 'id'=>'acc-payment-recei-grid11',
  172. 'htmlOptions' => array('class' => ''),
  173. 'ajaxUpdate'=>false,
  174. 'enablePagination' => true,
  175. 'pager' => array(
  176. 'header' => '&nbsp;',
  177. 'prevPageLabel' => 'Prev',
  178. 'nextPageLabel' => 'Next',
  179. ),
  180. 'dataProvider'=>@$dataProviderc,
  181. 'columns'=>array(
  182. array( // display 'create_time' using an expression
  183. 'header'=>'Disposition',
  184. 'name'=>'leadStatus',
  185. 'value'=>'@$data[leadstatus]',
  186. ),
  187. array( // display 'create_time' using an expression
  188. 'header'=>'Count(MTD)',
  189. 'name'=>'getparent',
  190. //'value'=>array($this,'getMTD'),
  191. 'value'=>function($data){
  192. $res = DashboardController::rengetMTD($data['leadstatusId']);
  193. if($res > 0){
  194. $financialyear = @$_POST['financialyear']?@$_POST['financialyear']:date('Y',time());
  195. echo CHtml::ajaxLink(DashboardController::rengetMTD($data['leadstatusId']), Yii::app()->createUrl( 'dashboard/RenewalViewLeadSummaryData',array('leadStatusId'=>$data['leadstatusId'],'Y'=>@$financialyear,'type'=>'M') ),
  196. array( // ajaxOptions
  197. 'type' => 'POST',
  198. ),
  199. array( //htmlOptions
  200. 'href' => Yii::app()->createUrl( 'dashboard/RenewalViewLeadSummaryData',array('leadStatusId'=>$data['leadstatusId'],'Y'=>@$financialyear,'type'=>'M') ),
  201. 'class'=>'tstf',
  202. )
  203. );
  204. } else {
  205. echo DashboardController::rengetMTD($data['leadstatusId']);
  206. }
  207. },
  208. ),
  209. array( // display 'create_time' using an expression
  210. 'header'=>'Count(YTD)',
  211. 'name'=>'getparent',
  212. 'type'=>'html',
  213. // 'value'=>array($this,'getYTD'),
  214. 'value'=>function($data){
  215. $res = DashboardController::rengetYTD($data['leadstatusId']);
  216. if($res > 0){
  217. $financialyear = @$_POST['financialyear']?@$_POST['financialyear']:date('Y',time());
  218. echo CHtml::ajaxLink(DashboardController::rengetYTD($data['leadstatusId']), Yii::app()->createUrl( 'dashboard/RenewalViewLeadSummaryData',array('leadStatusId'=>$data['leadstatusId'],'Y'=>@$financialyear) ),
  219. array( // ajaxOptions
  220. 'type' => 'POST',
  221. ),
  222. array( //htmlOptions
  223. 'href' => Yii::app()->createUrl( 'dashboard/RenewalViewLeadSummaryData',array('leadStatusId'=>$data['leadstatusId'],'Y'=>@$financialyear) ),
  224. 'class'=>'tstf',
  225. )
  226. );
  227. } else {
  228. echo DashboardController::rengetYTD($data['leadstatusId']);
  229. }
  230. },
  231. ),
  232. array( // display 'create_time' using an expression
  233. 'header'=>'Priority',
  234. 'name'=>'sortOrder',
  235. 'value'=>'@$data[sortOrder]',
  236. ),
  237. array( // display 'create_time' using an expression
  238. 'header'=>'View',
  239. 'name'=>'total',
  240. 'visible'=>0,
  241. 'value'=>function($data){
  242. echo '<a href="'.Yii::app()->createUrl('dashboard/RenewalViewLeadSummaryData',array('leadStatusId'=>$data['leadstatusId'])).'" class=" class-link" style="color:#134BDB; text-decoration:none;cursor:pointer;">Details</a>';
  243. },
  244. ),
  245. ),
  246. ));
  247. }
  248. ?>
  249. </div>
  250. <div class="fullcontainer">
  251. <p>My Team (Workload)</p>
  252. <table cellspacing="0" cellpadding="0" class="items">
  253. <?php if(count($managerDetailsArr) > 0){
  254. $start = 1;
  255. foreach($managerDetailsArr as $key=>$value){
  256. if($start <= 10){
  257. $NewLeads=Renewallead::model()->NewLeads($value['id']);
  258. $overallLeads=Renewallead::model()->overallLeads($value['id']);
  259. $allocatedLead12Pm=Renewallead::model()->allocatedLead12Pm($value['id']);
  260. $closeLeads=Renewallead::model()->closeLeads($value['id']);
  261. $followUpLeads=Renewallead::model()->followUpLeads($value['id']);
  262. ?>
  263. <tr>
  264. <td width="50%"><a style="color:#545454; text-decoration:none;cursor:pointer;" href="<?php echo Yii::app()->createUrl('dashboard/renViewWorkLoadData',array('id'=>$value['id'])); ?>" class="class-link"><?php echo @$value['firstName']."&nbsp;".@$value['lastName']; ?></a></td>
  265. <td width="50%" class="txtalign">(<?php echo $NewLeads; ?> -N / <?php echo $overallLeads; ?>-O / <?php echo $allocatedLead12Pm; ?>-A /<?php echo $closeLeads; ?>-C / <?php echo $followUpLeads; ?>-F )</td>
  266. </tr>
  267. <?php
  268. $start++;
  269. }
  270. }
  271. } if(count($managerDetailsArr) > 10){ ?>
  272. <tr>
  273. <td colspan="2" align="right" style="text-align:right;"><a style="color:#545454; text-decoration:none;cursor:pointer;" href="<?php echo Yii::app()->createUrl('dashboard/renViewAllWorkLoadData'); ?>" class="class-link">View All</a></td>
  274. </tr>
  275. <?php } ?>
  276. <tr>
  277. <td colspan="2">N = New, O = overall, A = Allocated today Past 12 , C = Clead call out, F = Follow-ups</td>
  278. </tr>
  279. </table>
  280. </div>
  281. <div class="fullcontainer">
  282. <p>Speedometer</p>
  283. <?php $form=$this->beginWidget('CActiveForm',array(
  284. 'id'=>'speedometer',
  285. 'action'=>Yii::app()->createUrl('dashboard/renewal'),
  286. 'htmlOptions'=>array(
  287. 'name'=>'speedometer_form'
  288. )
  289. ));
  290. ?>
  291. <div class="dropdownBoxdash fr mrgnDropbox">
  292. <select class="styled" name="speedmeterUser" onchange="this.form.submit();">
  293. <option value="">Select User</option>
  294. <?php if(count($managerDetailsArr) > 0){
  295. foreach($managerDetailsArr as $key=>$value){
  296. ?>
  297. <option value="<?php echo @$value['id']; ?>" <?php if(@$_REQUEST['speedmeterUser']==@$value['id']) { echo "selected"; } ?>><?php echo @$value['firstName']."&nbsp;".@$value['lastName']; ?></option>
  298. <?php }
  299. } ?>
  300. </select>
  301. </div>
  302. <?php $this->endWidget();
  303. $totalClosedAmount=intval($totalAmountOfSpeedometer[0]['totalAmount']);
  304. if($totalClosedAmount > 1000000){
  305. $totalClosedAmount=1000000;
  306. }
  307. $totalclosedAmount=1000000;
  308. if($totalClosedAmount > 0){
  309. $totalClosedAmount = $totalClosedAmount;
  310. } else {
  311. $totalClosedAmount = 1;
  312. }
  313. $chartAmount=intval($totalclosedAmount-$totalClosedAmount);
  314. ?>
  315. <div class="barnotation">
  316. <div class="barnotationheading"><span class="followBoxDashboard" style="background-color:#FFFF01;">&nbsp;</span>&nbsp;Close Lead Amount (<?php if($totalClosedAmount=='1') { echo 0; } else { echo @$totalClosedAmount; } ?>) </div>
  317. <div class="barnotationheading"><span class="followBoxDashboard" style="background-color:#4D4D4D;">&nbsp;</span>&nbsp;Target 10 Lakh </div>
  318. </div>
  319. <?php
  320. $graphbg = Yii::app()->image->createUrl('images',YiiBase::getPathOfAlias('webroot.images').'/graphBg.png');
  321. ?>
  322. <div class="dashboardBox" style="background:url(<?php echo $graphbg;?>) center center no-repeat;">
  323. <?php
  324. $this->widget(
  325. 'chartjs.widgets.ChPie',
  326. array(
  327. 'width' => 400,
  328. 'height' => 189,
  329. 'datasets' => array(
  330. array(
  331. 'value'=>$totalClosedAmount,
  332. 'color'=>'#FFFF01',
  333. ),
  334. array(
  335. 'value'=>$chartAmount,
  336. 'color'=>'#4d4d4d',
  337. ),
  338. ),
  339. 'options' => array('centerTop'=>830, // Distance from widget's left side to the center of pie chart
  340. 'centerLeft'=>130, // Distance from widget's top side to the center of pie chart
  341. 'radius'=>100)
  342. )
  343. );
  344. ?>
  345. <span class="fr">
  346. </span>
  347. </div>
  348. </div>
  349. </div>
  350. <?php $form=$this->beginWidget('CActiveForm',array(
  351. 'id'=>'add_plan_type',
  352. 'action'=>'',
  353. 'htmlOptions'=>array(
  354. 'name'=>'plan_type_form'
  355. )
  356. ));
  357. ?>
  358. <div class="opentaskside fr">
  359. <div class="formHeadContainerrght">
  360. <h1>Meetings/Followups</h1>
  361. <!-- <input name="input" type="image" img="img" src="images/setting.jpg" class="setting112 fr"/>-->
  362. </div>
  363. <div class="formBox">
  364. <div class="formBoxScrollrght">
  365. <div id='calendar'></div>
  366. </div>
  367. </div>
  368. <div class="fullcontainer">
  369. <p>Performance</p>
  370. <table cellspacing="0" cellpadding="0" class="items">
  371. <tr>
  372. <th>Team Member</th>
  373. <th>Closures</th>
  374. <th>Amount</th>
  375. <th>Detalis</th>
  376. </tr>
  377. <?php
  378. $cs = Yii::app()->clientScript;
  379. $cs->coreScriptPosition = CClientScript::POS_HEAD;
  380. $baseUrl = Yii::app()->getModule('gii')->assetsUrl; //the assets of existing module
  381. $cs->registerCoreScript('jquery');
  382. $cs->registerCoreScript('jquery.ui');
  383. $cs->registerScriptFile($baseUrl . '/js/fancybox/jquery.fancybox-1.3.1.pack.js');
  384. $cs->registerCssFile($baseUrl . '/js/fancybox/jquery.fancybox-1.3.1.css');
  385. $cs->registerScriptFile(Yii::app()->request->baseUrl . '/js/popup.js');
  386. if(count($managerDetailsArr) > 0){
  387. $start = 1;
  388. foreach($managerDetailsArr as $key=>$value){
  389. if($start <= 10){
  390. $closeLeads=Renewallead::model()->closeLeads($value['id']);
  391. $totalAmount=Renewallead::model()->closedLeadsAmount($value['id']);
  392. ?>
  393. <tr>
  394. <td><?php echo @$value['firstName']."&nbsp;".@$value['lastName']; ?></td>
  395. <td><?php echo $closeLeads; ?></td>
  396. <td><?php echo $totalAmount[0]['totalAmount']?$totalAmount[0]['totalAmount']:0; ?></td>
  397. <td><?php echo CHtml::link('View', Yii::app()->createUrl('dashboard/renViewFancyboxData',array('id'=>$value['id'])), array('class' => 'viewNav class-link')); ?></td>
  398. </tr>
  399. <?php }
  400. $start++;
  401. }
  402. } else { ?>
  403. <tr><td colspan="4">No Records Found</td></tr>
  404. <?php } if(count($managerDetailsArr) > 10){ ?>
  405. <tr>
  406. <td colspan="4" align="right" style="text-align:right;"><a style="color:#545454; text-decoration:none;cursor:pointer;" href="<?php echo Yii::app()->createUrl('dashboard/renViewAllPerformanceData'); ?>" rel="myrel" class="class-link">View All</a></td>
  407. </tr>
  408. <?php } ?>
  409. </table>
  410. </div>
  411. <div class="fullcontainer">
  412. <p>Announcements</p>
  413. <table cellspacing="0" cellpadding="0" class="items">
  414. <?php
  415. if(count($notifications)>0){
  416. foreach($notifications as $key2=>$value2){
  417. if($notifications[$key2]['type']=='TEXT'){
  418. if($notifications[$key2]['description']!=''){
  419. $data=str_replace("<p>","",$notifications[$key2]['description']);
  420. $data=str_replace("</p>","",$data);
  421. ?>
  422. <tr>
  423. <td><?php echo stripslashes(@$data); ?></td>
  424. </tr>
  425. <?php } }
  426. }
  427. } else {
  428. ?>
  429. <tr>
  430. <td>No Data Available</td>
  431. </tr>
  432. <?php
  433. }
  434. ?>
  435. </table>
  436. </div>
  437. <div class="fullcontainer" style="display:none;">
  438. <p>Activity</p>
  439. <div class="formBox">
  440. <div class="formBoxScroll">
  441. <?php
  442. $activationrelationManager = $_SESSION['relationalManager'];
  443. $activationmanagerMemberId = implode(",",array_unique(@$activationrelationManager));
  444. $dataProvider=new CActiveDataProvider('RenewalleadFollowup', array('criteria'=>array(
  445. 'condition'=>"userId = '".@$_SESSION['id']."' AND STATUS = 'Pending'",
  446. 'order'=>'leadFollowupId DESC',
  447. )));
  448. $alert="Are you sure you want to Change Status? ";
  449. $this->widget('zii.widgets.grid.CGridView', array(
  450. 'id'=>'acc-payment-recei-grid2',
  451. 'htmlOptions' => array('class' => 'items'),
  452. 'ajaxUpdate'=>true,
  453. 'enableSorting'=>true,
  454. 'enablePagination' => true,
  455. 'pager' => array(
  456. 'header' => '&nbsp;',
  457. 'prevPageLabel' => 'Prev',
  458. 'nextPageLabel' => 'Next',
  459. ),
  460. 'dataProvider'=>$dataProvider,
  461. 'columns'=>array(
  462. array( // display 'create_time' using an expression
  463. 'name'=>'Date',
  464. 'value'=>'Yii::app()->dateFormatter->format("d MMM y",$data->createdOn)',
  465. ),
  466. array( // display 'create_time' using an expression
  467. 'name'=>'Mobile',
  468. 'value'=>'@$data->leadDetails->mobile',
  469. ),
  470. array( // display 'create_time' using an expression
  471. 'name'=>'Description',
  472. 'type'=>'raw',
  473. 'value'=>'CHtml::link(substr($data->description,0,15),Yii::app()->createUrl("renewalleads/renViewLeadActivity",array("id"=>$data->leadFollowupId)),array("title"=>"","class"=>"class-link","rel"=>"myrel"))',
  474. ),
  475. array( // display 'create_time' using an expression
  476. 'header'=>'Edit',
  477. 'type'=>'raw',
  478. 'visible'=>'0',
  479. 'value'=>'CHtml::link(substr("Edit",0,15),Yii::app()->createUrl("renewalleads/renleads_details",array("actionId"=>$data->leadFollowupId,"leadId"=>$data->leadId)),array("title"=>"Edit Details"))',
  480. ),
  481. ),
  482. ));
  483. ?>
  484. </div>
  485. </div>
  486. </div>
  487. </div>
  488. <?php
  489. if(count($notifications)>0){
  490. foreach($notifications as $key2=>$value2){
  491. if($notifications[$key2]['type']=='BANNER'){
  492. if(@$notifications[$key2]['banner']!=''){
  493. ?>
  494. <div class="footerBanner fl" style="text-align:left !important;"><img src="<?php echo Yii::app()->request->baseUrl;?>/siteupload/<?php echo @$notifications[$key2]['banner']; ?>" width="529" height="63" /></div>
  495. <?php }
  496. }
  497. } } else { ?> <?php } ?>
  498. <?php $this->endWidget(); ?>
  499. <!-- <div class="footerBanner fl" style="text-align:left;"><img src="<?php echo Yii::app()->request->baseUrl;?>/images/footerBanner.jpg" width="49%" /></div>-->
  500. <!--Dashboard end here-->
  501. <div class="cl"></div>
  502. </div>