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
html{background:url(../images/left-bg.gif) repeat-y;} .theme-north{ background-color:#efefef; border-bottom:#ccc 1px solid; height:35px; padding:2px 5px; min-width:800px;} .theme-north img{ float:left; margin:3px 5px 0 5px;} .theme-north h2{ float:left; margin:0; padding:8px 0 0 0; font-size:16px; font-weight:no...
1024i
1024 intelligence/admin/themes/default/css/theme.css
CSS
asf20
1,719
<?php class menu_main extends menu { public function __construct() { $this->add_menu(2, 0, '文章管理', 'content', 'listing', '', ''); $this->add_menu(3, 0, '用户管理', 'user', 'listing', '', ''); $this->add_menu(14, 0, '业务范围', 'product', 'listing', '', ''); $this->add_menu(15, 0, '技术文档', 'technic', ...
1024i
1024 intelligence/admin/menus/main.php
PHP
asf20
383
<?php class controller_captcha extends controller { public function __construct() { parent::__construct(); } public function test() { $captcha = bone::get('captcha'); $captcha->set_font_color( array(255,0,255) ); $captcha->draw(); $captcha->add_point(20); // 添加20个干扰点 $captcha->add_l...
1024i
1024 intelligence/controllers/captcha.php
PHP
asf20
1,032
<?php class controller_theme extends controller { public function __construct() { $my = bone::get_user(); if($my->guest) { $model = bone::get_model('user'); $model->rememberme(); } $menu_id = request('menu_id', 1); $main_menu = bone::get_menu('main'); $foot_menu = bone::ge...
1024i
1024 intelligence/controllers/theme.php
PHP
asf20
692
<?php class controller_technic extends controller_theme { public function __construct() { parent::__construct(); } // 列表 public function listing() { $category_id = get('category_id', 0, 'int'); $model = bone::get_model('technic'); $template = bone::get_template('technic.listing'); ...
1024i
1024 intelligence/controllers/technic.php
PHP
asf20
3,276
<?php include_once BONE_ROOT.DS.'controllers'.DS.'vars.php'; class controller_message extends controller_theme { public function __construct() { parent::__construct(); } // 留言列表 public function listing() { $template = bone::get_template('message.listing'); $template->set_title('留言'); ...
1024i
1024 intelligence/controllers/message.php
PHP
asf20
5,511
<?php define('HOURLY_RATE',50); //工时收费 // 项目步骤 define('PROJECT_STEP_CREATE',0); //客户新建项目 define('PROJECT_STEP_SET_MANAGER',10); //管理员设置项目经理 define('PROJECT_STEP_QUOTA',20); //项目经理报价 用大力的那个时间单 define('PROJECT_STEP_REJECT_QUOTA',23); //客户拒绝报价 define('PROJECT_STEP_ACCEPT_QUOTA',27); //客户接收报价 define('PROJE...
1024i
1024 intelligence/controllers/vars.php
PHP
asf20
1,729
<?php include_once BONE_ROOT.DS.'controllers'.DS.'vars.php'; class controller_project extends controller_theme { public function __construct() { $my = bone::get_user(); $task = get('task'); switch($task) { case 'guest_list': case 'guest_detail': break; default: if($my-...
1024i
1024 intelligence/controllers/project.php
PHP
asf20
4,187
<?php class controller_user extends controller_theme { public function __construct() { parent::__construct(); } // 登陆页面 public function login() { $my = bone::get_user(); if(!$my->guest) { $this->redirect( url('./') ); } $template = bone::get_template('user.login'); $templ...
1024i
1024 intelligence/controllers/user.php
PHP
asf20
9,257
<?php include_once BONE_ROOT.DS.'controllers'.DS.'vars.php'; class controller_team extends controller_theme { public function __construct() { parent::__construct(); } // 团队成员列表 public function users() { $model = bone::get_model('team'); $users = $model->get_users(0, 3); $template...
1024i
1024 intelligence/controllers/team.php
PHP
asf20
1,133
<?php class controller_product extends controller_theme { public function __construct() { parent::__construct(); } // 业务范围 public function listing() { $model = bone::get_model('product'); $products = $model->get_products(); $categories = $model->get_categories(); $template = bone:...
1024i
1024 intelligence/controllers/product.php
PHP
asf20
1,328
<?php class controller_content extends controller_theme { public function __construct() { parent::__construct(); } public function frontpage() { $id = get('id', 0, 'int'); $content = bone::get_table('content'); $content->load_frontpage(); $content->hit(); $template = bone::get_temp...
1024i
1024 intelligence/controllers/content.php
PHP
asf20
2,760
<?php include_once BONE_ROOT.DS.'controllers'.DS.'vars.php'; class controller_home extends controller_theme { public function __construct() { parent::__construct(); } public function home() { $model = bone::get_model('team'); $team_users = $model->get_users(); $template = bone::get_te...
1024i
1024 intelligence/controllers/home.php
PHP
asf20
730
<?php include_once BONE_ROOT.DS.'controllers'.DS.'vars.php'; class controller_pricing extends controller_theme { public function __construct() { parent::__construct(); } // 最近报价列表 public function create() { $model = bone::get_model('pricing'); $recent_pricings = $model->get_priced_prici...
1024i
1024 intelligence/controllers/pricing.php
PHP
asf20
4,589
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>您访问的页面发生了错误</title> </head> <body> <h1>您访问的页面发生了错误</h1> <br>...
1024i
1024 intelligence/500.html
HTML
asf20
581
<?php class table_content_category extends table { public $id = 0; public $parent_id = 0; public $name = ''; function __construct() { parent::__construct( 'bone_content_category', 'id'); } }
1024i
1024 intelligence/tables/content_category.php
PHP
asf20
200
<?php class table_menu_group extends table { public $id = 0; public $name = ''; public $class_name = ''; public $is_backend = 0; function __construct() { parent::__construct( 'bone_menu_group', 'id'); } }
1024i
1024 intelligence/tables/menu_group.php
PHP
asf20
215
<?php class table_menu extends table { public $id = 0; public $group_id = 0; public $parent_id = 0; public $name = ''; public $controller = ''; public $task = ''; public $param = ''; public $url = ''; public $ordering = 0; function __construct() { parent::__construct( 'bone_menu', 'id'); } }
1024i
1024 intelligence/tables/menu.php
PHP
asf20
308
<?php class table_technic extends table { public $id = 0; public $category_id = 0; public $title = ''; public $description = ''; public $summary = ''; public $keyword = ''; public $demo = ''; public $hits = 0; public $create_by_id = 0; public $create_time = 0; public function __construct() { parent::__c...
1024i
1024 intelligence/tables/technic.php
PHP
asf20
546
<?php class table_technic_category extends table { public $id = 0; public $name = ''; function __construct() { parent::__construct( 'bone_technic_category', 'id'); } }
1024i
1024 intelligence/tables/technic_category.php
PHP
asf20
176
<?php class table_message extends table { public $id = 0; public $user_id = 0; public $name = ''; public $email = ''; public $title = ''; public $ip = ''; public $create_time = 0; public $manager_id = 0; public $reply = ''; public $reply_time = 0; function __construct() { parent::__construct( 'bone_mes...
1024i
1024 intelligence/tables/message.php
PHP
asf20
338
<?php class table_product_category extends table { public $id = 0; public $name = ''; function __construct() { parent::__construct( 'bone_product_category', 'id'); } }
1024i
1024 intelligence/tables/product_category.php
PHP
asf20
176
<?php class table_user extends table { public $id = 0; public $username = ''; public $password = ''; public $key = ''; public $email = ''; public $phone = ''; public $mobile = ''; public $qq = ''; public $wangwang = ''; public $gtalk = ''; public $name = ''; public $avatar = '0.jpg'; public $is_admin = 0;...
1024i
1024 intelligence/tables/user.php
PHP
asf20
554
<?php class table_team extends table { public $id = 0; public $user_id = 0; public $job = ''; public $website = ''; public $description = ''; function __construct() { parent::__construct( 'bone_team', 'id'); } }
1024i
1024 intelligence/tables/team.php
PHP
asf20
225
<?php class table_product extends table { public $id = 0; public $category_id = 0; public $name = ''; public $description = ''; public $meta_keywords = ''; public $meta_description = ''; public $image = ''; public $price = 21; public $hits = 0; public $create_time = 0; function __construct() { parent::_...
1024i
1024 intelligence/tables/product.php
PHP
asf20
548
<?php class table_project_attachment extends table { public $id = 0; public $project_id = 0; public $pricing_id = 0; public $user_id = 0; public $name = ''; public $type = ''; public $size = 0; public $image = ''; public $thumbnail = ''; public $file_name = ''; public $create_time = 0; function __construc...
1024i
1024 intelligence/tables/project_attachment.php
PHP
asf20
388
<?php class table_ticket extends table { public $id = 0; public $project_id = 0; public $title = ''; public $description = ''; public $step = 0; public $create_time = 0; public $complete_time = 0; function __construct() { parent::__construct( 'bone_ticket', 'id'); } }
1024i
1024 intelligence/tables/ticket.php
PHP
asf20
282
<?php class table_project_track extends table { public $id = 0; public $project_id = 0; public $operator_id = 0; public $operation = ''; public $note = ''; public $time = 0; function __construct() { parent::__construct( 'bone_project_track', 'id'); } }
1024i
1024 intelligence/tables/project_track.php
PHP
asf20
265
<?php class table_content extends table { public $id = 0; public $category_id = 0; public $title = ''; public $meta_keywords = ''; public $meta_description = ''; public $summary = ''; public $body = ''; public $frontpage = 0; public $created_time = 0; public $created_by_id = 0; public $created_by_name = '';...
1024i
1024 intelligence/tables/content.php
PHP
asf20
786
<?php class theme extends template { public function __construct() { $this->north = true; //顶部 $this->west = true; //左部 $this->center = true; //中部 $this->east = false; //无右部 $this->south = true; //底部 } // head 头, 用于子类添加js和css protected function head(){} public function displ...
1024i
1024 intelligence/themes/default/theme.php
PHP
asf20
11,375
html{background-color:#888;} body{color:#000; margin:0; padding:0;} .theme-body{ margin:0 auto; width:1000px;} .theme-body-bg-l{ background:url(../images/shadow-l.png) repeat-y transparent; padding-left:9px;} .theme-body-bg-r{ background:url(../images/shadow-r.png) repeat-y right transparent; padding-right:9px;...
1024i
1024 intelligence/themes/default/css/theme.css
CSS
asf20
3,282
body,td,th,div,span,input{font-size:12px;font-family:Arial, Helvetica, sans-serif;} h1,h2,h3,h4,h5,h6{margin:0; padding:0;} .clrl{clear:left;} .clrr{clear:right;} .clr{clear:both;} .hide{display:none;} .required{color:#f00;padding:0 5px;} .align-center{text-align:center;} .align-left{text-align:left;} ...
1024i
1024 intelligence/css/global.css
CSS
asf20
1,334
<?php class menu_foot extends menu { public function __construct() { $this->add_menu(9, 0, '关于我们', 'content', 'frontpage', '', ''); $this->add_menu(10, 0, '团队', 'content', 'frontpage', '', ''); $this->add_menu(11, 0, '联系我们', 'content', 'frontpage', '', ''); $this->add_menu(12, 0, '意见或建议', 'c...
1024i
1024 intelligence/menus/foot.php
PHP
asf20
392
<?php class menu_main extends menu { public function __construct() { $this->add_menu(1, 0, '首页', '', '', '', './'); $this->add_menu(4, 0, '业务范围', 'product', 'listing', '', ''); $this->add_menu(5, 0, '咨询报价', 'pricing', 'create', '', ''); $this->add_menu(6, 0, '在线开发系统', 'project', 'guest_list'...
1024i
1024 intelligence/menus/main.php
PHP
asf20
583
using System.Threading.Tasks; using System.Windows; using System.Collections.Generic; namespace KinectDepthSmoothing { public partial class MainWindow : Window { private short[] CreateFilteredDepthArray(short[] depthArray, int width, int height) { ////////////////////////...
1294-top-gun-frc-2012
trunk/Smoothing Tests/KinectDepthSmoothing/CreateFilteredDepthArray.cs
C#
lgpl
9,085
using System.Threading.Tasks; using System.Windows; using Microsoft.Research.Kinect.Nui; namespace KinectDepthSmoothing { public partial class MainWindow : Window { private short[] CreateDepthArray(ImageFrame image) { // When creating a depth array, it will have half the ...
1294-top-gun-frc-2012
trunk/Smoothing Tests/KinectDepthSmoothing/CreateDepthArray.cs
C#
lgpl
1,337
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; namespace KinectDepthSmoothing { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
1294-top-gun-frc-2012
trunk/Smoothing Tests/KinectDepthSmoothing/App.xaml.cs
C#
lgpl
322
using System.Threading.Tasks; using System.Windows; using System.Windows.Media; using System.Windows.Media.Imaging; using Microsoft.Research.Kinect.Nui; namespace KinectDepthSmoothing { public partial class MainWindow : Window { private BitmapSource CreateSmoothImageFromDepthArray(ImageFrame...
1294-top-gun-frc-2012
trunk/Smoothing Tests/KinectDepthSmoothing/CreateSmoothImageFromDepthArray.cs
C#
lgpl
2,987
using System.Threading.Tasks; using System.Windows; using System.Windows.Media; using System.Windows.Media.Imaging; using Microsoft.Research.Kinect.Nui; namespace KinectDepthSmoothing { public partial class MainWindow : Window { private BitmapSource CreateImageFromDepthImage(ImageFrame image...
1294-top-gun-frc-2012
trunk/Smoothing Tests/KinectDepthSmoothing/CreateImageFromDepthImage.cs
C#
lgpl
2,212
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; using Microsoft.Research.Kinect.Nui; namespace KinectDepthSmoothing { /// <summary> /// This program was created by Karl Sanford for submission to The Code Project in conjunction w...
1294-top-gun-frc-2012
trunk/Smoothing Tests/KinectDepthSmoothing/MainWindow.xaml.cs
C#
lgpl
7,149
using System.Windows; using System.Threading.Tasks; namespace KinectDepthSmoothing { public partial class MainWindow : Window { private short[] CreateAverageDepthArray(short[] depthArray) { // This is a method of Weighted Moving Average per pixel coordinate across several ...
1294-top-gun-frc-2012
trunk/Smoothing Tests/KinectDepthSmoothing/CreateAverageDepthArray.cs
C#
lgpl
3,110
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
1294-top-gun-frc-2012
trunk/Smoothing Tests/KinectDepthSmoothing/Properties/AssemblyInfo.cs
C#
lgpl
2,316
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="11008008"> <Property Name="varPersistentID:{4E3D75F6-6569-43BA-8905-10B813E73745}" Type="Ref">/RT CompactRIO Target/Support Code/Solenoid Edge Detect.vi/Edge Detect 1/input 1</Property> <Property Name="varPersistentID:{60970193-4A4F-415F-A5...
1294-top-gun-frc-2012
trunk/2012 Robot Project 2.lvproj
LabVIEW
lgpl
78,207
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace KinectServer2 { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Applic...
1294-top-gun-frc-2012
trunk/KinectClient/KinectClient/App.xaml.cs
C#
lgpl
346
using System; using System.Runtime.InteropServices; using System.Windows.Interop; using System.Windows.Media; /// <summary> /// InteropBitmapHelper is a helper class meant to ease the scenario of using an interopBitmap. /// InteropBitmaps are a construct in WPF which allow update of the image bits in an effi...
1294-top-gun-frc-2012
trunk/KinectClient/KinectClient/InteropBitmapHelper.cs
C#
lgpl
2,640
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows....
1294-top-gun-frc-2012
trunk/KinectClient/KinectClient/MainWindow.xaml.cs
C#
lgpl
5,459
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
1294-top-gun-frc-2012
trunk/KinectClient/KinectClient/Properties/AssemblyInfo.cs
C#
lgpl
2,308
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; namespace KinectServerWPF { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
1294-top-gun-frc-2012
trunk/KinectServer/KinectServerWPF/App.xaml.cs
C#
lgpl
317
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.IO; using System.IO.Compression; using System.Net.Sockets; using System.Text; using System.Windows; using System.Threading; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Dat...
1294-top-gun-frc-2012
trunk/KinectServer/KinectServerWPF/MainWindow.xaml.cs
C#
lgpl
6,470
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
1294-top-gun-frc-2012
trunk/KinectServer/KinectServerWPF/Properties/AssemblyInfo.cs
C#
lgpl
2,312
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; public static class PrefLoader { private static Dictionary<string, string> keys; static PrefLoader() { keys = new Dictionary<string, string>(); StreamReader sr = new Strea...
1294-top-gun-frc-2012
trunk/KinectServer/KinectServerCommon/PrefLoader.cs
C#
lgpl
852
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
1294-top-gun-frc-2012
trunk/KinectServer/KinectServerCommon/Properties/AssemblyInfo.cs
C#
lgpl
1,466
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; using Microsoft.Kinect; public static class DepthSmoother { // Fields used to adjust the filtering feature // Initial values are specified in XAM...
1294-top-gun-frc-2012
trunk/KinectServer/KinectServerCommon/DepthSmoother.cs
C#
lgpl
11,793
// LibDepthSmoother.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include <stdlib.h> #include <Windows.h> #define DllExport extern "C" __declspec(dllexport) #define MaxDepthDistance 4000 #define MinDepthDistance 800 #define MaxDepthDistanceOffset 3150 static int ...
1294-top-gun-frc-2012
trunk/KinectServer/LibDepthSmoother/LibDepthSmoother.cpp
C++
lgpl
9,537
// stdafx.cpp : source file that includes just the standard includes // LibDepthSmoother.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
1294-top-gun-frc-2012
trunk/KinectServer/LibDepthSmoother/stdafx.cpp
C++
lgpl
303
// dllmain.cpp : Defines the entry point for the DLL application. #include "stdafx.h" BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: case DLL_THREAD_ATTACH...
1294-top-gun-frc-2012
trunk/KinectServer/LibDepthSmoother/dllmain.cpp
C++
lgpl
410
#pragma once // Including SDKDDKVer.h defines the highest available Windows platform. // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. #include <SDKDDKVer.h>
1294-top-gun-frc-2012
trunk/KinectServer/LibDepthSmoother/targetver.h
C
lgpl
314
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "targetver.h" #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Fil...
1294-top-gun-frc-2012
trunk/KinectServer/LibDepthSmoother/stdafx.h
C
lgpl
419
<html> <iframe src="http://10.12.94.12/" height="100%" width="49%" align="left"></iframe> <iframe src="http://10.12.94.13/" height="100%" width="49%" align="right"></iframe> </html>
1294-top-gun-frc-2012
trunk/Cameras.html
HTML
lgpl
181
(function( $, undefined ) { //special click handling to make widget work remove after nav changes in 1.4 var href, ele = ""; $( document ).on( "click", "a", function( e ) { href = $( this ).attr( "href" ); var hash = $.mobile.path.parseUrl( href ); if( typeof href !== "undefined" && hash !== "" && href !== h...
0-512-md
trunk/_assets/js/h2widget.js
JavaScript
oos
5,394
(function( $, undefined ) { //special click handling to make widget work remove after nav changes in 1.4 var href, ele = ""; $( document ).on( "click", "a", function( e ) { href = $( this ).attr( "href" ); var hash = $.mobile.path.parseUrl( href ); if( typeof href !== "undefined" && hash !== "" && href !== h...
0-512-md
trunk/_assets/js/index.js
JavaScript
oos
53,933
$.mobile.document.on( "pagecreate", "#demo-page", function(){ var head = $( ".ui-page-active [data-role='header']" ); $.mobile.document.on( "click", "#sorter li", function() { var top, letter = $( this ).text(), divider = $( "#sortedList" ).find( "li.ui-li-divider:contains(" + letter + ")" ); if ( divider...
0-512-md
trunk/_assets/js/autodividers-linkbar.js
JavaScript
oos
2,361
function Worker(){ this.inProgress = false; this.dataRequest = { dataType: 'json', type: 'POST', async: true, url: "index.php", data: {}, success: function(data){ } }; this.typeRequest = 'POST'; this.url = "index.php?r="; } Worker.prototype.appendData = function (data){ if($.type(this.appendDataId) ...
0-512-md
trunk/_assets/js/function.js
JavaScript
oos
3,050
// View demo source code function attachPopupHandler( popup, sources ) { popup.one( "popupbeforeposition", function() { var collapsibleSet = popup.find( "[data-role='collapsibleset']" ), collapsible, pre; $.each( sources, function( idx, options ) { collapsible = $( "<div data-role='collapsible' data-col...
0-512-md
trunk/_assets/js/view-source.js
JavaScript
oos
38,535
$(function() { function Report(){ var self = this; self.inProgress = false; self.dataRequest = {}; self.typeRequest = "POST"; self.url = "index.php?r=report/"; self.request = function(callback,dataSend){ self.inProgress = true; dataSend = dataSend || self.dataRequest; if(!!dataSend.ctrl && !!dataS...
0-512-md
trunk/_assets/js/report.js
JavaScript
oos
3,493
var ORGANISATION_INDEX = '?r=organisation/manage/data'; var ORGANISATION_ORGTYPES = '?r=organisation/manage/getOrgTypes'; var ORGANISATION_SEARCH = '?r=organisation/manage/search'; var ORGANISATION_SORT = '?r=organisation/manage/sort'; var ORGANISATION_SEARCH_LETTER = '?r=organisation/manage/searchByLetter'; var ORGANI...
0-512-md
trunk/_assets/js/organisations.js
JavaScript
oos
6,267
// Turn off Ajax for local file browsing if ( location.protocol.substr(0,4) === 'file' || location.protocol.substr(0,11) === '*-extension' || location.protocol.substr(0,6) === 'widget' ) { // Start with links with only the trailing slash and that aren't external links var fixLinks = function() { $( "a[...
0-512-md
trunk/_assets/js/jqm-demos.js
JavaScript
oos
10,002
<?php $type = 'text/javascript'; $files = array( 'jqm-demos.js', 'view-source.js', 'h2widget.js' ); require_once('../../../combine.html');
0-512-md
trunk/_assets/js/index.html
HTML
oos
143
/* JQM Demos custom CSS */ .green{color:green} .grey{color:#777} .blue{color:blue} .red{color:red} .ui-checkbox { margin: 0; } .ui-panel-display-overlay { z-index: 1001; } /* Custom indentations are needed because the length of custom labels differs from the length of the standard labels */ .cus...
0-512-md
trunk/_assets/css/jqm-demos.css
CSS
oos
15,761
@import url(http://fonts.googleapis.com/css?family=Raleway:400,700); body { background: #3B5998; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; } .container > header h1, .container > header h2 { color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.7); } .form-4 { /* ...
0-512-md
trunk/_assets/css/login.css
CSS
oos
4,576
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Карта организации</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="_asse...
0-512-md
trunk/organization-page.html
HTML
oos
10,499
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Отчетная форма</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="_assets/...
0-512-md
trunk/popup-user.html
HTML
oos
1,413
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Карта организации</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="_asse...
0-512-md
trunk/specialist-page.html
HTML
oos
14,213
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>View2 organizations</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" h...
0-512-md
trunk/sort-organization.html
HTML
oos
7,558
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Пользователи - MedPred</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="...
0-512-md
trunk/admin-s.html
HTML
oos
5,205
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Создание визита</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="https:/...
0-512-md
trunk/popup-create-visit.html
HTML
oos
3,802
<? $security_inc = true; include("../bd_mysql.inc"); require_once ('./scripts/php/sessions.php'); require_once ('./scripts/php/content.php'); if (!empty($enter_user)) {header("Location: index.php"); exit;} ?><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initi...
0-512-md
trunk/login.php
PHP
oos
1,711
/*! * jQuery Mobile 1.4.2 * Git HEAD hash: 9d9a42a27d0c693e8b5569c3a10d771916af5045 <> Date: Fri Feb 28 2014 17:32:01 UTC * http://jquerymobile.com * * Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ...
0-512-md
trunk/js/jquery.mobile-1.4.2.js
JavaScript
oos
452,804
/*! * jQuery Mobile 1.4.3 * Git HEAD hash: b9c6473e3d90af26570e6f14e5a0307897ab385c <> Date: Tue Jul 1 2014 15:37:36 UTC * http://jquerymobile.com * * Copyright 2010, 2014 jQuery Foundation, Inc. and othercontributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ) ...
0-512-md
trunk/js/jquery.mobile-1.4.3.js
JavaScript
oos
461,007
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Список организаций</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="_ass...
0-512-md
trunk/organizations.html
HTML
oos
13,957
// Scroll fix on load page $(document).ready(function(){ $(window).scroll(function () {if ($(this).scrollTop() > 0) {$('#scroller').fadeIn();} else {$('#scroller').fadeOut();}}); $('#scroller').click(function () {$('body,html').animate({scrollTop: 0}, 400); return false;}); }); // Подгрузка городов function l...
0-512-md
trunk/scripts/js/main_script.js
JavaScript
oos
818
<? // Защита от "прямого" вызова скрипта if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} // Переменные, которые индицируют вход в аккаунт (содержат id аккаунта) $enter_admin=false; $enter_user=false; // Массивы, содержащие инфо о текущем пользователе $admin_info=array(); $user_inf...
0-512-md
trunk/scripts/php/sessions.php
PHP
oos
16,063
<? // Защита от "прямого" вызова скрипта if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} $answ=mysql_query("SELECT * FROM `lim_options` WHERE `id`=1"); if (isset($answ)) $options = mysql_fetch_assoc($answ); $answ_page = mysql_query("SELECT * FROM `lim_pages` WHERE `page_href`='$self'...
0-512-md
trunk/scripts/php/content.php
PHP
oos
1,020
<?/* Защита от "прямого" вызова скрипта */ if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} /* ФУНКЦИИ КОДИРОВАНИЯ В JSON */ function json_encode_cyr($str) { $arr_replace_utf = array('\u0410', '\u0430','\u0411','\u0431','\u0412','\u0432', '\u0413','\u0433','\u0414','\u0434','\u0415...
0-512-md
trunk/scripts/php/f_json.php
PHP
oos
1,382
<?/* Защита от "прямого" вызова скрипта */ if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} /* ФУНКЦИИ ЗАПРОСОВ К БД */ function db_row ($query, $need_log = false) { $ret = mysql_query($query); $err = mysql_error(); if (!empty($err) || $need_log) { $query=addslashes(stripslash...
0-512-md
trunk/scripts/php/f_mysql.php
PHP
oos
4,448
<? $security_inc = true; require_once ('../bd_mysql.inc'); require_once (MC_ROOT.'/scripts/php/f_mysql.php'); require_once (MC_ROOT.'/scripts/php/sessions.php'); require_once (MC_ROOT.'/scripts/php/content.php'); ?><!DOCTYPE html> <html> <head> <? require MC_ROOT.'/parts/other/metrics_head.php'; ?> </head...
0-512-md
trunk/clients.php
PHP
oos
19,598
<? // Защита от "прямого" вызова скрипта if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} ?> <div data-role="header" class="jqm-header" data-position="fixed"> <div id="slct-page"> <div data-role="controlgroup" data-type="horizontal"> <a href="index.php" class="ui-btn ui-corner-a...
0-512-md
trunk/parts/section/header.php
PHP
oos
2,630
<? // Защита от "прямого" вызова скрипта if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} ?> <div data-role="footer" data-position="fixed" data-tap-toggle="false" class="jqm-footer"> <p>MedPred CRM Mobile version <span class="jqm-version"></span></p> <p>Copyright 2014</p> </div><!-- /f...
0-512-md
trunk/parts/section/footer.php
PHP
oos
357
<? // Защита от "прямого" вызова скрипта if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} ?>
0-512-md
trunk/parts/other/metrics_body.php
PHP
oos
151
<? // Защита от "прямого" вызова скрипта if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} ?> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><? echo $page['page_shortname'] . " | " . $options['syte_shortname'];?></title> <link rel="...
0-512-md
trunk/parts/other/metrics_head.php
PHP
oos
1,247
<? // Защита от "прямого" вызова скрипта if (!isset($security_inc)) {header("Location: /pages/error404.html"); exit;} ?> <? mysql_close(); ?>
0-512-md
trunk/parts/other/des_end_page.php
PHP
oos
172
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Клиенты</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="//code....
0-512-md
trunk/clients.html
HTML
oos
22,852
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>MedPred Mobile Demos</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="_a...
0-512-md
trunk/sort-clients-specialist-grid-2.html
HTML
oos
11,571
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Отчетная форма</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.3.min.css"> <link rel="stylesheet" href="...
0-512-md
trunk/report-visit-alvagel.html
HTML
oos
5,235
body { margin: 0; padding: 0; color: #555; font: normal 10pt Arial,Helvetica,sans-serif; background: #EFEFEF; } #page { margin-top: 5px; margin-bottom: 5px; background: white; border: 1px solid #C9E0ED; } #header { margin: 0; padding: 0; border-top: 3px solid #C9E0ED; } #content { padding: 20px; } #...
0-512-md
trunk/css/main.css
CSS
oos
2,594
/* ----------------------------------------------------------------------- Blueprint CSS Framework 1.0.1 http://blueprintcss.org * Copyright (c) 2007-Present. See LICENSE for more info. * See README for instructions on how to use Blueprint. * For credits and origins, see AUTHORS. * This is a compressed...
0-512-md
trunk/css/screen.css
CSS
oos
10,717
/* ----------------------------------------------------------------------- Blueprint CSS Framework 1.0.1 http://blueprintcss.org * Copyright (c) 2007-Present. See LICENSE for more info. * See README for instructions on how to use Blueprint. * For credits and origins, see AUTHORS. * This is a compressed...
0-512-md
trunk/css/print.css
CSS
oos
1,286
/* ----------------------------------------------------------------------- Blueprint CSS Framework 1.0.1 http://blueprintcss.org * Copyright (c) 2007-Present. See LICENSE for more info. * See README for instructions on how to use Blueprint. * For credits and origins, see AUTHORS. * This is a compressed...
0-512-md
trunk/css/ie.css
CSS
oos
1,938
<? $security_inc = true; require_once ('../bd_mysql.inc'); require_once (MC_ROOT.'/scripts/php/f_mysql.php'); require_once (MC_ROOT.'/scripts/php/sessions.php'); require_once (MC_ROOT.'/scripts/php/content.php'); ?><!DOCTYPE html> <html> <head> <? require MC_ROOT.'/parts/other/metrics_head.php'; ?> </head> <body> <...
0-512-md
trunk/organizations.php
PHP
oos
11,025
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Authorization MedPred Mobile</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="_assets/css/login.css"> <!--[if lte IE 7]><style>.main{display:none;} .su...
0-512-md
trunk/login.html
HTML
oos
1,100