code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM accounts"; // set the table and primary key $tree->table = 'accounts'; $tree->setPrimaryKeyId('account_id'); // set tree model and table configuration $tree->setTreeModel('adjacency'); $tree->setTableConfig(array('id'=>'account_id', 'parent'=>'parent_id')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('acc_num',array("label"=>"Number", "width"=>170)); $tree->setColProperty('debit',array("label"=>"Debit", "width"=>90, "align"=>"right")); $tree->setColProperty('credit',array("label"=>"Credit", "width"=>90, "align"=>"right")); $tree->setColProperty('balance',array("label"=>"Balance", "width"=>90, "align"=>"right")); // hide the not needed fields $tree->setColProperty('account_id',array("hidden"=>true)); $tree->setColProperty('parent_id',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>'auto', "sortname"=>"account_id", // allow automatic scrolling of the rows "scrollrows"=>true )); // enable key navigation $tree->callGridMethod('#tree', 'bindKeys'); $tree->navigator = true; $tree->setNavOptions('navigator', array("add"=>true,"edit"=>true, "del"=>true, "search"=>false, "excel"=>false)); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/addeditdelete/treegrid.php
PHP
gpl2
2,059
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/nested_model/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading nodes $tree->autoLoadNodes = false; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>"auto", "sortname"=>"account_id" )); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/nested_model/treegrid.php
PHP
gpl2
1,853
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/autoloadnodes/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading nodes $tree->autoLoadNodes = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>"auto", "sortname"=>"account_id" )); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/autoloadnodes/treegrid.php
PHP
gpl2
1,852
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } tr.jqgrow td {border-bottom-width: 0px; border-bottom-color: inherit; border-bottom-style: none;} .ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 0px !important; border-right-color: inherit; border-right-style: none;} </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <div id="selection"> price: <span id="price"></span><br/> icon: <span id="uiicon"></span> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/onselectevent/default.php
PHP
gpl2
1,707
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = false; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>120, "sortname"=>"account_id" )); $onselect = <<< ONSELECT function(rowid) { if(rowid) { var rdata = $('#tree').jqGrid('getRowData', rowid); if(rdata.isLeaf == 'true') { $("#price").html(rdata.price); $("#uiicon").empty().append("<span class='ui-icon "+rdata.uiicon+"'></span>"); } } } ONSELECT; $tree->setGridEvent('onSelectRow', $onselect); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/onselectevent/treegrid.php
PHP
gpl2
2,242
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/delnodes/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM accounts"; // set the table and primary key $tree->table = 'accounts'; $tree->setPrimaryKeyId('account_id'); // set tree model and table configuration $tree->setTreeModel('adjacency'); $tree->setTableConfig(array('id'=>'account_id', 'parent'=>'parent_id')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('acc_num',array("label"=>"Number", "width"=>170)); $tree->setColProperty('debit',array("label"=>"Debit", "width"=>90, "align"=>"right")); $tree->setColProperty('credit',array("label"=>"Credit", "width"=>90, "align"=>"right")); $tree->setColProperty('balance',array("label"=>"Balance", "width"=>90, "align"=>"right")); // hide the not needed fields $tree->setColProperty('account_id',array("hidden"=>true)); $tree->setColProperty('parent_id',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>'auto', "sortname"=>"account_id", // allow automatic scrolling of the rows "scrollrows"=>true )); // enable key navigation $tree->callGridMethod('#tree', 'bindKeys'); $tree->navigator = true; $tree->setNavOptions('navigator', array("add"=>false,"edit"=>true, "del"=>true, "search"=>false, "excel"=>false)); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/delnodes/treegrid.php
PHP
gpl2
2,060
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } .ui-jqgrid tr.jqgrow td { border: 0px none;} </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <style type="text"> .ui-jqgrid tr.jqgrow td { border: 0px none;} </style> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/simpletree/default.php
PHP
gpl2
1,493
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); // set the icon db field for the leaf nodes. $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt', 'icon'=>'uiicon')); // autoloading nodes $tree->autoLoadNodes = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>90)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right", "hidden"=>true)); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right","hidden"=>true)); $tree->setColProperty('color',array("label"=>"Color", "width"=>100, "hidden"=>true)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>"auto", "hoverrows"=>true, "sortname"=>"account_id" )); // remove the border $tree->setGridEvent("gridComplete", "function(){ $('tr.jqgrow td').css({'border':'0px none'});}"); // remove the header $tree->setJSCode("$('.ui-jqgrid-htable','.ui-jqgrid-hbox').hide();"); // set navigation $tree->callGridMethod('#tree', 'bindKeys'); //Enjoy $tree->renderTree('#tree', '', true,null, null, true, false); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/simpletree/treegrid.php
PHP
gpl2
2,257
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/icondb/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); // set the icon db field for the leaf nodes. $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt', 'icon'=>'uiicon')); // autoloading nodes $tree->autoLoadNodes = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>"auto", "sortname"=>"account_id" )); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/icondb/treegrid.php
PHP
gpl2
1,915
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/iconchange/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading nodes $tree->autoLoadNodes = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>"auto", "sortname"=>"account_id", // set the tree icons "treeIcons" => array( "plus"=>"ui-icon-circlesmall-plus", "minus"=>"ui-icon-circlesmall-minus", "leaf"=>"ui-icon-document" ) )); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/iconchange/treegrid.php
PHP
gpl2
2,009
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/expandcolclick/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading nodes $tree->autoLoadNodes = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170 )); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>"auto", "sortname"=>"account_id", // expand a node when click on the node name "ExpandColClick"=>true )); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/expandcolclick/treegrid.php
PHP
gpl2
1,924
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/loadallcollapsed/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = false; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>"auto", "sortname"=>"account_id" )); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/loadallcollapsed/treegrid.php
PHP
gpl2
1,918
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="demophp.aspx.cs" Inherits="GridTest.demophp" %> <%@ Register src="loginstrip.ascx" tagname="loginstrip" tagprefix="site" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Demos -- Trirand jqGrid for ASP.NET</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="jquery,user interface,ui,widgets,interaction,javascript, asp.net, asp.net mvc, jqgrid, grid, table, interface, component, themeroller" /> <meta name="description" content="jqGrid for ASP.NET is a server side component for ASP.NET based on industry standards - jQuery, jQuery UI, ThemeRoller" /> <meta name="author" content="Tony Tomov, Rumen Stankov" /> <link rel="Shortcut Icon" type="image/ico" href="i/favicon.ico" /> <link rel="stylesheet" type="text/css" href="css/main.css" media="screen"/> <link rel="stylesheet" type="text/css" href="themes/redmond/jquery-ui-1.8.2.custom.css" media="screen" /> <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script> <script type="text/javascript"> jQuery(document).ready(function() { $("#accordion").accordion(); $("#demoFrame").attr("src", "http://www.trirand.com/blog/phpjqgrid/examples/tree/nested_model/default.php"); }); </script> </head> <body> <form id="form1" runat="server"> <div id="Wrapper"> <div id="Header"> <site:loginstrip ID="loginstrip1" runat="server" /> <div id="Logo"> <a href=""><img src="i/logo.gif" alt="jqGrid" /></a> </div><div id="Menu"> <ul> <li class="first"> <a href="default.aspx">jqGrid</a> </li><li> <strong>Demo</strong> </li> <li> <a href="documentation.aspx">Documentation</a> </li> <li> <a href="download.aspx">Download</a> </li><li> <a href="licensing.aspx">Licensing/Pricing</a> </li><li> <a href="support.aspx">Support</a> </li><li class="last"> <a href="about.aspx">About</a> </li> </ul> </div> </div><div id="Body"> <div id="Content"> <!-- Demo Content Here --> <p> <table cellspacing="10" cellpadding="10"> <tr> <td width="250px" valign="top"> <div id="accordion" style="font-size: 75%; height: 600px; width: 240px;"> <h3><a href="#">Tree Models</a></h3> <div> <ul class="examples"> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/nested_model/default.php" target="demoFrame">Nested set model</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/adj_model/default.php" target="demoFrame">Adjacency model<sup><font style="color:red">New</font></sup></a> </li> </ul> </div> <h3><a href="#">Loading</a></h3> <div> <ul class="examples"> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/autoloadnodes/default.php" target="demoFrame">Auto loading nodes</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/loadallcollapsed/default.php" target="demoFrame">Load all nodes collapsed</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/loadallexpanded/default.php" target="demoFrame">Load all nodes expanded</a> </li> </ul> </div> <h3><a href="#">Look and Feel</a></h3> <div> <ul class="examples"> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/expandcolclick/default.php" target="demoFrame">Expand a node by click the name</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/fixedheight/default.php" target="demoFrame">Fixed height</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/iconchange/default.php" target="demoFrame">Icon can be changed</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/icondb/default.php" target="demoFrame">Use icon from database field</a> </li> </ul> </div> <h3><a href="#">Functionalities</a></h3> <div> <ul class="examples"> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/keyboardnav/default.php" target="demoFrame">Navigation with keyboard</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/onselectevent/default.php" target="demoFrame">Action on selecting node</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/simpletree/default.php" target="demoFrame">Simulate simple tree</a> </li> </ul> </div> <h3><a href="#">Add/Update/Delete</a></h3> <div> <ul class="examples"> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/addnodes/default.php" target="demoFrame">Ading Node</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/delnodes/default.php" target="demoFrame">Delete nodes</a> </li> <li> <a href="http://www.trirand.com/blog/phpjqgrid/examples/tree/addeditdelete/default.php" target="demoFrame">Add, edit, delete nodes</a> </li> </ul> </div> </div> </td> <td width="700px" valign="top"> <iframe id="demoFrame" name="demoFrame" style="width: 700px; height:600px; border-width:0; border-style:none; border-color:black;"> </iframe> </td> </tr> </table> </p> </div> </div><div id="Footer"> <p> &copy; 2007-2009 <a href="">Trirand Inc., &trade;</a> </p> </div> </div> <!-- Google Analytics Section --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-5463047-2"); pageTracker._trackPageview(); } catch (err) { } </script> </form> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/demotreephp.aspx
ASP.NET
gpl2
10,603
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/loadallexpanded/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>"auto", "sortname"=>"account_id" )); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/loadallexpanded/treegrid.php
PHP
gpl2
1,917
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/addnodes/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM accounts"; // set the table and primary key $tree->table = 'accounts'; $tree->setPrimaryKeyId('account_id'); // set tree model and table configuration $tree->setTreeModel('adjacency'); $tree->setTableConfig(array('id'=>'account_id', 'parent'=>'parent_id')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('acc_num',array("label"=>"Number", "width"=>170)); $tree->setColProperty('debit',array("label"=>"Debit", "width"=>90, "align"=>"right")); $tree->setColProperty('credit',array("label"=>"Credit", "width"=>90, "align"=>"right")); $tree->setColProperty('balance',array("label"=>"Balance", "width"=>90, "align"=>"right")); // hide the not needed fields $tree->setColProperty('account_id',array("hidden"=>true)); $tree->setColProperty('parent_id',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>'auto', "sortname"=>"account_id", // allow automatic scrolling of the rows "scrollrows"=>true )); // enable key navigation $tree->callGridMethod('#tree', 'bindKeys'); $tree->navigator = true; $tree->setNavOptions('navigator', array("add"=>true,"edit"=>false, "del"=>false, "search"=>false, "excel"=>false)); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/addnodes/treegrid.php
PHP
gpl2
2,061
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/adj_model/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM adj_table"; // set the table and primary key $tree->table = 'adj_table'; $tree->setPrimaryKeyId('emp_id'); // set tree model and table configuration $tree->setTreeModel('adjacency'); $tree->setTableConfig(array('id'=>'emp_id', 'parent'=>'boss_id')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Employee", "width"=>170)); $tree->setColProperty('salary',array("label"=>"Salary", "align"=>"right","width"=>90)); // hide the not needed fields $tree->setColProperty('emp_id',array("hidden"=>true)); $tree->setColProperty('boss_id',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>'auto', "sortname"=>"emp_id", // allow automatic scrolling of the rows "scrollrows"=>true )); // enable key navigation $tree->callGridMethod('#tree', 'bindKeys'); $tree->navigator = true; $tree->setNavOptions('navigator', array("add"=>true,"edit"=>true, "del"=>true, "search"=>false, "excel"=>false)); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/adj_model/treegrid.php
PHP
gpl2
1,793
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/fixedheight/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = true; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>200, "sortname"=>"account_id" )); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/fixedheight/treegrid.php
PHP
gpl2
1,914
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqTreeGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("treegrid.php");?> </div> <br/> <?php tabs(array("treegrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/keyboardnav/default.php
PHP
gpl2
1,353
<?php ini_set("display_errors",1); require_once '../../../jq-config.php'; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // include the jqGrid Class require_once ABSPATH."php/jqTreeGrid.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqTreeGrid instance $tree = new jqTreeGrid($conn); $tree->SelectCommand = "SELECT * FROM nested_category"; // set the table and primary key $tree->table = 'nested_category'; $tree->setPrimaryKeyId('category_id'); // set tree model and table configuration $tree->setTreeModel('nested'); $tree->setTableConfig(array('id'=>'category_id', 'left'=>'lft', 'right'=>'rgt')); // autoloading is disabled $tree->autoLoadNodes = false; // collapse all nodes (default) $tree->expandAll = false; // show any error (if any ) from server $tree->showError = true; $tree->setColModel(); $tree->setUrl('treegrid.php'); $tree->dataType = 'json'; // Some nice setting $tree->setColProperty('name',array("label"=>"Name", "width"=>170)); $tree->setColProperty('price',array("label"=>"Price", "width"=>90, "align"=>"right")); $tree->setColProperty('qty_onhand',array("label"=>"Qty", "width"=>90, "align"=>"right")); $tree->setColProperty('color',array("label"=>"Color", "width"=>100)); // hide the not needed fields $tree->setColProperty('category_id',array("hidden"=>true,"index"=>"accounts.account_id", "width"=>50)); $tree->setColProperty('lft',array("hidden"=>true)); $tree->setColProperty('rgt',array("hidden"=>true)); $tree->setColProperty('level',array("hidden"=>true)); $tree->setColProperty('uiicon',array("hidden"=>true)); // and finaly set the expand column and height to auto $tree->setGridOptions(array( "ExpandColumn"=>"name", "height"=>200, "sortname"=>"account_id", // allow automatic scrolling of the rows "scrollrows"=>true )); // enable key navigation $tree->callGridMethod('#tree', 'bindKeys'); $tree->renderTree('#tree', '#pager', true,null, null, true, true); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/tree/keyboardnav/treegrid.php
PHP
gpl2
2,046
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php", "details.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_icons/default.php
PHP
gpl2
1,429
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT EmployeeID, LastName, FirstName, Title FROM employees'; // Set output format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set some grid options $grid->setGridOptions(array( "rowNum"=>10, "height"=>250, "rowList"=>array(10,20,30), "sortname"=>"EmployeeID" )); //the icons of the subgrid $grid->setGridOptions(array( "subGridOptions"=>array( "plusicon"=>"ui-icon-triangle-1-e", "minusicon"=>"ui-icon-triangle-1-s", "openicon"=>"ui-icon-arrowreturn-1-e" ) )); // Set the url from where we get the data $grid->setSubGridGrid('details.php'); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_icons/grid.php
PHP
gpl2
1,219
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); $rowid = jqGridUtils::Strip($_REQUEST["rowid"]); if(!$rowid) die("Missed parameters"); // Get details $SQL = "SELECT * FROM employees WHERE EmployeeID=".(int)$rowid; $qres = jqGridDB::query($conn, $SQL); $result = jqGridDB::fetch_assoc($qres,$conn); $s = "<table><tbody>"; $s .= "<tr><td><b>First Name</b></td><td>".$result["FirstName"]."</td>"; $s .= "<td rowspan='9' valign='top'><img src='images/".trim($result["EmployeeID"]).".jpg'/></td></tr>"; $s .= "<tr><td><b>Last Name</b></td><td>".$result["LastName"]."</td></tr>"; $s .= "<tr><td><b>Title</b></td><td>".$result["Title"]."</td></tr>"; $s .= "<tr><td><b>Title of Courtesy</b></td><td>".$result["TitleOfCourtesy"]."</td></tr>"; $s .= "<tr><td><b>Birth Date</b></td><td>".$result["BirthDate"]."</td></tr>"; $s .= "<tr><td><b>Hire Date</b></td><td>".$result["HireDate"]."</td></tr>"; $s .= "<tr><td><b>Address</b></td><td>".$result["Address"]."</td></tr>"; $s .= "<tr><td><b>City</b></td><td>".$result["City"]."</td></tr>"; $s .= "<tr><td><b>Postal Code</b></td><td>".$result["PostalCode"]."</td></tr>"; $s .= "</tbody></table>"; echo $s; jqGridDB::closeCursor($qres); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_icons/details.php
PHP
gpl2
1,457
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php", "details.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_expandall/default.php
PHP
gpl2
1,429
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT EmployeeID, LastName, FirstName, Title FROM employees'; // Set output format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set some grid options $grid->setGridOptions(array( "rowNum"=>10, "height"=>250, "rowList"=>array(10,20,30), "sortname"=>"EmployeeID" )); //the icons of the subgrid $grid->setGridOptions(array( "subGridOptions"=>array( "plusicon"=>"ui-icon-triangle-1-e", "minusicon"=>"ui-icon-triangle-1-s", "openicon"=>"ui-icon-arrowreturn-1-e", // expand all rows on load "expandOnLoad"=>true ) )); // Set the url from where we get the data $grid->setSubGridGrid('details.php'); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_expandall/grid.php
PHP
gpl2
1,272
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); $rowid = jqGridUtils::Strip($_REQUEST["rowid"]); if(!$rowid) die("Missed parameters"); // Get details $SQL = "SELECT * FROM employees WHERE EmployeeID=".(int)$rowid; $qres = jqGridDB::query($conn, $SQL); $result = jqGridDB::fetch_assoc($qres,$conn); $s = "<table><tbody>"; $s .= "<tr><td><b>First Name</b></td><td>".$result["FirstName"]."</td>"; $s .= "<td rowspan='9' valign='top'><img src='images/".trim($result["EmployeeID"]).".jpg'/></td></tr>"; $s .= "<tr><td><b>Last Name</b></td><td>".$result["LastName"]."</td></tr>"; $s .= "<tr><td><b>Title</b></td><td>".$result["Title"]."</td></tr>"; $s .= "<tr><td><b>Title of Courtesy</b></td><td>".$result["TitleOfCourtesy"]."</td></tr>"; $s .= "<tr><td><b>Birth Date</b></td><td>".$result["BirthDate"]."</td></tr>"; $s .= "<tr><td><b>Hire Date</b></td><td>".$result["HireDate"]."</td></tr>"; $s .= "<tr><td><b>Address</b></td><td>".$result["Address"]."</td></tr>"; $s .= "<tr><td><b>City</b></td><td>".$result["City"]."</td></tr>"; $s .= "<tr><td><b>Postal Code</b></td><td>".$result["PostalCode"]."</td></tr>"; $s .= "</tbody></table>"; echo $s; jqGridDB::closeCursor($qres); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_expandall/details.php
PHP
gpl2
1,457
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php","subgrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_2_levels/default.php
PHP
gpl2
1,428
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Get the needed parameters passed from the main grid // By default we add to postData subgrid and rowid parameters in the main grid $subtable = jqGridUtils::Strip($_REQUEST["subgrid"]); $rowid = jqGridUtils::Strip($_REQUEST["rowid"]); if(!$subtable && !$rowid) die("Missed parameters"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = "SELECT OrderID, RequiredDate, ShipName, ShipCity, Freight FROM orders WHERE CustomerID = ?"; // set the ouput format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(null,array(&$rowid)); // Set the url from where we obtain the data $grid->setUrl('subgrid.php'); // Set some grid options $grid->setGridOptions(array( "width"=>540, "rowNum"=>10, "sortname"=>"OrderID", "height"=>110, "postData"=>array("subgrid"=>$subtable,"rowid"=>$rowid))); // Change some property of the field(s) $grid->setColProperty("RequiredDate", array( "formatter"=>"date", "formatoptions"=>array("srcformat"=>"Y-m-d H:i:s","newformat"=>"m/d/Y"), "search"=>false ) ); $grid->navigator = true; $grid->setNavOptions('navigator', array("excel"=>false,"add"=>false,"edit"=>false,"del"=>false,"view"=>false)); // Enjoy $subtable = $subtable."_t"; $pager = $subtable."_p"; $grid->renderGrid($subtable,$pager, true, null, array(&$rowid), true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_2_levels/subgrid.php
PHP
gpl2
1,726
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT CustomerID, CompanyName, ContactName, Phone, City FROM customers'; // Set the table to where you update the data $grid->table = 'customers'; // Set output format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set some grid options $grid->setGridOptions(array( "rowNum"=>10, "height"=>250, "rowList"=>array(10,20,30), "sortname"=>"CustomerID" )); $grid->setColProperty('CustomerID', array("label"=>"ID", "width"=>50)); $grid->setSubGridGrid("subgrid.php"); // Enable navigator $grid->navigator = true; // Enable only editing $grid->setNavOptions('navigator', array("excel"=>false,"add"=>false,"edit"=>false,"del"=>false,"view"=>false)); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_2_levels/grid.php
PHP
gpl2
1,298
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php", "details.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_loadonce/default.php
PHP
gpl2
1,429
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT EmployeeID, LastName, FirstName, Title FROM employees'; // Set output format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set some grid options $grid->setGridOptions(array( "rowNum"=>10, "height"=>250, "rowList"=>array(10,20,30), "sortname"=>"EmployeeID" )); //the icons of the subgrid $grid->setGridOptions(array( "subGridOptions"=>array( "plusicon"=>"ui-icon-triangle-1-e", "minusicon"=>"ui-icon-triangle-1-s", "openicon"=>"ui-icon-arrowreturn-1-e", // load the subgrid data only once // and the just show/hide "reloadOnExpand"=>false, // select the row when the expand column is clicked "selectOnExpand"=>true ) )); // Set the url from where we get the data $grid->setSubGridGrid('details.php'); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_loadonce/grid.php
PHP
gpl2
1,391
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); $rowid = jqGridUtils::Strip($_REQUEST["rowid"]); if(!$rowid) die("Missed parameters"); // Get details $SQL = "SELECT * FROM employees WHERE EmployeeID=".(int)$rowid; $qres = jqGridDB::query($conn, $SQL); $result = jqGridDB::fetch_assoc($qres,$conn); $s = "<table><tbody>"; $s .= "<tr><td><b>First Name</b></td><td>".$result["FirstName"]."</td>"; $s .= "<td rowspan='9' valign='top'><img src='images/".trim($result["EmployeeID"]).".jpg'/></td></tr>"; $s .= "<tr><td><b>Last Name</b></td><td>".$result["LastName"]."</td></tr>"; $s .= "<tr><td><b>Title</b></td><td>".$result["Title"]."</td></tr>"; $s .= "<tr><td><b>Title of Courtesy</b></td><td>".$result["TitleOfCourtesy"]."</td></tr>"; $s .= "<tr><td><b>Birth Date</b></td><td>".$result["BirthDate"]."</td></tr>"; $s .= "<tr><td><b>Hire Date</b></td><td>".$result["HireDate"]."</td></tr>"; $s .= "<tr><td><b>Address</b></td><td>".$result["Address"]."</td></tr>"; $s .= "<tr><td><b>City</b></td><td>".$result["City"]."</td></tr>"; $s .= "<tr><td><b>Postal Code</b></td><td>".$result["PostalCode"]."</td></tr>"; $s .= "</tbody></table>"; echo $s; jqGridDB::closeCursor($qres); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_loadonce/details.php
PHP
gpl2
1,457
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php","subgrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/simple_subgrid/default.php
PHP
gpl2
1,428
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Get the needed parameters passed from the main grid $rowid = jqGridUtils::GetParam("id"); if(!$rowid) die("Missed parameters"); // Create the base jqGrid instance $grid = new jqGrid($conn); // Write the SQL Query $grid->SubgridCommand = "SELECT OrderID, RequiredDate, ShipName, ShipCity, Freight FROM orders WHERE CustomerID=? ORDER BY OrderID desc"; // set the ouput format to json $grid->dataType = 'json'; // Use the build in function for the simple subgrid $grid->querySubGrid(array(&$rowid)); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/simple_subgrid/subgrid.php
PHP
gpl2
838
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT CustomerID, CompanyName, ContactName, Phone, City FROM customers'; // Set the table to where you update the data $grid->table = 'customers'; // Set output format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setPrimaryKeyId('CustomerID'); $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set some grid options $grid->setGridOptions(array( "rowNum"=>10, "height"=>250, "gridview"=>false, "rowList"=>array(10,20,30), "sortname"=>"CustomerID" )); $grid->setColProperty('CustomerID', array("label"=>"ID", "width"=>50)); // Set the parameters for the subgrid $grid->setSubGrid("subgrid.php", array('OrderID', 'RequiredDate', 'ShipName', 'ShipCity', 'Freight'), array(60,120,150,100,70), array('left','left','left','left','right')); // Enable navigator $grid->navigator = true; // Enable only editing $grid->setNavOptions('navigator', array("excel"=>false,"add"=>false,"edit"=>false,"del"=>false,"view"=>false)); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/simple_subgrid/grid.php
PHP
gpl2
1,556
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php","subgrid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_3_levels/default.php
PHP
gpl2
1,428
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Get the needed parameters passed from the main grid $subtable = jqGridUtils::Strip($_REQUEST["subgrid"]); $rowid = jqGridUtils::Strip($_REQUEST["rowid"]); if(!$subtable && !$rowid) die("Missed parameters"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = "SELECT OrderID, RequiredDate, ShipName, ShipCity, Freight FROM orders WHERE CustomerID= ?"; // set the ouput format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(null, array(&$rowid)); // Set the url from where we obtain the data $grid->setUrl('subgrid.php'); // Set some grid options $grid->setGridOptions(array( "width"=>540, "rowNum"=>10, "sortname"=>"OrderID", "height"=>'auto', "postData"=>array("subgrid"=>$subtable,"rowid"=>$rowid))); // Change some property of the field(s) $grid->setColProperty("RequiredDate", array( "formatter"=>"date", "formatoptions"=>array("srcformat"=>"Y-m-d H:i:s","newformat"=>"m/d/Y"), "search"=>false ) ); $grid->setSubGridGrid("subsubgrid.php"); $grid->navigator = true; $grid->setNavOptions('navigator', array("excel"=>false,"add"=>false,"edit"=>false,"del"=>false,"view"=>false)); // Enjoy $subtable = $subtable."_t"; $pager = $subtable."_p"; $grid->renderGrid($subtable,$pager, true, null, array(&$rowid), true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_3_levels/subgrid.php
PHP
gpl2
1,691
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT CustomerID, CompanyName, ContactName, Phone, City FROM customers'; // Set the table to where you update the data $grid->table = 'customers'; // Set output format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set some grid options $grid->setGridOptions(array( "rowNum"=>10, "height"=>'auto', "gridview"=>false, "rowList"=>array(10,20,30), "sortname"=>"CustomerID" )); $grid->setColProperty('CustomerID', array("label"=>"ID", "width"=>50)); $grid->setSubGridGrid("subgrid.php"); // Enable navigator $grid->navigator = true; // Enable only editing $grid->setNavOptions('navigator', array("excel"=>false,"add"=>false,"edit"=>false,"del"=>false,"view"=>false)); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_3_levels/grid.php
PHP
gpl2
1,324
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Get the needed parameters passed from the main grid $subtable = jqGridUtils::Strip($_REQUEST["subgrid"]); $rowid = jqGridUtils::Strip($_REQUEST["rowid"]); if(!$subtable && !$rowid) die("Missed parameters"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = "SELECT OrderID, ProductID, Quantity, UnitPrice FROM order_details WHERE OrderID=?"; // set the ouput format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(null, array(&$rowid)); // Set the url from where we obtain the data $grid->setUrl('subsubgrid.php'); // Set some grid options $grid->setGridOptions(array( "width"=>480, "rowNum"=>10, "sortname"=>"OrderID", "height"=>'auto', "postData"=>array("subgrid"=>$subtable,"rowid"=>$rowid))); // Change some property of the field(s) $grid->navigator = true; $grid->setNavOptions('navigator', array("excel"=>false,"add"=>false,"edit"=>false,"del"=>false,"view"=>false)); // Enjoy $subtable = $subtable."_t"; $pager = $subtable."_p"; $grid->renderGrid($subtable,$pager, true, null, array(&$rowid), true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/subgrid_3_levels/subsubgrid.php
PHP
gpl2
1,469
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php", "details.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/custom_details/default.php
PHP
gpl2
1,429
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT EmployeeID, LastName, FirstName, Title FROM employees'; // Set output format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set some grid options $grid->setGridOptions(array( "rowNum"=>10, "height"=>250, "rowList"=>array(10,20,30), "sortname"=>"EmployeeID" )); // Set the url from where we get the data $grid->setSubGridGrid('details.php'); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/custom_details/grid.php
PHP
gpl2
1,012
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); $rowid = jqGridUtils::Strip($_REQUEST["rowid"]); if(!$rowid) die("Missed parameters"); // Get details $SQL = "SELECT * FROM employees WHERE EmployeeID=".(int)$rowid; $qres = jqGridDB::query($conn, $SQL); $result = jqGridDB::fetch_assoc($qres,$conn); $s = "<table><tbody>"; $s .= "<tr><td><b>First Name</b></td><td>".$result["FirstName"]."</td>"; $s .= "<td rowspan='9' valign='top'><img src='images/".trim($result["EmployeeID"]).".jpg'/></td></tr>"; $s .= "<tr><td><b>Last Name</b></td><td>".$result["LastName"]."</td></tr>"; $s .= "<tr><td><b>Title</b></td><td>".$result["Title"]."</td></tr>"; $s .= "<tr><td><b>Title of Courtesy</b></td><td>".$result["TitleOfCourtesy"]."</td></tr>"; $s .= "<tr><td><b>Birth Date</b></td><td>".$result["BirthDate"]."</td></tr>"; $s .= "<tr><td><b>Hire Date</b></td><td>".$result["HireDate"]."</td></tr>"; $s .= "<tr><td><b>Address</b></td><td>".$result["Address"]."</td></tr>"; $s .= "<tr><td><b>City</b></td><td>".$result["City"]."</td></tr>"; $s .= "<tr><td><b>Postal Code</b></td><td>".$result["PostalCode"]."</td></tr>"; $s .= "</tbody></table>"; echo $s; jqGridDB::closeCursor($qres); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/hierarchy/custom_details/details.php
PHP
gpl2
1,457
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/alternate_row_background/default.php
PHP
gpl2
1,341
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT OrderID, OrderDate, CustomerID, Freight, ShipName FROM orders'; // set the ouput format to json $grid->dataType = 'json'; // Let the grid create the model from SQL query $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set alternate background using altRows property $grid->setGridOptions(array( "rowNum"=>10, "sortname"=>"OrderID", "altRows"=>true, "multiselect"=>true, "rowList"=>array(10,20,50), )); // Change some property of the field(s) $grid->setColProperty("OrderID", array("label"=>"ID", "width"=>60)); $grid->setColProperty("OrderDate", array( "formatter"=>"date", "formatoptions"=>array("srcformat"=>"Y-m-d H:i:s","newformat"=>"m/d/Y") ) ); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/alternate_row_background/grid.php
PHP
gpl2
1,265
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/toolbar/default.php
PHP
gpl2
1,341
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT OrderID, OrderDate, CustomerID, Freight, ShipName FROM orders'; // set the ouput format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set rownumbering to true and expand a little the width $grid->setGridOptions(array( "rownumbers"=>true, "rownumWidth"=>35, "rowNum"=>10, "sortname"=>"OrderID", "toppager"=>true, "rowList"=>array(10,20,50), )); // Change some property of the field(s) $grid->setColProperty("OrderID", array("label"=>"ID", "width"=>60)); $grid->setColProperty("OrderDate", array( "formatter"=>"date", "formatoptions"=>array("srcformat"=>"Y-m-d H:i:s","newformat"=>"m/d/Y") ) ); $grid->navigator = true; // Clone the nav button on top pager $grid->setNavOptions('navigator', array("cloneToTop"=>true, "add"=>false,"edit"=>false, "del"=>false, "excel"=>false)); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/toolbar/grid.php
PHP
gpl2
1,459
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/caption/default.php
PHP
gpl2
1,341
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT OrderID, OrderDate, CustomerID, Freight, ShipName FROM orders'; // set the ouput format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set grid caption using the option caption $grid->setGridOptions(array( "caption"=>"This is custom Caption", "rowNum"=>10, "sortname"=>"OrderID", "hoverrows"=>true, "rowList"=>array(10,20,50), )); // Change some property of the field(s) $grid->setColProperty("OrderID", array("label"=>"ID", "width"=>60)); $grid->setColProperty("OrderDate", array( "formatter"=>"date", "formatoptions"=>array("srcformat"=>"Y-m-d H:i:s","newformat"=>"m/d/Y") ) ); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/caption/grid.php
PHP
gpl2
1,262
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/rownumbers/default.php
PHP
gpl2
1,341
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT OrderID, OrderDate, CustomerID, Freight, ShipName FROM orders'; // set the ouput format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set rownumbering to true and expand a little the width $grid->setGridOptions(array( "rownumbers"=>true, "rownumWidth"=>35, "rowNum"=>10, "sortname"=>"OrderID", "rowList"=>array(10,20,50), )); // Change some property of the field(s) $grid->setColProperty("OrderID", array("label"=>"ID", "width"=>60)); $grid->setColProperty("OrderDate", array( "formatter"=>"date", "formatoptions"=>array("srcformat"=>"Y-m-d H:i:s","newformat"=>"m/d/Y") ) ); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/rownumbers/grid.php
PHP
gpl2
1,258
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jqGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" /> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 75%; } </style> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script type="text/javascript"> $.jgrid.no_legacy_api = true; $.jgrid.useJSON = true; </script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("grid.php");?> </div> <br/> <?php tabs(array("grid.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/highlight_on_hover/default.php
PHP
gpl2
1,341
<?php require_once '../../../jq-config.php'; // include the jqGrid Class require_once ABSPATH."php/jqGrid.php"; // include the driver class require_once ABSPATH."php/jqGridPdo.php"; // Connection to the server $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 $conn->query("SET NAMES utf8"); // Create the jqGrid instance $grid = new jqGridRender($conn); // Write the SQL Query $grid->SelectCommand = 'SELECT OrderID, OrderDate, CustomerID, Freight, ShipName FROM orders'; // set the ouput format to json $grid->dataType = 'json'; // Let the grid create the model $grid->setColModel(); // Set the url from where we obtain the data $grid->setUrl('grid.php'); // Set hovering of rows using the hoverrows option $grid->setGridOptions(array( "hoverrows"=>true, "rowNum"=>10, "sortname"=>"OrderID", "rowList"=>array(10,20,50), )); // Change some property of the field(s) $grid->setColProperty("OrderID", array("label"=>"ID", "width"=>60)); $grid->setColProperty("OrderDate", array( "formatter"=>"date", "formatoptions"=>array("srcformat"=>"Y-m-d H:i:s","newformat"=>"m/d/Y") ) ); // Enjoy $grid->renderGrid('#grid','#pager',true, null, null, true,true); $conn = null; ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/appearance/highlight_on_hover/grid.php
PHP
gpl2
1,227
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"column" )) ->setTitle(array('text'=>'Stacked column chart')) ->setxAxis(array( "categories"=>array('Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas') )) ->setyAxis(array( "min"=>0, "title"=>array("text"=>"Total fruit consumption") )) ->setLegend(array( "align"=> 'right', "verticalAlign"=> 'top', "x"=> -100, "y"=> 20, "floating"=> true, "shadow"=>false, "borderWidth"=> 1, "backgroundColor"=> '#CCC', "backgroundColor" =>'#FFFFFF' )) ->setTooltip(array( "formatter"=>"function(){return '<b>'+ this.x +'</b><br/>'+this.series.name +': '+ this.y +'<br/>'+'Total: '+ this.point.stackTotal;}" )) ->setPlotOptions(array( "column"=>array("stacking"=>"normal") )) ->addSeries('Jhon', array(5, 3, 4, 7, 2)) ->addSeries('Jane', array(2, 2, 3, 2, 1)) ->addSeries('Joe', array( 3, 4, 4, 2, 5)); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/columnstacked/chart.php
PHP
gpl2
1,056
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/columnstacked/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"column" )) ->setTitle(array('text'=>'Stacked column chart')) ->setxAxis(array( "categories"=>array('Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas') )) ->setyAxis(array( "min"=>0, "title"=>array("text"=>"Total fruit consumption") )) ->setTooltip(array( "formatter"=>"function(){return this.series.name +': '+ this.y +' ('+ Math.round(this.percentage) +'%)';}" )) ->setPlotOptions(array( "column"=>array("stacking"=>"percent") )) ->addSeries('Jhon', array(5, 3, 4, 7, 2)) ->addSeries('Jane', array(2, 2, 3, 2, 1)) ->addSeries('Joe', array( 3, 4, 4, 2, 5)); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/columnpercent/chart.php
PHP
gpl2
818
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/columnpercent/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"area" )) ->setTitle(array('text'=>'Historic and Estimated Worldwide Population Growth by Region')) ->setSubtitle(array("text"=>'Source: Wikipedia.org')) ->setxAxis(array( "categories"=> array('1750', '1800', '1850', '1900', '1950', '1999', '2050'), "tickmarkPlacement"=> 'on', "title"=>array("enabled"=>false) )) ->setyAxis(array( "title"=>array("text"=> 'Percent') )) ->setTooltip(array( "formatter"=>"function(){return this.x +': '+ Highcharts.numberFormat(this.percentage, 1) +'% ('+Highcharts.numberFormat(this.y, 0, ',') +' millions)';}" )) ->setPlotOptions(array( "area"=>array( "stacking"=> 'percent', "lineColor"=> '#ffffff', "lineWidth"=> 1, "marker"=>array( "lineWidth"=> 1, "lineColor"=>"#ffffff" ) ) )) ->addSeries('Asia', array(502, 635, 809, 947, 1402, 3634, 5268)) ->addSeries('Africa', array(106, 107, 111, 133, 221, 767, 1766)) ->addSeries('Europe', array(163, 203, 276, 408, 547, 729, 628)) ->addSeries('America', array(18, 31, 54, 156, 339, 818, 1201)) ->addSeries('Oceania', array(2, 2, 2, 6, 13, 30, 46)); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areapercent/chart.php
PHP
gpl2
1,306
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areapercent/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; //require_once ABSPATH."php/jqGridPdo.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); //$conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // get the theme $theme = 'dark-blue'; //isset ($_GET['theme']) ? $_GET['theme'] : ""; $dateformat = 'l, M j, Y'; //Let get first the data from csv $newisits = array(); $allvisits = array(); $handle = fopen("analytics.csv", "r"); if($handle) { while (($data = fgetcsv($handle, 3200, ",")) !== FALSE) { //$date = DateTime::createFromFormat($dateformat, $data[0]); $d = strtotime($data[0])*1000; $allvisits[] = array($d, (int)str_replace(",","",$data[1])); $newisits[] = array($d, (int)str_replace(",","",$data[2])); } } fclose($handle); // create the chart instance $chart = new jqChart(); $chart->setChartOptions(array("defaultSeriesType"=>"line")) ->setTitle(array('text'=>'Daily visits at www.example.com')) ->setSubtitle(array("text"=>"Source: Google Analytics")) // set xAxis to be datetime ->setxAxis(array( "type"=>"datetime", "tickInterval"=> 7 * 24 * 3600 * 1000, "tickWidth"=> 0, "gridLineWidth"=>1, "labels"=>array( "align"=> 'left', "x"=> 3, "y"=>-3 ) )) // lef and right Y axis ->setyAxis(array( // left y axis array( "title"=>array("text"=>null), "labels"=>array( "align"=>"left", "x"=>3, "y"=>16, "formatter"=>"js:function(){return Highcharts.numberFormat(this.value, 0);}" ), "showFirstLabel"=>false ), // right y axis array( "linkedTo"=>0, "gridLineWidth"=>0, "opposite"=>true, "title"=>array("text"=>null), "labels"=>array( "align"=>"right", "x"=>-3, "y"=>16, "formatter"=>"js:function(){return Highcharts.numberFormat(this.value, 0);}" ), "showFirstLabel"=>false ), )) ->setTooltip(array( "shared"=>true, "crosshairs"=>true )) ->setLegend(array( "align"=>"left", "verticalAlign"=>'top', "y"=>50, "borderWidth"=>0, "floating"=>true )) // Here wi attach a click function when cklic on series point ->setPlotOptions(array( "series"=>array( "cursor"=>"pointer", "point"=>array( "events"=>array( "click"=>"js:function(event){ // this refers to entry object again with data jQuery.jgrid.info_dialog(this.series.name, Highcharts.dateFormat('%A, %b %e, %Y', this.x) +':<br/> '+ this.y +' visits', 'Close',{buttonalign:'right',top:this.pageY, left:this.pageX, modal:false, overlay:0}); }" ) ), "marker"=>array("lineWidth"=>1) ) )) // fil the data ->addSeries('All Visits',$allvisits) ->setSeriesOption('All Visits', array( "lineWidth"=>4, "marker"=>array( "radius"=>4 ) )) ->setTheme($theme) ->addSeries('New Visitors', $newisits); echo $chart->renderChart('',true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/dyntheme/chart.php
PHP
gpl2
2,808
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script type="text/javascript"> jQuery.jgrid = {}; </script> <script src="../../../js/grid.common.js" type="text/javascript"></script> <script src="../../../js/jqModal.js" type="text/javascript"></script> <script src="../../../js/jqDnR.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/dyntheme/default.php
PHP
gpl2
1,360
/** * Dark blue theme for Highcharts JS * @author Torstein Hønsi */ Highcharts.theme = { colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], chart: { backgroundColor: { linearGradient: [0, 0, 250, 500], stops: [ [0, 'rgb(48, 48, 96)'], [1, 'rgb(0, 0, 0)'] ] }, borderColor: '#000000', borderWidth: 2, className: 'dark-container', plotBackgroundColor: 'rgba(255, 255, 255, .1)', plotBorderColor: '#CCCCCC', plotBorderWidth: 1 }, title: { style: { color: '#C0C0C0', font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' } }, subtitle: { style: { color: '#666666', font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' } }, xAxis: { gridLineColor: '#333333', gridLineWidth: 1, labels: { style: { color: '#A0A0A0' } }, lineColor: '#A0A0A0', tickColor: '#A0A0A0', title: { style: { color: '#CCC', fontWeight: 'bold', fontSize: '12px', fontFamily: 'Trebuchet MS, Verdana, sans-serif' } } }, yAxis: { gridLineColor: '#333333', labels: { style: { color: '#A0A0A0' } }, lineColor: '#A0A0A0', minorTickInterval: null, tickColor: '#A0A0A0', tickWidth: 1, title: { style: { color: '#CCC', fontWeight: 'bold', fontSize: '12px', fontFamily: 'Trebuchet MS, Verdana, sans-serif' } } }, legend: { itemStyle: { font: '9pt Trebuchet MS, Verdana, sans-serif', color: '#A0A0A0' } }, tooltip: { backgroundColor: 'rgba(0, 0, 0, 0.75)', style: { color: '#F0F0F0' } }, toolbar: { itemStyle: { color: 'silver' } }, plotOptions: { line: { dataLabels: { color: '#CCC' }, marker: { lineColor: '#333' } }, spline: { marker: { lineColor: '#333' } }, scatter: { marker: { lineColor: '#333' } } }, legend: { itemStyle: { color: '#CCC' }, itemHoverStyle: { color: '#FFF' }, itemHiddenStyle: { color: '#444' } }, credits: { style: { color: '#666' } }, labels: { style: { color: '#CCC' } }, navigation: { buttonOptions: { backgroundColor: { linearGradient: [0, 0, 0, 20], stops: [ [0.4, '#606060'], [0.6, '#333333'] ] }, borderColor: '#000000', symbolStroke: '#C0C0C0', hoverSymbolStroke: '#FFFFFF' } }, exporting: { buttons: { exportButton: { symbolFill: '#55BE3B' }, printButton: { symbolFill: '#7797BE' } } }, // special colors for some of the legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', legendBackgroundColorSolid: 'rgb(35, 35, 70)', dataLabelsColor: '#444', textColor: '#C0C0C0', maskColor: 'rgba(255,255,255,0.3)' }; // Apply the theme var highchartsOptions = Highcharts.setOptions(Highcharts.theme);
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/dyntheme/dark-blue.js
JavaScript
gpl2
2,842
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); $chart = new jqChart(); $chart->setTitle(array('text'=>'Browser market shares at a specific website, 2010')) ->setTooltip(array("formatter"=>"function(){return '<b>'+ this.point.name +'</b>: '+ this.y +' %';}")) ->setPlotOptions(array( "pie"=> array( "allowPointSelect"=> true, "cursor"=> 'pointer', "dataLabels"=>array( "enabled"=>true, "color"=>'#000000', "connectorColor"=>'#000000', "formatter"=>"js:function(){return '<b>'+ this.point.name +'</b>: '+ this.y +' %'}" ) ) )) ->addSeries('Browser share', array( array('Firefox', 45.0), array('IE', 26.8), array( "name"=> 'Chrome', "y"=> 12.8, "sliced"=> true, "selected"=> true ), array('Safari', 8.5), array('Opera', 6.2), array('Others', 0.7) )) ->setSeriesOption('Browser share', 'type','pie'); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/pie/chart.php
PHP
gpl2
1,079
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/pie/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; //require_once ABSPATH."php/jqGridPdo.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); $chart = new jqChart(); $chart->setChartOptions(array("zoomType"=>"xy")) ->setTitle(array('text'=>'Average Monthly Temperature and Rainfall in Tokyo')) ->setSubtitle(array('text'=>'Source: WorldClimate.com')) ->setxAxis(array( "categories"=>array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec') )) ->setyAxis(array( array( "labels"=>array( "formatter"=>"js:function(){return this.value +'C';}", "style"=>array("color"=>'#89A54E') ), "title"=>array( 'text'=> 'Temperature', "style"=>array("color"=>'#89A54E') ) ), array( "title"=>array( 'text'=> 'Rainfall', "style"=>array("color"=>'#4572A7') ), "labels"=>array( "formatter"=>"js:function(){return this.value +'mm';}", "style"=>array("color"=>'#4572A7') ), "opposite"=> true ) )) ->setTooltip(array("formatter"=>"function(){return this.x +': '+ this.y + (this.series.name == 'Rainfall' ? ' mm' : 'C')}")) ->setLegend(array( "layout"=> 'vertical', "align"=> 'left', "x"=> 120, "y"=> 100, "verticalAlign"=> 'top', "floating"=> true, "backgroundColor"=> '#FFFFFF' )) ->addSeries('Rainfall', array(49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4)) ->setSeriesOption('Rainfall',array('type'=>'column', "color"=>'#4572A7',"yAxis"=>1)) ->addSeries('Temperature', array(7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6)) ->setSeriesOption('Temperature',array('type'=>'spline', "color"=>'#89A54E')); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/combo-dual-axes/chart.php
PHP
gpl2
1,733
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Highcharts Example</title> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/combo-dual-axes/default.php
PHP
gpl2
1,116
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $categories = array( '0-4', '5-9', '10-14', '15-19', '20-24', '25-29', '30-34', '35-39', '40-44', '45-49', '50-54', '55-59', '60-64', '65-69', '70-74', '75-79', '80-84', '85-89', '90-94', '95-99', '100 +' ); $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"bar" )) ->setTitle(array('text'=>'Population pyramid for Germany, midyear 2010')) ->setSubtitle("text", "Source: www.census.gov") ->setxAxis(array( array("categories"=>$categories,"reversed"=> false), array("opposite"=>true, "reversed"=>false, "categories"=>$categories, "linkedTo"=> 0) )) ->setyAxis(array( "min"=>-4000000, "max"=>4000000, "title"=>array("text"=>null), "labels"=>array("formatter"=>"js:function(){return (Math.abs(this.value) / 1000000) + 'M';}") )) ->setLegend(array( "backgroundColor"=>'#FFFFFF', "reversed"=> true )) ->setTooltip(array( "formatter"=>"function(){return '<b>'+ this.series.name +', age '+ this.point.category +'</b><br/>'+'Population: '+ Highcharts.numberFormat(Math.abs(this.point.y), 0);}" )) ->setPlotOptions(array( "series"=> array( "stacking"=> 'normal' ) )) ->addSeries('Male', array( -1746181, -1884428, -2089758, -2222362, -2537431, -2507081, -2443179, -2664537, -3556505, -3680231, -3143062, -2721122, -2229181, -2227768, -2176300, -1329968, -836804, -354784, -90569, -28367, -3878)) ->addSeries('Female', array( 1656154, 1787564, 1981671, 2108575, 2403438, 2366003, 2301402, 2519874, 3360596, 3493473, 3050775, 2759560, 2304444, 2426504, 2568938, 1785638, 1447162, 1005011, 330870, 130632, 21208)); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/barnegative/chart.php
PHP
gpl2
1,728
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/barnegative/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"area" )) ->setTitle(array('text'=>'Historic and Estimated Worldwide Population Growth by Region')) ->setSubtitle(array("text"=>'Source: Wikipedia.org')) ->setxAxis(array( "categories"=> array('1750', '1800', '1850', '1900', '1950', '1999', '2050'), "tickmarkPlacement"=> 'on', "title"=>array("enabled"=>false) )) ->setyAxis(array( "title"=>array("text"=> 'Billions'), "labels"=>array("formatter"=>"js:function(){return this.value / 1000;}") )) ->setTooltip(array( "formatter"=>"function(){return this.x +': '+ Highcharts.numberFormat(this.y, 0, ',') +' millions';}" )) ->setPlotOptions(array( "area"=>array( "stacking"=> 'normal', "lineColor"=> '#666666', "lineWidth"=> 1, "marker"=>array( "lineWidth"=> 1, "lineColor"=>"#666666" ) ) )) ->addSeries('Asia', array(502, 635, 809, 947, 1402, 3634, 5268)) ->addSeries('Africa', array(106, 107, 111, 133, 221, 767, 1766)) ->addSeries('Europe', array(163, 203, 276, 408, 547, 729, 628)) ->addSeries('America', array(18, 31, 54, 156, 339, 818, 1201)) ->addSeries('Oceania', array(2, 2, 2, 6, 13, 30, 46)); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areastacked/chart.php
PHP
gpl2
1,329
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areastacked/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqGridPdo.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 jqGridDB::query($conn,"SET NAMES utf8"); $chart = new jqChart( $conn ); $chart->setChartOptions(array("defaultSeriesType"=>"line")) ->setTitle(array('text'=>'Freight by Month 1997',"x"=>-20)) ->setyAxis(array("title"=>array("text"=>"Freight"))) ->setTooltip(array("formatter"=>"function(){return '<b>'+ this.series.name +'</b><br/>'+this.x +': '+ this.y;}")) ->addSeries('Blauer See Delikatessen', "SELECT MONTH(OrderDate), SUM(Freight) FROM orders WHERE CustomerID =? AND OrderDate BETWEEN '1997-01-01' AND '1997-12-31' GROUP BY MONTH(OrderDate)",array('BERGS')) ->addSeries('White Clover Markets', "SELECT MONTH(OrderDate), SUM(Freight) FROM orders WHERE CustomerID =? AND OrderDate BETWEEN '1997-01-01' AND '1997-12-31' GROUP BY MONTH(OrderDate)",array('WHITC')); echo $chart->renderChart('',true,700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/sql/chart.php
PHP
gpl2
1,095
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/sql/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"column", "margin"=>array( 50, 50, 100, 80) )) ->setTitle(array('text'=>"World's largest cities per 2008")) ->setxAxis(array( "categories"=>array( 'Tokyo', 'Jakarta', 'New York', 'Seoul', 'Manila', 'Mumbai', 'Sao Paulo', 'Mexico City', 'Dehli', 'Osaka', 'Cairo', 'Kolkata', 'Los Angeles', 'Shanghai', 'Moscow', 'Beijing', 'Buenos Aires', 'Guangzhou', 'Shenzhen', 'Istanbul' ), "labels"=>array( "rotation"=> -45, "align"=>"right", "style"=>array("font"=>"normal 13px Verdana, sans-serif") ) )) ->setyAxis(array( "min"=>0, "title"=>array("text"=>"Population (millions)") )) ->setLegend(array( "enabled"=> false, )) ->setTooltip(array( "formatter"=>"function(){return '<b>'+ this.x +'</b><br/>'+'Population in 2008: '+ Highcharts.numberFormat(this.y, 1)+' millions';}" )) ->addSeries('Population', array( 34.4, 21.8, 20.1, 20, 19.6, 19.5, 19.1, 18.4, 18, 17.3, 16.8, 15, 14.7, 14.5, 13.3, 12.8, 12.4, 11.8, 11.7, 11.2 )) ->setSeriesOption('Population',array( "dataLabels"=>array( "enabled"=> true, "rotation"=> -90, "color"=>'#FFFFFF', "align"=>'right', "x"=> -3, "y"=> 10, "formatter"=>"js:function() {return this.y;}", "style"=> array( "font"=> 'normal 13px Verdana, sans-serif' ) ) )); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/columnrotate/chart.php
PHP
gpl2
1,721
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/columnrotate/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array("defaultSeriesType"=>"line")) ->setTitle(array('text'=>'Monthly Average Temperature')) ->setSubtitle(array("text"=>"Source: WorldClimate.com")) ->setxAxis(array("categories"=>array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'))) ->setyAxis(array("title"=>array("text"=>"Temperature (°C)"))) ->setPlotOptions(array("line"=>array("dataLabels"=>array("enabled"=>true),"enableMouseTracking"=> false))) ->addSeries('Tokyo', array(7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6)) ->addSeries('London', array(3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8)); echo $chart->renderChart('', true, 700, 350'',true,'1000'); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/labels/chart.php
PHP
gpl2
873
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/labels/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"area" )) ->setTitle(array('text'=>'US and USSR nuclear stockpiles')) ->setSubtitle(array("text"=>'Source: <a href="http://thebulletin.metapress.com/content/c4120650912x74k7/fulltext.pdf">thebulletin.metapress.com</a>')) ->setxAxis(array( "labels"=>array("formatter"=>"js:function(){return this.value;}") )) ->setyAxis(array( "title"=>array("text"=>'Nuclear weapon states'), "labels"=>array("formatter"=>"js:function(){return this.value/1000 +'k';}") )) ->setTooltip(array( "formatter"=>"function(){return this.series.name +' produced <b>'+Highcharts.numberFormat(this.y, 0) +'</b><br/>warheads in '+ this.x;}" )) ->setPlotOptions(array( "area"=>array( "pointStart"=> 1940, "marker"=>array( "enabled"=> false, "symbol"=>"circle", "radius"=>2, "states"=>array("hover"=> array ("enabled"=>true)) ) ) )) ->addSeries('USA', array( null, null, null, null, null, 6 , 11, 32, 110, 235, 369, 640, 1005, 1436, 2063, 3057, 4618, 6444, 9822, 15468, 20434, 24126, 27387, 29459, 31056, 31982, 32040, 31233, 29224, 27342, 26662, 26956, 27912, 28999, 28965, 27826, 25579, 25722, 24826, 24605, 24304, 23464, 23708, 24099, 24357, 24237, 24401, 24344, 23586, 22380, 21004, 17287, 14747, 13076, 12555, 12144, 11009, 10950, 10871, 10824, 10577, 10527, 10475, 10421, 10358, 10295, 10104 )) ->addSeries('USSR/Russia', array( null, null, null, null, null, null, null , null , null ,null, 5, 25, 50, 120, 150, 200, 426, 660, 869, 1060, 1605, 2471, 3322, 4238, 5221, 6129, 7089, 8339, 9399, 10538, 11643, 13092, 14478, 15915, 17385, 19055, 21205, 23044, 25393, 27935, 30062, 32049, 33952, 35804, 37431, 39197, 45000, 43000, 41000, 39000, 37000, 35000, 33000, 31000, 29000, 27000, 25000, 24000, 23000, 22000, 21000, 20000, 19000, 18000, 18000, 17000, 16000)); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areabasic/chart.php
PHP
gpl2
2,045
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areabasic/default.php
PHP
gpl2
966
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"area", "spacingBottom"=>30 )) ->setTitle(array('text'=>'Fruit consumption *')) ->setSubtitle(array( "text"=>'* Jane\'s banana consumption is unknown', "floating"=> true, "align"=>"right", "verticalAlign"=> 'bottom', "y"=>15 )) ->setLegend(array( "layout"=> 'vertical', "align"=> 'left', "verticalAlign"=> 'top', "x"=> 150, "y"=> 100, "floating"=> true, "borderWidth"=> 1, "backgroundColor"=> '#FFFFFF' )) ->setxAxis(array( "categories"=> array('Apples', 'Pears', 'Oranges', 'Bananas', 'Grapes', 'Plums', 'Strawberries', 'Raspberries') )) ->setyAxis(array( "title"=>array("text"=> 'Y-Axis'), "labels"=>array("formatter"=>"js:function(){return this.value;}") )) ->setTooltip(array( "formatter"=>"function(){return '<b>'+ this.series.name +'</b><br/>'+this.x +': '+ this.y;}" )) ->setPlotOptions(array( "area"=>array( "fillOpacity"=> 0.5 ) )) ->addSeries('Jhon', array(0, 1, 4, 4, 5, 2, 3, 7)) ->addSeries('Jane', array(1, 0, 3, null, 3, 1, 2, 1)); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areamissing/chart.php
PHP
gpl2
1,226
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areamissing/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"area", "inverted"=>true )) ->setTitle(array('text'=>'Average fruit consumption during one week')) ->setSubtitle(array( "style"=>array( "position"=> 'absolute', "right"=> '0px', "bottom"=> '10px' ) )) ->setLegend(array( "layout"=> 'vertical', "align"=> 'right', "verticalAlign"=> 'top', "x"=> -100, "y"=> 100, "floating"=> true, "borderWidth"=> 1, "backgroundColor"=> '#FFFFFF' )) ->setxAxis(array( "categories"=> array('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday') )) ->setyAxis(array( "title"=>array("text"=> 'Number of units'), "labels"=>array("formatter"=>"js:function(){return this.value;}") )) ->setTooltip(array( "formatter"=>"function(){return this.x +': '+ this.y;}" )) ->setPlotOptions(array( "area"=>array( "fillOpacity"=> 0.5 ) )) ->addSeries('Jhon', array(3, 4, 3, 5, 4, 10, 12)) ->addSeries('Jane', array(1, 3, 4, 3, 3, 5, 4)); echo $chart->renderChart('', true, 680, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areainvert/chart.php
PHP
gpl2
1,155
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/areainvert/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; //require_once ABSPATH."php/jqGridPdo.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); //$conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); // Tell the db that we use utf-8 //jqGridDB::query($conn,"SET NAMES utf8"); $chart = new jqChart(); $chart->setChartOptions(array( "defaultSeriesType"=>"spline", "inverted"=> true, "width"=> 500, "style"=>array( "margin"=>"0 auto" ) )) ->setTitle(array('text'=>'Atmosphere Temperature by Altitude')) ->setSubtitle(array("text"=>"According to the Standard Atmosphere Model")) ->setxAxis(array( "reversed"=> false, "title"=>array( "enabled"=> true, "text"=> 'Altitude' ), "labels" =>array( "formatter"=> "js:function() { return this.value +'km'; }" ), "maxPadding"=> 0.05, "showLastLabel"=> true )) ->setyAxis(array( "title"=>array("text"=>"Temperature C"), "labels"=>array( "formatter"=> "js:function() { return this.value + 'C'; }" ), "lineWidth"=> 2 )) ->setTooltip(array("formatter"=>"function(){return ''+ this.x +' km: '+ this.y +'C';}")) ->setPlotOptions(array( "spline"=>array("marker"=>array("enabled"=>true)) )) ->addSeries('Temperature', array( array(0, 15), array(10, -50), array(20, -56.5), array(30, -46.5), array(40, -22.1), array(50, -2.5), array(60, -27.7), array(70, -55.7), array(80, -76.5) )); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/splineinvert/chart.php
PHP
gpl2
1,609
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/splineinvert/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; $chart = new jqChart(); $chart->setChartOptions(array("reflow"=>true,"zoomType"=>"x", "spacingRight"=>20)) ->setTitle(array('text'=>'USD to EUR exchange rate from 2006 through 2008')) ->setSubtitle(array("text"=>"Click and drag in the plot area to zoom in")) ->setxAxis(array( "type"=>"datetime", "maxZoom"=> 14 * 24 * 3600000, // fourteen days "title"=>array("text"=>null) )) ->setyAxis(array( "title"=>array("text"=>"Exchange Rate"), "min"=>0.6, "startOnTick"=> false, "showFirstLabel"=> false )) ->setTooltip("shared",true) ->setLegend("enabled",false) ->setPlotOptions(array( "area"=>array( //"fillColor" =>array( // "linearGradient"=> array(0, 0, 0, 300), // "stops"=>array(array(0, 'Highcharts.theme.colors[0]'),array(1, 'rgba(2,0,0,0)')) //), "lineWidth"=>1, "marker"=>array( "enabled"=> false, "states"=>array("hover"=>array("enabled"=>true,"radius"=>5)) ), "shadow"=> false, "states"=>array("hover"=>array("lineWidth"=>1)) ) )) ->addSeries('USD to EUR', array( 0.8446, 0.8445, 0.8444, 0.8451, 0.8418, 0.8264, 0.8258, 0.8232, 0.8233, 0.8258, 0.8283, 0.8278, 0.8256, 0.8292, 0.8239, 0.8239, 0.8245, 0.8265, 0.8261, 0.8269, 0.8273, 0.8244, 0.8244, 0.8172, 0.8139, 0.8146, 0.8164, 0.82, 0.8269, 0.8269, 0.8269, 0.8258, 0.8247, 0.8286, 0.8289, 0.8316, 0.832, 0.8333, 0.8352, 0.8357, 0.8355, 0.8354, 0.8403, 0.8403, 0.8406, 0.8403, 0.8396, 0.8418, 0.8409, 0.8384, 0.8386, 0.8372, 0.839, 0.84, 0.8389, 0.84, 0.8423, 0.8423, 0.8435, 0.8422, 0.838, 0.8373, 0.8316, 0.8303, 0.8303, 0.8302, 0.8369, 0.84, 0.8385, 0.84, 0.8401, 0.8402, 0.8381, 0.8351, 0.8314, 0.8273, 0.8213, 0.8207, 0.8207, 0.8215, 0.8242, 0.8273, 0.8301, 0.8346, 0.8312, 0.8312, 0.8312, 0.8306, 0.8327, 0.8282, 0.824, 0.8255, 0.8256, 0.8273, 0.8209, 0.8151, 0.8149, 0.8213, 0.8273, 0.8273, 0.8261, 0.8252, 0.824, 0.8262, 0.8258, 0.8261, 0.826, 0.8199, 0.8153, 0.8097, 0.8101, 0.8119, 0.8107, 0.8105, 0.8084, 0.8069, 0.8047, 0.8023, 0.7965, 0.7919, 0.7921, 0.7922, 0.7934, 0.7918, 0.7915, 0.787, 0.7861, 0.7861, 0.7853, 0.7867, 0.7827, 0.7834, 0.7766, 0.7751, 0.7739, 0.7767, 0.7802, 0.7788, 0.7828, 0.7816, 0.7829, 0.783, 0.7829, 0.7781, 0.7811, 0.7831, 0.7826, 0.7855, 0.7855, 0.7845, 0.7798, 0.7777, 0.7822, 0.7785, 0.7744, 0.7743, 0.7726, 0.7766, 0.7806, 0.785, 0.7907, 0.7912, 0.7913, 0.7931, 0.7952, 0.7951, 0.7928, 0.791, 0.7913, 0.7912, 0.7941, 0.7953, 0.7921, 0.7919, 0.7968, 0.7999, 0.7999, 0.7974, 0.7942, 0.796, 0.7969, 0.7862, 0.7821, 0.7821, 0.7821, 0.7811, 0.7833, 0.7849, 0.7819, 0.7809, 0.7809, 0.7827, 0.7848, 0.785, 0.7873, 0.7894, 0.7907, 0.7909, 0.7947, 0.7987, 0.799, 0.7927, 0.79, 0.7878, 0.7878, 0.7907, 0.7922, 0.7937, 0.786, 0.787, 0.7838, 0.7838, 0.7837, 0.7836, 0.7806, 0.7825, 0.7798, 0.777, 0.777, 0.7772, 0.7793, 0.7788, 0.7785, 0.7832, 0.7865, 0.7865, 0.7853, 0.7847, 0.7809, 0.778, 0.7799, 0.78, 0.7801, 0.7765, 0.7785, 0.7811, 0.782, 0.7835, 0.7845, 0.7844, 0.782, 0.7811, 0.7795, 0.7794, 0.7806, 0.7794, 0.7794, 0.7778, 0.7793, 0.7808, 0.7824, 0.787, 0.7894, 0.7893, 0.7882, 0.7871, 0.7882, 0.7871, 0.7878, 0.79, 0.7901, 0.7898, 0.7879, 0.7886, 0.7858, 0.7814, 0.7825, 0.7826, 0.7826, 0.786, 0.7878, 0.7868, 0.7883, 0.7893, 0.7892, 0.7876, 0.785, 0.787, 0.7873, 0.7901, 0.7936, 0.7939, 0.7938, 0.7956, 0.7975, 0.7978, 0.7972, 0.7995, 0.7995, 0.7994, 0.7976, 0.7977, 0.796, 0.7922, 0.7928, 0.7929, 0.7948, 0.797, 0.7953, 0.7907, 0.7872, 0.7852, 0.7852, 0.786, 0.7862, 0.7836, 0.7837, 0.784, 0.7867, 0.7867, 0.7869, 0.7837, 0.7827, 0.7825, 0.7779, 0.7791, 0.779, 0.7787, 0.78, 0.7807, 0.7803, 0.7817, 0.7799, 0.7799, 0.7795, 0.7801, 0.7765, 0.7725, 0.7683, 0.7641, 0.7639, 0.7616, 0.7608, 0.759, 0.7582, 0.7539, 0.75, 0.75, 0.7507, 0.7505, 0.7516, 0.7522, 0.7531, 0.7577, 0.7577, 0.7582, 0.755, 0.7542, 0.7576, 0.7616, 0.7648, 0.7648, 0.7641, 0.7614, 0.757, 0.7587, 0.7588, 0.762, 0.762, 0.7617, 0.7618, 0.7615, 0.7612, 0.7596, 0.758, 0.758, 0.758, 0.7547, 0.7549, 0.7613, 0.7655, 0.7693, 0.7694, 0.7688, 0.7678, 0.7708, 0.7727, 0.7749, 0.7741, 0.7741, 0.7732, 0.7727, 0.7737, 0.7724, 0.7712, 0.772, 0.7721, 0.7717, 0.7704, 0.769, 0.7711, 0.774, 0.7745, 0.7745, 0.774, 0.7716, 0.7713, 0.7678, 0.7688, 0.7718, 0.7718, 0.7728, 0.7729, 0.7698, 0.7685, 0.7681, 0.769, 0.769, 0.7698, 0.7699, 0.7651, 0.7613, 0.7616, 0.7614, 0.7614, 0.7607, 0.7602, 0.7611, 0.7622, 0.7615, 0.7598, 0.7598, 0.7592, 0.7573, 0.7566, 0.7567, 0.7591, 0.7582, 0.7585, 0.7613, 0.7631, 0.7615, 0.76, 0.7613, 0.7627, 0.7627, 0.7608, 0.7583, 0.7575, 0.7562, 0.752, 0.7512, 0.7512, 0.7517, 0.752, 0.7511, 0.748, 0.7509, 0.7531, 0.7531, 0.7527, 0.7498, 0.7493, 0.7504, 0.75, 0.7491, 0.7491, 0.7485, 0.7484, 0.7492, 0.7471, 0.7459, 0.7477, 0.7477, 0.7483, 0.7458, 0.7448, 0.743, 0.7399, 0.7395, 0.7395, 0.7378, 0.7382, 0.7362, 0.7355, 0.7348, 0.7361, 0.7361, 0.7365, 0.7362, 0.7331, 0.7339, 0.7344, 0.7327, 0.7327, 0.7336, 0.7333, 0.7359, 0.7359, 0.7372, 0.736, 0.736, 0.735, 0.7365, 0.7384, 0.7395, 0.7413, 0.7397, 0.7396, 0.7385, 0.7378, 0.7366, 0.74, 0.7411, 0.7406, 0.7405, 0.7414, 0.7431, 0.7431, 0.7438, 0.7443, 0.7443, 0.7443, 0.7434, 0.7429, 0.7442, 0.744, 0.7439, 0.7437, 0.7437, 0.7429, 0.7403, 0.7399, 0.7418, 0.7468, 0.748, 0.748, 0.749, 0.7494, 0.7522, 0.7515, 0.7502, 0.7472, 0.7472, 0.7462, 0.7455, 0.7449, 0.7467, 0.7458, 0.7427, 0.7427, 0.743, 0.7429, 0.744, 0.743, 0.7422, 0.7388, 0.7388, 0.7369, 0.7345, 0.7345, 0.7345, 0.7352, 0.7341, 0.7341, 0.734, 0.7324, 0.7272, 0.7264, 0.7255, 0.7258, 0.7258, 0.7256, 0.7257, 0.7247, 0.7243, 0.7244, 0.7235, 0.7235, 0.7235, 0.7235, 0.7262, 0.7288, 0.7301, 0.7337, 0.7337, 0.7324, 0.7297, 0.7317, 0.7315, 0.7288, 0.7263, 0.7263, 0.7242, 0.7253, 0.7264, 0.727, 0.7312, 0.7305, 0.7305, 0.7318, 0.7358, 0.7409, 0.7454, 0.7437, 0.7424, 0.7424, 0.7415, 0.7419, 0.7414, 0.7377, 0.7355, 0.7315, 0.7315, 0.732, 0.7332, 0.7346, 0.7328, 0.7323, 0.734, 0.734, 0.7336, 0.7351, 0.7346, 0.7321, 0.7294, 0.7266, 0.7266, 0.7254, 0.7242, 0.7213, 0.7197, 0.7209, 0.721, 0.721, 0.721, 0.7209, 0.7159, 0.7133, 0.7105, 0.7099, 0.7099, 0.7093, 0.7093, 0.7076, 0.707, 0.7049, 0.7012, 0.7011, 0.7019, 0.7046, 0.7063, 0.7089, 0.7077, 0.7077, 0.7077, 0.7091, 0.7118, 0.7079, 0.7053, 0.705, 0.7055, 0.7055, 0.7045, 0.7051, 0.7051, 0.7017, 0.7, 0.6995, 0.6994, 0.7014, 0.7036, 0.7021, 0.7002, 0.6967, 0.695, 0.695, 0.6939, 0.694, 0.6922, 0.6919, 0.6914, 0.6894, 0.6891, 0.6904, 0.689, 0.6834, 0.6823, 0.6807, 0.6815, 0.6815, 0.6847, 0.6859, 0.6822, 0.6827, 0.6837, 0.6823, 0.6822, 0.6822, 0.6792, 0.6746, 0.6735, 0.6731, 0.6742, 0.6744, 0.6739, 0.6731, 0.6761, 0.6761, 0.6785, 0.6818, 0.6836, 0.6823, 0.6805, 0.6793, 0.6849, 0.6833, 0.6825, 0.6825, 0.6816, 0.6799, 0.6813, 0.6809, 0.6868, 0.6933, 0.6933, 0.6945, 0.6944, 0.6946, 0.6964, 0.6965, 0.6956, 0.6956, 0.695, 0.6948, 0.6928, 0.6887, 0.6824, 0.6794, 0.6794, 0.6803, 0.6855, 0.6824, 0.6791, 0.6783, 0.6785, 0.6785, 0.6797, 0.68, 0.6803, 0.6805, 0.676, 0.677, 0.677, 0.6736, 0.6726, 0.6764, 0.6821, 0.6831, 0.6842, 0.6842, 0.6887, 0.6903, 0.6848, 0.6824, 0.6788, 0.6814, 0.6814, 0.6797, 0.6769, 0.6765, 0.6733, 0.6729, 0.6758, 0.6758, 0.675, 0.678, 0.6833, 0.6856, 0.6903, 0.6896, 0.6896, 0.6882, 0.6879, 0.6862, 0.6852, 0.6823, 0.6813, 0.6813, 0.6822, 0.6802, 0.6802, 0.6784, 0.6748, 0.6747, 0.6747, 0.6748, 0.6733, 0.665, 0.6611, 0.6583, 0.659, 0.659, 0.6581, 0.6578, 0.6574, 0.6532, 0.6502, 0.6514, 0.6514, 0.6507, 0.651, 0.6489, 0.6424, 0.6406, 0.6382, 0.6382, 0.6341, 0.6344, 0.6378, 0.6439, 0.6478, 0.6481, 0.6481, 0.6494, 0.6438, 0.6377, 0.6329, 0.6336, 0.6333, 0.6333, 0.633, 0.6371, 0.6403, 0.6396, 0.6364, 0.6356, 0.6356, 0.6368, 0.6357, 0.6354, 0.632, 0.6332, 0.6328, 0.6331, 0.6342, 0.6321, 0.6302, 0.6278, 0.6308, 0.6324, 0.6324, 0.6307, 0.6277, 0.6269, 0.6335, 0.6392, 0.64, 0.6401, 0.6396, 0.6407, 0.6423, 0.6429, 0.6472, 0.6485, 0.6486, 0.6467, 0.6444, 0.6467, 0.6509, 0.6478, 0.6461, 0.6461, 0.6468, 0.6449, 0.647, 0.6461, 0.6452, 0.6422, 0.6422, 0.6425, 0.6414, 0.6366, 0.6346, 0.635, 0.6346, 0.6346, 0.6343, 0.6346, 0.6379, 0.6416, 0.6442, 0.6431, 0.6431, 0.6435, 0.644, 0.6473, 0.6469, 0.6386, 0.6356, 0.634, 0.6346, 0.643, 0.6452, 0.6467, 0.6506, 0.6504, 0.6503, 0.6481, 0.6451, 0.645, 0.6441, 0.6414, 0.6409, 0.6409, 0.6428, 0.6431, 0.6418, 0.6371, 0.6349, 0.6333, 0.6334, 0.6338, 0.6342, 0.632, 0.6318, 0.637, 0.6368, 0.6368, 0.6383, 0.6371, 0.6371, 0.6355, 0.632, 0.6277, 0.6276, 0.6291, 0.6274, 0.6293, 0.6311, 0.631, 0.6312, 0.6312, 0.6304, 0.6294, 0.6348, 0.6378, 0.6368, 0.6368, 0.6368, 0.636, 0.637, 0.6418, 0.6411, 0.6435, 0.6427, 0.6427, 0.6419, 0.6446, 0.6468, 0.6487, 0.6594, 0.6666, 0.6666, 0.6678, 0.6712, 0.6705, 0.6718, 0.6784, 0.6811, 0.6811, 0.6794, 0.6804, 0.6781, 0.6756, 0.6735, 0.6763, 0.6762, 0.6777, 0.6815, 0.6802, 0.678, 0.6796, 0.6817, 0.6817, 0.6832, 0.6877, 0.6912, 0.6914, 0.7009, 0.7012, 0.701, 0.7005, 0.7076, 0.7087, 0.717, 0.7105, 0.7031, 0.7029, 0.7006, 0.7035, 0.7045, 0.6956, 0.6988, 0.6915, 0.6914, 0.6859, 0.6778, 0.6815, 0.6815, 0.6843, 0.6846, 0.6846, 0.6923, 0.6997, 0.7098, 0.7188, 0.7232, 0.7262, 0.7266, 0.7359, 0.7368, 0.7337, 0.7317, 0.7387, 0.7467, 0.7461, 0.7366, 0.7319, 0.7361, 0.7437, 0.7432, 0.7461, 0.7461, 0.7454, 0.7549, 0.7742, 0.7801, 0.7903, 0.7876, 0.7928, 0.7991, 0.8007, 0.7823, 0.7661, 0.785, 0.7863, 0.7862, 0.7821, 0.7858, 0.7731, 0.7779, 0.7844, 0.7866, 0.7864, 0.7788, 0.7875, 0.7971, 0.8004, 0.7857, 0.7932, 0.7938, 0.7927, 0.7918, 0.7919, 0.7989, 0.7988, 0.7949, 0.7948, 0.7882, 0.7745, 0.771, 0.775, 0.7791, 0.7882, 0.7882, 0.7899, 0.7905, 0.7889, 0.7879, 0.7855, 0.7866, 0.7865, 0.7795, 0.7758, 0.7717, 0.761, 0.7497, 0.7471, 0.7473, 0.7407, 0.7288, 0.7074, 0.6927, 0.7083, 0.7191, 0.719, 0.7153, 0.7156, 0.7158, 0.714, 0.7119, 0.7129, 0.7129, 0.7049, 0.7095 )) ->setSeriesOption('USD to EUR', array( "type"=>"area", "pointInterval"=> 24 * 3600 * 1000, "pointStart"=>"js:Date.UTC(2006, 0, 01)" )); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/timezoom/chart.php
PHP
gpl2
11,431
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/timezoom/default.php
PHP
gpl2
972
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; //require_once ABSPATH."php/jqGridPdo.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); $chart = new jqChart(); $chart->setChartOptions(array("zoomType"=>"xy")) ->setTitle(array('text'=>'Average Monthly Weather Data for Tokyo')) ->setSubtitle(array('text'=>'Source: WorldClimate.com')) ->setxAxis(array( "categories"=>array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec') )) ->setyAxis(array( array( "labels"=>array( "formatter"=>"js:function(){return this.value +'C';}", "style"=>array("color"=>'#89A54E') ), "title"=>array( 'text'=> 'Temperature', "style"=>array("color"=>'#89A54E') ), "opposite"=> true ), array( "title"=>array( 'text'=> 'Rainfall', "style"=>array("color"=>'#4572A7') ), "labels"=>array( "formatter"=>"js:function(){return this.value +'mm';}", "style"=>array("color"=>'#4572A7') ), ), array( "labels"=>array( "formatter"=>"js:function(){return this.value +'mb';}", "style"=>array("color"=>'#AA4643') ), "title"=>array( 'text'=> 'Sea-Level Pressure', "style"=>array("color"=>'#AA4643') ), "opposite"=> true ), )) ->setTooltip(array("formatter"=>"function(){ var unit = { 'Rainfall': 'mm', 'Temperature': 'C', 'Sea-Level Pressure': 'mb' }[this.series.name]; return ''+ this.x +': '+ this.y +' '+ unit; }" )) ->setLegend(array( "layout"=> 'vertical', "align"=> 'left', "x"=> 120, "y"=> 80, "verticalAlign"=> 'top', "floating"=> true, "backgroundColor"=> '#FFFFFF' )) ->addSeries('Rainfall', array(49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4)) ->setSeriesOption('Rainfall',array('type'=>'column', "color"=>'#4572A7',"yAxis"=>1)) ->addSeries('Sea-Level Pressure', array(1016, 1016, 1015.9, 1015.5, 1012.3, 1009.5, 1009.6, 1010.2, 1013.1, 1016.9, 1018.2, 1016.7)) ->setSeriesOption('Sea-Level Pressure',array( 'type'=>'spline', "color"=>'#AA4643', "yAxis"=>2, "dashStyle"=> 'shortdot', "marker"=>array("enabled" =>false) )) ->addSeries('Temperature', array(7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6)) ->setSeriesOption('Temperature',array('type'=>'spline', "color"=>'#89A54E')); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/combo-multi-axes/chart.php
PHP
gpl2
2,348
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Highcharts Example</title> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> </head> <body> <div> <?php include ("chart.php");?> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/combo-multi-axes/default.php
PHP
gpl2
1,116
<?php require_once '../../../jq-config.php'; //require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqGrid.php"; //require_once ABSPATH."php/jqGridArray.php"; //require_once ABSPATH."php/jqGridPdo.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); // get your data manually and build the array $myconn = new PDO(DB_DSN,DB_USER,DB_PASSWORD); $myconn->query("SET NAMES utf8"); $sth = $myconn->prepare("SELECT CustomerID, SUM(Freight) AS Freight FROM orders WHERE (CustomerID ='BERGS' OR CustomerID ='WHITC' ) AND OrderDate BETWEEN '1997-01-01' AND '1997-12-31' GROUP BY CustomerID"); $sth->execute(); $customers = $sth->fetchAll(PDO::FETCH_ASSOC); $chart = new jqChart( ); $chart->setChartOptions(array("defaultSeriesType"=>"bar")) ->setTitle(array('text'=>'Freight 1997')) ->setyAxis(array("title"=>array("text"=>"Freight"))) ->setJSCode("mychart = chart;") ->setTooltip(array("formatter"=>"function(){return '<b>'+ this.series.name +'</b><br/>'+this.x +': '+ this.y;}")) // set the series from the array ->addSeries($customers[0]['CustomerID'], array($customers[0]['Freight'] )) ->addSeries($customers[1]['CustomerID'], array($customers[1]['Freight'] )); echo $chart->renderChart('',true,700, 350); // building the grid $grid = new jqGridRender(null); $grid->setColModel(array(array("name"=>"CustomerID", "key"=>true), array("name"=>"Freight"))); $grid->setUrl('grid.php'); $grid->setGridOptions(array( // this is needed to tell the grid that the data is local "datatype"=>"local", // and here is the local data "data"=>$customers )); $grid->navigator = false; $grid->renderGrid('#grid','#pager',true, null, null, false,false); // Enjoy ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/sqlgridchart/chart.php
PHP
gpl2
1,693
<?php require_once '../../../tabs.php'; ?> <!DOCTYPE html> <html> <head> <style type="text"> html, body { margin: 0; /* Remove body margin/padding */ padding: 0; overflow: hidden; /* Remove scroll bars on browser window */ font-size: 62.5%; } body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; } #tags {z-index: 900} </style> <title>jqChart and jqGrid PHP Demo</title> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.jqgrid.css" /> <script src="../../../js/jquery.js" type="text/javascript"></script> <script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script> <script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script> <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script> <script type="text/javascript"> var mychart; </script> </head> <body> <?php include ("chart.php");?> <div style="margin: 0 auto; width:720px"> <table id="grid"></table> <div id="pager"></div> </div> <br/> <?php tabs(array("chart.php"));?> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/sqlgridchart/default.php
PHP
gpl2
1,391
<?php require_once '../../../jq-config.php'; require_once ABSPATH."php/jqUtils.php"; require_once ABSPATH."php/jqChart.php"; ini_set("display_errors","1"); $chart = new jqChart(); $chart->setChartOptions(array( "margin"=>array(50, 0, 0, 0), "plotBackgroundColor"=> 'none', "plotBorderWidth"=> 0, "plotShadow"=> false )) ->setTitle(array('text'=>'Browser market shares at a specific website')) ->setSubtitle(array('text'=>'Inner circle: 2008, outer circle: 2010')) ->setTooltip(array("formatter"=>"function(){return '<b>'+ this.point.name +'</b>: '+ this.y +' %';}")) ->addSeries('2008', array( array("name"=> 'Firefox', "y"=> 44.2, "color"=>'#4572A7'), array("name"=>'IE', "y"=>46.6, "color"=>'#AA4643'), array("name"=> 'Chrome', "y"=> 3.1, "color"=>'#89A54E'), array("name"=>'Safari', "y"=> 2.7, "color"=>'#80699B'), array("name"=>'Opera', "y"=> 2.3, "color"=>'#3D96AE'), array("name"=>'Mozilla',"y"=> 0.4, "color"=>'#DB843D') )) ->setSeriesOption('2008', array( 'type'=>'pie', 'size'=>'45%', 'innerSize'=> '20%', 'dataLabels'=>array("enabled"=>false) ) ) ->addSeries('2010', array( array("name"=> 'Firefox', "y"=> 45.0, "color"=>'#4572A7'), array("name"=>'IE', "y"=>26.8, "color"=>'#AA4643'), array("name"=> 'Chrome', "y"=> 12.8, "color"=>'#89A54E'), array("name"=>'Safari', "y"=> 8.5, "color"=>'#80699B'), array("name"=>'Opera', "y"=> 6.2, "color"=>'#3D96AE'), array("name"=>'Mozilla',"y"=> 0.2, "color"=>'#DB843D') )) ->setSeriesOption('2010', array( 'type'=>'pie', 'innerSize'=> '45%', 'dataLabels'=>array("enabled"=>true) ) ); echo $chart->renderChart('', true, 700, 350); ?>
zzyn125-bench
BigMelon/Backup/jslib_backup/jqSuitePHP_4_3_2_0/examples/chart/piedonut/chart.php
PHP
gpl2
1,615