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 |
|---|---|---|---|---|---|
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/sys_sun.cpp | C++ | gpl2 | 6,954 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/d_part.cpp | C++ | gpl2 | 3,894 |
//
// sys_dosa.s
// x86 assembly-language DOS-dependent routines.
#include "asm_i386.h"
#include "quakeasm.h"
.data
.align 4
fpenv:
.long 0, 0, 0, 0, 0, 0, 0, 0
.text
.globl C(MaskExceptions)
C(MaskExceptions):
fnstenv fpenv
orl $0x3F,fpenv
fldenv fpenv
ret
#if 0
.globl C(unmaskexceptions)
C(unmaskexce... | 1306061103-aaa | quake/src/WinQuake/sys_dosa.s | Unix Assembly | gpl2 | 1,242 |
zip -9 -r code * -x *.obj -x *.sbr -x *.pch -x *.pdb -x *.o -x *.exe -x *.dll -x *.map -x *.bsc -x *.lib -x *.ilk -x *.exp -x *.idb -x *.zip
| 1306061103-aaa | quake/src/WinQuake/makezip.bat | Batchfile | gpl2 | 142 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/menu.h | C | gpl2 | 1,093 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/cl_main.cpp | C++ | gpl2 | 15,442 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/r_surf.cpp | C++ | gpl2 | 14,735 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/modelgen.h | C | gpl2 | 3,234 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/d_edge.cpp | C++ | gpl2 | 7,892 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/surf16.s | Unix Assembly | gpl2 | 3,349 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/d_scana.s | Motorola 68K Assembly | gpl2 | 2,087 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/r_varsa.s | Motorola 68K Assembly | gpl2 | 1,725 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/keys.h | C | gpl2 | 3,078 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/r_aliasa.s | Unix Assembly | gpl2 | 7,090 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/in_null.cpp | C++ | gpl2 | 955 |
/*
* snd_android.c
* Android-specific sound interface
*
*/
#include "quakedef.h"
#include <pthread.h>
#include <time.h>
#include <math.h>
#include <stdlib.h>
#include <utils/Log.h>
#include <media/AudioTrack.h>
using namespace android;
static AudioTrack gAudioTrack;
// Written by the callback function runnin... | 1306061103-aaa | quake/src/WinQuake/snd_android.cpp | C++ | gpl2 | 8,396 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/wad.h | C | gpl2 | 1,761 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/d_vars.cpp | C++ | gpl2 | 1,562 |
/*
Copyright (C) 2007 The Android Open Source Project
*/
#include "quakedef.h"
unsigned short d_8to16table[256];
unsigned d_8to24table[256];
#ifdef SUPPORT_8BIT_MIPMAPGENERATION
unsigned char d_15to8table[65536];
#endif
cvar_t mouse_button_commands[3] =
{
CVAR2("mouse1","+attack"),
CVAR2("mouse2","+strafe... | 1306061103-aaa | quake/src/WinQuake/gl_vidandroid.cpp | C++ | gpl2 | 18,667 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/view.cpp | C++ | gpl2 | 24,237 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/net_wipx.h | C | gpl2 | 1,720 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/bspfile.h | C | gpl2 | 7,423 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/progs.h | C | gpl2 | 3,904 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/r_aclipa.s | Unix Assembly | gpl2 | 5,545 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/client.h | C | gpl2 | 8,986 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/vid_dos.h | C | gpl2 | 2,899 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/world.h | C | gpl2 | 2,649 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/sys_wina.s | Unix Assembly | gpl2 | 2,106 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/pr_exec.cpp | C++ | gpl2 | 12,382 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/cd_audio.cpp | C++ | gpl2 | 19,515 |
dos\quake -nocdaudio -basedir /quake -game test_am %1 %2 %3 %4 %5 %6 %7 %8 %9
| 1306061103-aaa | quake/src/WinQuake/qa.bat | Batchfile | gpl2 | 79 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/net_dgrm.h | C | gpl2 | 1,325 |
#!/bin/sh
# Generate quake-data.spec
# $1 is version
# $2 is release
# $3 is install dir (assumed to be in /var/tmp)
cat <<EOF
%define name quake-data
%define version ${1}
%define release ${2}
%define builddir \$RPM_BUILD_DIR/%{name}-%{version}
Name: %{name}
Version: %{version}
Release: %{release}
Vendor: id Software... | 1306061103-aaa | quake/src/WinQuake/quake-data.spec.sh | Shell | gpl2 | 1,562 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/vid_ext.cpp | C++ | gpl2 | 19,899 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/net_dgrm.cpp | C++ | gpl2 | 33,194 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/console.h | C | gpl2 | 1,508 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/cmd.h | C | gpl2 | 4,603 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/net_wipx.cpp | C++ | gpl2 | 11,197 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/crc.cpp | C++ | gpl2 | 3,520 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/d_varsa.s | Motorola 68K Assembly | gpl2 | 5,292 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/d_polysa.s | Unix Assembly | gpl2 | 45,605 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/net_ser.cpp | C++ | gpl2 | 21,414 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/draw.h | C | gpl2 | 1,507 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/cvar.h | C | gpl2 | 3,827 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/r_main.cpp | C++ | gpl2 | 26,211 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/glquake.h | C | gpl2 | 21,098 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/WinQuake/mathlib.h | C | gpl2 | 2,755 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/r_misc.cpp | C++ | gpl2 | 10,133 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/snd_next.cpp | C++ | gpl2 | 1,469 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/WinQuake/r_efrag.cpp | C++ | gpl2 | 5,315 |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1306061103-aaa | src/com/android/quake/QuakeViewNoData.java | Java | gpl2 | 2,189 |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1306061103-aaa | src/com/android/quake/QuakeView.java | Java | gpl2 | 8,417 |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1306061103-aaa | src/com/android/quake/QuakeLib.java | Java | gpl2 | 7,290 |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1306061103-aaa | src/com/android/quake/QuakeActivity.java | Java | gpl2 | 2,971 |
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 1306061103-aaa | jni/Android.mk | Makefile | gpl2 | 1,656 |
#########################################################################
# Quake game
# This makefile builds both an activity and a shared library.
#########################################################################
ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
TOP_LOCAL_PATH:= $(call my-dir)
# Build Qua... | 1306061103-aaa | Android.mk | Makefile | gpl2 | 2,547 |
/*
@最初版本开发日期: 2009年07月08日
@著作权所有: Lou Barnes ( http://www.loubarnes.com )
报告漏洞,意见或建议, 请联系 Lou Barnes(iua1024@gmail.com) 或登陆 http://www.loubarnes.com
*/
var win = {
m_sType : "dialog", // 可取值: dialog 对话框 / warning 警告 / error 错误
m_iWidth : 400,
m_iHeight : 120,
m_iTop : 0,
m_iLeft : 0,
m_oDat... | 1024i | 1024 intelligence/js/win.class.js | JavaScript | asf20 | 6,947 |
function heartbeat()
{
jQuery.ajax({type: "GET",url: "./?controller=user&task=ajax_heartbeat"});
setTimeout(heartbeat, 600000);
}
$(heartbeat);
| 1024i | 1024 intelligence/js/heartbeat.js | JavaScript | asf20 | 154 |
// 加载时动画
var g_sLoadingImage = '<img src="images/loading.gif" align="absmiddle" /> ';
| 1024i | 1024 intelligence/js/global.js | JavaScript | asf20 | 100 |
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @examp... | 1024i | 1024 intelligence/js/jquery.cookie.js | JavaScript | asf20 | 4,246 |
/*
@最初版本开发日期: 2009年08月26日
@著作权所有: Lou Barnes ( http://www.loubarnes.com )
报告漏洞,意见或建议, 请联系 Lou Barnes(iua1024@gmail.com) 或登陆 http://www.loubarnes.com
*/
var pagination = {
m_iTotal : 0,
m_iPageNo : 0,
m_iMaxPageNo : 0,
m_iOffset : 0,
m_iLimit : 20,
m_oData : [],
m_sNavURL : '',
m_sDataUR... | 1024i | 1024 intelligence/js/pagination.class.js | JavaScript | asf20 | 2,002 |
$(function(){
$('.user-avatar, .user-status').each(function(){
var e = $(this);
if(e.attr("title")=="") return;
e.bt(e.attr("title"),
{
width: 300,
fill: 'white',
strokeStyle: '#999',
shrinkToFit: true,
hoverIntentOpts: {interval: 0,timeout: 0}
});
});
});
| 1024i | 1024 intelligence/templates/home/js/home.js | JavaScript | asf20 | 310 |
<?php
class template_home extends theme
{
protected function head()
{
?>
<!--[if IE]>
<script type="text/javascript" language="javascript" src="js/excanvas.compiled.js"></script>
<![endif]-->
<script type="text/javascript" language="javascript" src="js/jquery.bt.min.js"></script>
<link type="text/... | 1024i | 1024 intelligence/templates/home/home.php | PHP | asf20 | 7,059 |
.our-features .feature{ height:170px;border:#eee 1px solid; background-color:#F9F9F9;}
.our-features .feature-title{ font-weight:bold; padding:5px 10px; color:#444;}
.our-features .feature-description{ padding:5px 10px 5px 60px;color:#666;}
.our-features .feature-more{text-align:right; margin:5px 20px 10px 0;}
... | 1024i | 1024 intelligence/templates/home/css/home.css | CSS | asf20 | 1,592 |
$(function(){
$("#form-forget_password_reset").validate({
rules: {
password: {
required: true,
minlength: 6
},
confirm_password: {
required: true,
equalTo: "#password"
}
},
messages: {
password: {
required: "请输入新密码",
minlength: "密码最少输入6个字符"
},
confi... | 1024i | 1024 intelligence/templates/user/js/forget_password_reset.js | JavaScript | asf20 | 1,268 |
$(function(){
$("#form-reset_password").validate({
rules: {
password: {
required: true,
minlength: 6
},
confirm_password: {
required: true,
equalTo: "#password"
}
},
messages: {
password: {
required: "请输入新密码",
minlength: "密码最少输入6个字符"
},
confirm_pass... | 1024i | 1024 intelligence/templates/user/js/reset_password.js | JavaScript | asf20 | 1,226 |
$(function(){
$("#form-register").validate({
rules: {
username: {
required: true,
minlength: 4,
maxlength: 40
},
email: {
required: true,
email: true
},
password: {
required: true,
minlength: 6
},
confirm_password: {
required: true,
equalTo... | 1024i | 1024 intelligence/templates/user/js/register.js | JavaScript | asf20 | 1,585 |
$(function(){
$("#form-login").validate({
rules: {
username: {
required: true
},
password: {
required: true
}
},
messages: {
username: {
required: "请输入用户名"
},
password: {
required: "请输入密码"
}
},
submitHandler: function(form){
var e... | 1024i | 1024 intelligence/templates/user/js/login.js | JavaScript | asf20 | 1,017 |
$(function(){
$("#email").hide();
$("#type-1").click(function(){
$("#username").show();
$("#email").hide();
});
$("#type-2").click(function(){
$("#email").show();
$("#username").hide();
});
$("#submit").click(function(){
var sType = "username";
var sValue = "";
if($("#type-1").... | 1024i | 1024 intelligence/templates/user/js/forget_password.js | JavaScript | asf20 | 1,429 |
<?php
class template_edit extends theme
{
protected function head()
{
?>
<link type="text/css" rel="stylesheet" href="templates/user/css/edit.css">
<script type="text/javascript" language="javascript" src="templates/user/js/edit.js"></script>
<?php
}
protected function center()
{
$user = $this... | 1024i | 1024 intelligence/templates/user/edit.php | PHP | asf20 | 2,215 |
<?php
class template_forget_password_reset extends theme
{
protected function head()
{
?>
<script type="text/javascript" language="javascript" src="js/jquery.validate.pack.js"></script>
<link type="text/css" rel="stylesheet" href="templates/user/css/forget_password_reset.css">
<script type="text/javascr... | 1024i | 1024 intelligence/templates/user/forget_password_reset.php | PHP | asf20 | 1,523 |
<?php
class template_register extends theme
{
protected function head()
{
?>
<script type="text/javascript" language="javascript" src="js/jquery.validate.pack.js"></script>
<link type="text/css" rel="stylesheet" href="templates/user/css/register.css">
<script type="text/javascript" language="javascript"... | 1024i | 1024 intelligence/templates/user/register.php | PHP | asf20 | 1,478 |
<?php
class template_forget_password extends theme
{
protected function head()
{
?>
<link type="text/css" rel="stylesheet" href="templates/user/css/forget_password.css">
<script type="text/javascript" language="javascript" src="templates/user/js/forget_password.js"></script>
<?php
}
protected funct... | 1024i | 1024 intelligence/templates/user/forget_password.php | PHP | asf20 | 1,056 |
<?php
class template_reset_password extends theme
{
protected function head()
{
?>
<script type="text/javascript" language="javascript" src="js/jquery.validate.pack.js"></script>
<link type="text/css" rel="stylesheet" href="templates/user/css/reset_password.css">
<script type="text/javascript" language=... | 1024i | 1024 intelligence/templates/user/reset_password.php | PHP | asf20 | 1,330 |
<?php
class template_login extends theme
{
protected function head()
{
?>
<script type="text/javascript" language="javascript" src="js/jquery.validate.pack.js"></script>
<link type="text/css" rel="stylesheet" href="templates/user/css/login.css">
<script type="text/javascript" language="javascript" src=... | 1024i | 1024 intelligence/templates/user/login.php | PHP | asf20 | 1,053 |
.theme-middle{background:#fff; padding:80px 0 80px 300px;}
.title{font-size:16px; font-weight:bold; border-bottom:#ccc 1px solid; padding:5px 10px; width:400px; }
#register-form{padding-left:20px;}
label.item-title{ width:120px; text-align:left; display:inline-block;}
label.error {display: inline; padding-left:... | 1024i | 1024 intelligence/templates/user/css/register.css | CSS | asf20 | 388 |
.title{font-size:16px; font-weight:bold; border-bottom:#ccc 1px solid; padding:0px 10px 5px; margin:0;}
#edit-form{padding-left:20px;}
label.item-title{ width:90px; text-align:left; display:inline-block;}
| 1024i | 1024 intelligence/templates/user/css/edit.css | CSS | asf20 | 224 |
.message-error{width:380px;}
.theme-middle{background:#fff; padding:80px 0 80px 300px;}
.title{font-size:16px; font-weight:bold; border-bottom:#ccc 1px solid; padding:5px 10px; width:400px; }
#login-form{padding-left:20px;}
label.item-title{ width:90px; text-align:left; display:inline-block;}
label.error {displa... | 1024i | 1024 intelligence/templates/user/css/login.css | CSS | asf20 | 442 |
.theme-middle{background:#fff; padding:80px 0 80px 300px;}
.title{font-size:16px; font-weight:bold; border-bottom:#ccc 1px solid; padding:5px 10px; width:400px; }
#forget_password-form{padding-left:20px;}
label.item-title{ width:120px; text-align:left; display:inline-block;}
label.error {display: inline; pa... | 1024i | 1024 intelligence/templates/user/css/forget_password.css | CSS | asf20 | 437 |
.theme-middle{background:#fff; padding:80px 0 80px 300px;}
.title{font-size:16px; font-weight:bold; border-bottom:#ccc 1px solid; padding:5px 10px; width:400px; }
#forget_password_reset-form{padding-left:20px;}
label.item-title{ width:90px; text-align:left; display:inline-block;}
label.error {display: inline;... | 1024i | 1024 intelligence/templates/user/css/forget_password_reset.css | CSS | asf20 | 442 |
.title{font-size:16px; font-weight:bold; border-bottom:#ccc 1px solid; padding:0px 10px 5px; margin:0;}
#reset_password-form{padding-left:20px;}
label.item-title{ width:120px; text-align:left; display:inline-block;}
label.error {display: inline; padding-left:5px; color:#f00;}
input.error { border: 1px dotted re... | 1024i | 1024 intelligence/templates/user/css/reset_password.css | CSS | asf20 | 326 |
<?php
class template_listing extends theme
{
protected function center()
{
$menu_id = request('menu_id', 0);
$content_list = $this->get('content_list');
?>
<h3 class="title"><?php echo $this->get_title(); ?></h3>
<ul>
<?php
if(count($content_list))
{
foreach($content_list as $content)
{
... | 1024i | 1024 intelligence/templates/content/listing.php | PHP | asf20 | 622 |
<?php
class template_detail extends theme
{
protected function head()
{
?>
<link type="text/css" rel="stylesheet" href="templates/content/css/detail.css">
<?php
}
public function center()
{
$content = $this->get('content');
?>
<h2 class="content-title"><?php echo $content->tit... | 1024i | 1024 intelligence/templates/content/detail.php | PHP | asf20 | 603 |
<?php
class template_all extends theme
{
protected function center()
{
$menu_id = request('menu_id', 0);
$category_id = $this->get('category_id');
$content_list = $this->get('content_list');
$category_list = $this->get('category_list');
?>
<h3 class="title"><?php echo $this->get_title(); ?></h... | 1024i | 1024 intelligence/templates/content/all.php | PHP | asf20 | 1,529 |
.content-title{text-align:center;}
.content-body{line-height:150%;}
.content-body p{text-indent:24px;}
.content-body li{}
.content-info{text-align: right; color:#999;} | 1024i | 1024 intelligence/templates/content/css/detail.css | CSS | asf20 | 175 |
<?php
class template_user_detail extends theme
{
protected function head()
{
?>
<link type="text/css" rel="stylesheet" href="templates/team/css/user_detail.css">
<?php
}
protected function center()
{
$user = $this->get('user');
$t = time();
$is_online = ($t-$user->beat_time)<660;
?>
<... | 1024i | 1024 intelligence/templates/team/user_detail.php | PHP | asf20 | 2,721 |
.user{ margin:15px 6px 20px; padding:0 0 10px 0; }
.user .job{ font-weight:bold; padding:0 0 5px 0;}
.user .name{ font-weight:bold; text-align:center}
.avatar{width:96px; height:96px; padding:3px; background-color:#FFFFFF; border:#EEEEEE 1px solid;}
.red{color:#f00;} | 1024i | 1024 intelligence/templates/team/css/user_detail.css | CSS | asf20 | 273 |
.users ul{margin:0; padding:0;}
.users li{ list-style:none; margin:15px 6px 20px; padding:0 0 10px 0; border-bottom:#eee 1px solid;}
.users .job{ font-weight:bold; padding:0 0 5px 0;}
.users .name{ font-weight:bold; text-align:center; margin:5px 0;}
.users .avatar{width:96px; height:96px; padding:3px; backgroun... | 1024i | 1024 intelligence/templates/team/css/users.css | CSS | asf20 | 365 |
<?php
class template_users extends theme
{
protected function head()
{
?>
<link type="text/css" rel="stylesheet" href="templates/team/css/users.css">
<?php
}
protected function center()
{
$users = $this->get('users');
?>
<div class="center-title">开发团队</div>
<div class="center-content">
... | 1024i | 1024 intelligence/templates/team/users.php | PHP | asf20 | 2,253 |
<?php
class template_listing extends theme
{
protected function head()
{
?>
<script type="text/javascript" language="javascript" src="js/jquery.validate.pack.js"></script>
<link type="text/css" rel="stylesheet" href="templates/technic/css/listing.css">
<script type="text/javascript" language="javascript" s... | 1024i | 1024 intelligence/templates/technic/listing.php | PHP | asf20 | 2,077 |
var g_sKey = '';
var g_iCategoryID = 0;
var g_iTotal = 0;
var g_iPageNo = 0;
var g_iMaxPageNo = 0;
var g_iOffset = 0;
var g_iLimit = 30;
$(function(){
$("#form-search").validate({
rules: {
key: {
required: true
}
},
messages: {
key: {
required: ""
}
},
submitH... | 1024i | 1024 intelligence/templates/technic/js/listing.js | JavaScript | asf20 | 4,128 |
<?php
class template_popup_detail extends theme
{
public function display()
{
?>
<!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; ... | 1024i | 1024 intelligence/templates/technic/popup_detail.php | PHP | asf20 | 751 |
<?php
class template_detail extends theme
{
public function center()
{
$technic = $this->get('technic');
?>
<div class="center-title"><?php echo $technic->title; ?></div>
<div class="center-content">
<?php echo $technic->description; ?>
</div>
<?php
}
}
?> | 1024i | 1024 intelligence/templates/technic/detail.php | PHP | asf20 | 285 |
html{ background-color:#FFFFFF; }
body{ background-color:#FFFFFF; padding:10px; font-size:14px; } | 1024i | 1024 intelligence/templates/technic/css/popup_detail.css | CSS | asf20 | 98 |
.search-form{ text-align:center; padding:20px;}
input.error { border: 1px dotted red; }
.technics{ padding:0 10px;}
.technics .row-0{background-color:#FFF;}
.technics .row-1{background-color:#F8F8F8;}
.technic{ padding:3px 5px;}
.technic ul{ margin:0; padding:0;}
.technic li{ list-style:none; float:left;}
.... | 1024i | 1024 intelligence/templates/technic/css/listing.css | CSS | asf20 | 406 |
<?php
class template_listing extends theme
{
protected function head()
{
?>
<!--[if IE]>
<script type="text/javascript" language="javascript" src="js/excanvas.compiled.js"></script>
<![endif]-->
<script type="text/javascript" language="javascript" src="js/jquery.bt.min.js"></script>
<link type="text/c... | 1024i | 1024 intelligence/templates/product/listing.php | PHP | asf20 | 1,774 |
$(function(){
$('.image').each(function(){
var e = $(this);
e.bt('<img src="'+e.attr("title")+'" width="200" height="200" />',
{
width: 200,
height: 200,
fill: 'white',
strokeStyle: '#999',
shrinkToFit: true,
hoverIntentOpts: {interval: 0,timeout: 0}
});
});
});
| 1024i | 1024 intelligence/templates/product/js/listing.js | JavaScript | asf20 | 318 |
<?php
class template_detail extends theme
{
protected function head()
{
?>
<link type="text/css" rel="stylesheet" href="templates/product/css/detail.css">
<script type="text/javascript" language="javascript" src="templates/product/js/detail.js"></script>
<?php
}
protected function center()
{
$... | 1024i | 1024 intelligence/templates/product/detail.php | PHP | asf20 | 1,202 |
.products ul{padding:0; margin:0;}
.products li{list-style:none; width:128px; margin:5px 8px;float:left;}
.product div{text-align:center; width:128px;}
.product .image a{ display:block; margin:auto; width:100px; height:100px; padding:3px;background-color:#FFFFFF; border:#EEEEEE 1px solid;}
.product .image a:hov... | 1024i | 1024 intelligence/templates/product/css/listing.css | CSS | asf20 | 410 |
.product .image{float:left; width:200px; height:200px; padding:4px; background-color:#FFFFFF; border:#EEEEEE 1px solid;}
.product .detail {float:right; width:500px;}
.product .detail h2{padding:10px 0;}
.product .detail .hits{color:#999;}
.product .detail .btns{margin-top:90px; }
.product .detail .btns .bt... | 1024i | 1024 intelligence/templates/product/css/detail.css | CSS | asf20 | 560 |