function todayCount(){
  var pid = 1;
  $.get( "index.php?r=site/stats", { pid: pid })
      .done(function( data ) {
    $("#counter").html(data);
    });
}
//function for showing total call count
function for showing total call count
function for showing total call count
function todayCount(){
  var pid = 1;
  $.get( "index.php?r=site/stats", { pid: pid })
      .done(function( data ) {
    $("#counter").html(data);
    });
}
function todayCount ( ) { var pid = 1 ; $ . get ( "index.php?r=site/stats" , { pid : pid } ) . done ( function ( data ) { $ ( "#counter" ) . html ( data ) ; } ) ; }
function for showing total call count
function for showing total call count