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 |
|---|---|---|---|---|---|
#ifndef HAND_H
#define HAND_H
#include "includes.h"
#include "Card.h"
class Hand : public QList<CardID> {
public:
explicit Hand();
private:
};
#endif // HAND_H
| 1000-bornes | trunk/src/engine/Hand.h | C++ | gpl3 | 180 |
#include "Player.h"
Player::Player(QString name) {
this->name = name;
}
QString Player::getName() const {
return name;
}
Hand Player::getHand() const {
return hand;
}
| 1000-bornes | trunk/src/engine/Player.cpp | C++ | gpl3 | 188 |
#include "Team.h"
Team::Team() {
tableau = new Tableau(this);
}
Team::~Team() {
// Deleting players and tableau
qDebug() << "~Team()";
for (int i=0; i<size(); i++) {
delete this->at(i);
}
//foreach(Player* player, this) {
// delete player;
//}
delete tableau;
}
Tableau* Team... | 1000-bornes | trunk/src/engine/Team.cpp | C++ | gpl3 | 566 |
#ifndef DRAWPILE_H
#define DRAWPILE_H
#include "includes.h"
#include "Card.h"
class DrawPile : public QList<CardID> {
public:
explicit DrawPile();
};
#endif // DRAWPILE_H
| 1000-bornes | trunk/src/engine/DrawPile.h | C++ | gpl3 | 187 |
#include <QtGui/QApplication>
#include "includes.h"
#include "Tableau.h"
#include "CardInfo.h"
#include "Skin.h"
#include "MainWindow.h"
#include "RaceInfo.h"
int main(int argc, char *argv[]) {
QApplication a(argc, argv);
MainWindow w;
w.show();
/*
RaceInfo info;
qDebug() << inf... | 1000-bornes | trunk/src/main.cpp | C++ | gpl3 | 1,732 |
#include "Properties.h"
// Application
const QString Properties::ORGANIZATION = "SGC";
const QString Properties::APPLICATION = "1000 Bornes";
const QString Properties::SETTINGS = "settings.ini";
// Networking
const quint16 Properties::DEFAULT_LISTENPORT = 1313;
// Cards informations
const QString Pr... | 1000-bornes | trunk/src/Properties.cpp | C++ | gpl3 | 2,082 |
package com.google.gwt.sample.stockwatcher.client.service;
import java.util.List;
import com.google.gwt.sample.stockwatcher.client.shared.StockBuy;
import com.google.gwt.sample.stockwatcher.client.shared.StockPrice;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.Remo... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/service/StockPriceService.java | Java | gpl3 | 586 |
package com.google.gwt.sample.stockwatcher.client.service;
import java.util.List;
import com.google.gwt.sample.stockwatcher.client.shared.StockBuy;
import com.google.gwt.sample.stockwatcher.client.shared.StockPrice;
import com.google.gwt.user.client.rpc.AsyncCallback;
public interface StockPriceServiceAsync ... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/service/StockPriceServiceAsync.java | Java | gpl3 | 549 |
package com.google.gwt.sample.stockwatcher.client.presenter;
public interface BuyStockPresenter extends Presenter<BuyStockPresenter.Display> {
public interface Display extends
com.google.gwt.sample.stockwatcher.client.view.Display {
void displaySymbol(String symbol);
void displayPrice(String price);
voi... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/presenter/BuyStockPresenter.java | Java | gpl3 | 445 |
package com.google.gwt.sample.stockwatcher.client.presenter;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.sample.stockwatcher.client.view.Display;
/**
*
*/
public abstract class BasePresenter<D extends Display> implements Presenter<D> {
protected final HandlerManager eventBus;
protec... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/presenter/BasePresenter.java | Java | gpl3 | 740 |
package com.google.gwt.sample.stockwatcher.client.presenter;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.sample.stockwatcher.client.ev... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/presenter/StockWatcherPresenterImpl.java | Java | gpl3 | 3,739 |
package com.google.gwt.sample.stockwatcher.client.presenter;
import com.google.gwt.event.dom.client.HasClickHandlers;
public interface StockWatcherPresenter extends
Presenter<StockWatcherPresenter.Display> {
public interface Display extends
com.google.gwt.sample.stockwatcher.client.view.Display {
/**
* G... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/presenter/StockWatcherPresenter.java | Java | gpl3 | 1,249 |
package com.google.gwt.sample.stockwatcher.client.presenter;
import com.google.gwt.sample.stockwatcher.client.view.Display;
/**
* Presenter Interface.
*/
public interface Presenter<D extends Display> {
void bind();
D getDisplay();
}
| 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/presenter/Presenter.java | Java | gpl3 | 241 |
package com.google.gwt.sample.stockwatcher.client.presenter;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.sample.stockwatcher.client.event.ShowStockWaterEvent;
import com.google.gwt.sample.stockwatcher.client.service.StockPriceServiceAsync;
import com.google.gwt.sample.stockwatcher.client.s... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/presenter/BuyStockPresenterImpl.java | Java | gpl3 | 1,721 |
package com.google.gwt.sample.stockwatcher.client.view;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyPressEvent;
import com.go... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/view/StockWatcherView.java | Java | gpl3 | 6,563 |
package com.google.gwt.sample.stockwatcher.client.view;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.sample.stockwatcher.client.presenter.BuyStockPresenter;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/view/BuyStockView.java | Java | gpl3 | 1,871 |
package com.google.gwt.sample.stockwatcher.client.view;
import com.google.gwt.user.client.ui.Widget;
public interface Display {
Widget asWidget();
} | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/view/Display.java | Java | gpl3 | 152 |
package com.google.gwt.sample.stockwatcher.client.shared;
import java.io.Serializable;
public class StockPrice implements Serializable {
/** */
private static final long serialVersionUID = 8040259246828316386L;
private String symbol;
private double price;
private double change;
public StockPrice() {
}
publ... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/shared/StockPrice.java | Java | gpl3 | 1,002 |
package com.google.gwt.sample.stockwatcher.client.shared;
import java.io.Serializable;
public class StockBuy implements Serializable {
/** */
private static final long serialVersionUID = -5423954446375892903L;
private String symbol;
private Double price;
private Long count;
public StockBuy() {
}
public Sto... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/shared/StockBuy.java | Java | gpl3 | 597 |
package com.google.gwt.sample.stockwatcher.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.sample.stockwatcher.client.event.BuyStockEvent;
import com.google.gwt.sample.stockwatcher.client.event.BuyStoc... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/StockWatcherMVP.java | Java | gpl3 | 2,776 |
package com.google.gwt.sample.stockwatcher.client.event;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.sample.stockwatcher.client.shared.StockPrice;
public class BuyStockEvent extends GwtEvent<BuyStockEventHandler> {
private StockPrice stockPrice;
public BuyStockEvent(StockPrice stockPrice) {... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/event/BuyStockEvent.java | Java | gpl3 | 777 |
package com.google.gwt.sample.stockwatcher.client.event;
import com.google.gwt.event.shared.EventHandler;
public interface BuyStockEventHandler extends EventHandler {
void onBuyStock(BuyStockEvent event);
}
| 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/event/BuyStockEventHandler.java | Java | gpl3 | 211 |
package com.google.gwt.sample.stockwatcher.client.event;
import com.google.gwt.event.shared.GwtEvent;
public class ShowStockWaterEvent extends GwtEvent<ShowStockWaterEventHandler> {
public ShowStockWaterEvent() {
super();
}
public static Type<ShowStockWaterEventHandler> TYPE = new Type<ShowStockWaterEventHandl... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/event/ShowStockWaterEvent.java | Java | gpl3 | 609 |
package com.google.gwt.sample.stockwatcher.client.event;
import com.google.gwt.event.shared.EventHandler;
public interface ShowStockWaterEventHandler extends EventHandler {
void onShowStockWater(ShowStockWaterEvent event);
}
| 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/client/event/ShowStockWaterEventHandler.java | Java | gpl3 | 229 |
package com.google.gwt.sample.stockwatcher.server;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import com.google.gwt.sample.stockwatcher.client.service.StockPriceService;
import com.google.gwt.sample.stockwatcher.client.shared.StockBuy;
import com.google.gwt.sample.stockwatche... | 100arun-stock | java/src/com/google/gwt/sample/stockwatcher/server/StockPriceServiceImpl.java | Java | gpl3 | 1,504 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set -->
<!-- the browser's rendering engine into -->
<!-- "Quirks Mode". Replacing this declaration -->
<!-- with a "Standards Mode" doctype... | 100arun-stock | java/war/StockWatcherMVP.html | HTML | gpl3 | 1,188 |
/* Formatting specific to the StockWatcher application */
div#mainBody {
margin: 10px 0 0 10px;
}
body {
padding: 10px;
}
/* stock list header row */
.watchListHeader {
background-color: #2062B8;
color: white;
font-style: italic;
}
/* stock list flex table */
.watchList {
border: 1px solid silver;
padding: 2... | 100arun-stock | java/war/StockWatcherMVP.css | CSS | gpl3 | 866 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/Floating.java | Java | mit | 4,689 |
package com.farproc.wifi.connecter;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiConfiguration.AuthAlgorithm;
import android.net.wifi.WifiConfiguration.GroupCipher;
import android.net.wifi.WifiConfiguration.KeyMgmt;
import android.net.wifi.WifiConfiguration... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/ConfigurationSecuritiesOld.java | Java | mit | 7,074 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/NewNetworkContent.java | Java | mit | 3,822 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/ChangePasswordContent.java | Java | mit | 3,871 |
package com.farproc.wifi.connecter;
import java.lang.reflect.Field;
import android.os.Build.VERSION;;
/**
* Get Android version in different Android versions. :)
* @author yuanxiaohui
*
*/
public class Version {
public final static int SDK = get();
private static int get() {
final Class<VERSION> version... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/Version.java | Java | mit | 741 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/BaseContent.java | Java | mit | 4,299 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/ChangingAwareEditText.java | Java | mit | 1,707 |
package com.farproc.wifi.connecter;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
public abstract class ConfigurationSecurities {
/**
* @return The security of a given {@link WifiConfiguration}.
*/
public abstract String getWifiConfigurationSecurity(WifiConfiguration wifiC... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/ConfigurationSecurities.java | Java | mit | 1,151 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/TestWifiScan.java | Java | mit | 5,979 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/ConfiguredNetworkContent.java | Java | mit | 4,962 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/ReenableAllApsWhenNetworkStateChanged.java | Java | mit | 3,500 |
package com.farproc.wifi.connecter;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiConfiguration.AuthAlgorithm;
import android.net.wifi.WifiConfiguration.KeyMgmt;
import android.util.Log;
public class ConfigurationSecuritiesV8 extends ConfigurationSecurities... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/ConfigurationSecuritiesV8.java | Java | mit | 6,321 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/Wifi.java | Java | mit | 9,745 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/MainActivity.java | Java | mit | 3,635 |
/*
* Wifi Connecter
*
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... | 0xt00m-wifiproject | src/com/farproc/wifi/connecter/CurrentNetworkContent.java | Java | mit | 5,714 |
<?php
function sitemap_after_process() {
if (isset ( $_GET ['p'] ) && $_GET ['p'] == 'sitemap.xml') {
global $main_menu;
$out = '<?xml version="1.0" encoding="UTF-8"?>';
$out .= '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
foreach ( $main_menu->items as $item ) {
$out.="<url>";
... | 0query | trunk/0query/plugins/sitemap.php | PHP | gpl2 | 563 |
<h2 class="contact">Contact Me</h2>
<p>At has veri feugait placerat, in semper offendit praesent his. Omnium impetus facilis sed at, ex viris tincidunt ius. Unum eirmod dignissim id quo. Sit te atomorum quaerendum neglegentur, his primis tamquam et. Eu quo quot veri alienum, ea eos nullam luptatum accusamus. E... | 0query | trunk/0query/content/pages/3. Contact/index.php | Hack | gpl2 | 986 |
<h2 class="intro">
<strong>Just</strong> a simple <strong>website</strong> framework
<span class="sub">.. and Anything more</span>
</h2>
<div class="clear"></div>
<p>
Ea mei nullam facete, omnis oratio offendit ius cu. Doming takimata repudiandae usu an, mei dicant takimata id, pri eleifend inimicus euripidis... | 0query | trunk/0query/content/pages/1. Home/index.php | Hack | gpl2 | 504 |
<h2 class="intro">
<strong>Just</strong> a simple <strong>website</strong> framework
<span class="sub">.. and Anything more</span>
Optimized for your mobile
</h2>
<div class="clear"></div>
<p>
Mobile Content
</p> | 0query | trunk/0query/content/pages/1. Home/index.mobile.php | Hack | gpl2 | 228 |
<li class="<?php if ($this->active) echo "active" ?>">
<a href="<?php echo $this->link?>"><?php echo $this->title ?></a>
</li> | 0query | trunk/0query/templates/gelsheet/menu-item.php | PHP | gpl2 | 129 |
$(document).ready(function() {
$('#home-slide').cycle('fade');
}); | 0query | trunk/0query/templates/gelsheet/js/gelsheet.js | JavaScript | gpl2 | 75 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<title>Gelsheet: The opensource web spreadsheet</title>
<meta http-equiv="Content-Type" content="text/html; charset=UT... | 0query | trunk/0query/templates/gelsheet/header.php | PHP | gpl2 | 2,207 |
Not found | 0query | trunk/0query/templates/gelsheet/404.php | Hack | gpl2 | 9 |
je
ul, ol {list-style-type: none;}
table, tbody, fieldset {margin:0;padding:0;border:none;}
p,.p {text-align: left;margin-bottom: 1em;}
p.halfp, .halfp{margin-bottom:.5em;}
hr{ margin: 1.5em 0; border:none; border-bottom: 1px dashed #ccc;}
strong,b, th, label, .fboxes h4{font-weight: bold; font-family: palatino... | 0query | trunk/0query/templates/gelsheet/style.css | CSS | gpl2 | 9,758 |
<div id="footer" class="fix"><br>
<div class="footcols_container">
<div class="content fix">
Powered by <a href="#">MinCMS</a> | Designed by <a href="http://www.gelsheet.org">Home</a>Designed By Powered by <a href="http://www.gelsheet.org">Gelsheet - The opensource online spreadsheet</a> About | Co... | 0query | trunk/0query/templates/gelsheet/footer.php | Hack | gpl2 | 389 |
<?php include_once 'header.php' ?>
<div id="main_content" class="fix" >
<div class="content fix">
<?php $page->output() ;?>
</div> <!-- end .content -->
</div>
<?php include_once 'footer.php' ?> | 0query | trunk/0query/templates/gelsheet/index.php | PHP | gpl2 | 214 |
<li>
<a class="wintrolink wanchorLink <?php if ($this->active) echo "active" ?>" href="<?php echo $this->link?>"><?php echo $this->title ?></a>
</li>
| 0query | trunk/0query/templates/portfolio/menu-item.php | PHP | gpl2 | 156 |
div#fancy_overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
z-index: 30;
}
div#fancy_loading {
position: absolute;
height: 40px;
width: 40px;
cursor: pointer;
display: none;
overflow: hidden;
background: transparent;
z-index: 100;
}
div#fancy_loa... | 0query | trunk/0query/templates/portfolio/js/jquery.fancybox-1.2.6.css | CSS | gpl2 | 4,579 |
/*******
*** Anchor Slider by Cedric Dugas ***
*** Http://www.position-absolute.com ***
Never have an anchor jumping your content, slide it.
Don't forget to put an id to your anchor !
You can use and modify this script for any project you want, but please leave this comment as credit.
*****/
... | 0query | trunk/0query/templates/portfolio/js/jquery.anchor.js | JavaScript | gpl2 | 975 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Zero query - No Database CMS</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if IE 7]>
<l... | 0query | trunk/0query/templates/portfolio/header.php | PHP | gpl2 | 1,203 |
<?php get_header()?>
<h2>Not found</h2>
<?php get_footer()?> | 0query | trunk/0query/templates/portfolio/404.php | PHP | gpl2 | 62 |
header { position: absolute; left: 0; }
#intro h2 { margin-bottom: 100px; }
h2.work { width: 800px; } | 0query | trunk/0query/templates/portfolio/ie7.css | CSS | gpl2 | 102 |
* { margin: 0; padding: 0; outline: 0; }
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
display: block;
}
@font-face { font-family: Keffeesatz; src: url(YanoneKaffeesatz-Light.otf) format("opentype") }
@font-face { font-family: KeffeesatzBold; src: url(YanoneKaffeesatz-Bold.otf) format("open... | 0query | trunk/0query/templates/portfolio/style.css | CSS | gpl2 | 5,803 |
</section>
<footer>
<ul>
<li>Powered by <a href="http://code.google.com/p/0query/"> 0Query </a>
</ul>
</footer>
</section>
</body>
</html> | 0query | trunk/0query/templates/portfolio/footer.php | Hack | gpl2 | 179 |
<?php get_header() ?>
<?php get_page() ?>
<?php get_footer() ?>
| 0query | trunk/0query/templates/portfolio/index.php | PHP | gpl2 | 64 |
<header>
Zero query Mobile
</header>
<?php get_page() ?>
<footer>
<?php get_footer() ?>
</footer> | 0query | trunk/0query/templates/portfolio/index.mobile.php | PHP | gpl2 | 102 |
<?php
/**
* Mobile Detect
* $Id: Mobile_Detect.php 44 2012-05-03 21:45:00Z serbanghita@gmail.com $
*
* @usage require_once 'Mobile_Detect.php';
* $detect = new Mobile_Detect();
* $detect->isMobile() or $detect->isTablet()
*
* For more specific usage see the do... | 0query | trunk/0query/libraries/Mobile_Detect.php | PHP | gpl2 | 11,622 |
<?php
// TODO Move all core functions to here and deprecate plugin_engine
function baseurl() {
$protocol = ! empty ( $_SERVER ['HTTPS'] ) ? "https" : "http";
return rtrim ( $protocol . "://" . $_SERVER ['HTTP_HOST'] . dirname ( $_SERVER ['SCRIPT_NAME'] ), "/" );
}
function load_libraries() {
global $CON... | 0query | trunk/0query/core/functions.php | PHP | gpl2 | 1,133 |
<?php
function get_header() {
global $page ;
if ( file_exists(TEMPLATE_PATH."header.php") ){
include_once TEMPLATE_PATH."header.php";
}
}
function get_footer() {
global $page ;
if ( file_exists(TEMPLATE_PATH."footer.php") ){
include_once TEMPLATE_PATH."footer.php";
}
}
function get_s... | 0query | trunk/0query/core/template_engine.php | PHP | gpl2 | 568 |
<?php
function fire($event){
global $CONF ;
if (!empty($CONF['plugins'])){
foreach ($CONF['plugins'] as $plgname) {
include_once ROOT."/plugins/".$plgname.".php";
$functionName = $plgname."_".$event;
if ( function_exists($functionName) ) {
return call_user_func($functionName);
}
}
}
} | 0query | trunk/0query/core/plugin_engine.php | PHP | gpl2 | 313 |
<?php
session_start();
global $CONF ;
global $page ;
define ('TEMPLATES_PATH',"templates/") ;
define ('TEMPLATE_PATH', TEMPLATES_PATH."/".$CONF['template']."/") ;
define ('BASE_URL', baseurl());
load_libraries();
fire('before_process');
$pages_dir = "content/pages/" ;
$content = new Content (... | 0query | trunk/0query/core/bootstrap.php | PHP | gpl2 | 1,648 |
<?php
/**
*
* Enter description here ...
* @author pepe
*
*/
class Content {
/**
*
* Enter description here ...
* @var Page
*/
var $current_page = null ;
/**
*
* Enter description here ...
* @var unknown_type
*/
var $home = null ;
/**
*
* Enter descrip... | 0query | trunk/0query/core/classes/Content.class.php | PHP | gpl2 | 1,408 |
<?php
class Page {
var $path ;
var $alias ;
var $id ;
var $css = null ;
var $content ;
function __construct($path = null , $alias = null, $id = null ) {
$this->alias = $alias ;
$this->path = "content/pages/$path/";
$this->id = ($id) ? $id : $alias ;
}
function outp... | 0query | trunk/0query/core/classes/Page.class.php | PHP | gpl2 | 1,372 |
<?php
class Menu {
var $output ;
/**
*
* Enter description here ...
* @var unknown_type
*/
var $items = array ();
/**
* Identifier of the menu
*/
var $name = null ;
private $_items_index = array ();
function output() {
if ($this->output)
return $this->output... | 0query | trunk/0query/core/classes/Menu.class.php | PHP | gpl2 | 945 |
<?php
class MenuItem {
/**
*
* Enter description here ...
* @param MenuItem $a
* @param MenuItem $b
*/
static function compare($a, $b ) {
if ($a->order == $b->order) {
return 0;
}
return ($a->order < $b->order) ? -1 : 1;
}
/**
* Identifier like 'home' , 'abo... | 0query | trunk/0query/core/classes/MenuItem.class.php | PHP | gpl2 | 1,369 |
<?php
$CONF['home']= "home" ;
$CONF['cleanurls'] = true ;
$CONF['template'] = 'portfolio' ;
$CONF['plugins'] = array('sitemap');
$CONF['libraries'] = array('Mobile_Detect'); | 0query | trunk/0query/config.php | PHP | gpl2 | 181 |
<?php
/*
* @author Ignacio Vazquez - ivazquez at adooxen.com
* @version 1.4 Beta
*
*/
define ('ROOT',dirname(__FILE__));
include_once "config.php" ;
include_once 'core/functions.php';
include_once 'core/classes/Content.class.php';
include_once "core/classes/MenuItem.class.php" ;
include_o... | 0query | trunk/0query/index.php | PHP | gpl2 | 526 |
<?php
function sitemap_after_process() {
if (isset ( $_GET ['p'] ) && $_GET ['p'] == 'sitemap.xml') {
global $main_menu;
$out = '<?xml version="1.0" encoding="UTF-8"?>';
$out .= '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
foreach ( $main_menu->items as $item ) {
$out.="<url>";
... | 0query | tags/1.4/0query/plugins/sitemap.php | PHP | gpl2 | 563 |
<h2 class="contact">Contact Me</h2>
<p>At has veri feugait placerat, in semper offendit praesent his. Omnium impetus facilis sed at, ex viris tincidunt ius. Unum eirmod dignissim id quo. Sit te atomorum quaerendum neglegentur, his primis tamquam et. Eu quo quot veri alienum, ea eos nullam luptatum accusamus. E... | 0query | tags/1.4/0query/content/pages/3. Contact/index.php | Hack | gpl2 | 986 |
<h2 class="intro">
<strong>Just</strong> a simple <strong>website</strong> framework
<span class="sub">.. and Anything more</span>
</h2>
<div class="clear"></div>
<p>
Ea mei nullam facete, omnis oratio offendit ius cu. Doming takimata repudiandae usu an, mei dicant takimata id, pri eleifend inimicus euripidis... | 0query | tags/1.4/0query/content/pages/1. Home/index.php | Hack | gpl2 | 504 |
<li class="<?php if ($this->active) echo "active" ?>">
<a href="<?php echo $this->link?>"><?php echo $this->title ?></a>
</li> | 0query | tags/1.4/0query/templates/gelsheet/menu-item.php | PHP | gpl2 | 129 |
$(document).ready(function() {
$('#home-slide').cycle('fade');
}); | 0query | tags/1.4/0query/templates/gelsheet/js/gelsheet.js | JavaScript | gpl2 | 75 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<title>Gelsheet: The opensource web spreadsheet</title>
<meta http-equiv="Content-Type" content="text/html; charset=UT... | 0query | tags/1.4/0query/templates/gelsheet/header.php | PHP | gpl2 | 2,207 |
Not found | 0query | tags/1.4/0query/templates/gelsheet/404.php | Hack | gpl2 | 9 |
je
ul, ol {list-style-type: none;}
table, tbody, fieldset {margin:0;padding:0;border:none;}
p,.p {text-align: left;margin-bottom: 1em;}
p.halfp, .halfp{margin-bottom:.5em;}
hr{ margin: 1.5em 0; border:none; border-bottom: 1px dashed #ccc;}
strong,b, th, label, .fboxes h4{font-weight: bold; font-family: palatino... | 0query | tags/1.4/0query/templates/gelsheet/style.css | CSS | gpl2 | 9,758 |
<div id="footer" class="fix"><br>
<div class="footcols_container">
<div class="content fix">
Powered by <a href="#">MinCMS</a> | Designed by <a href="http://www.gelsheet.org">Home</a>Designed By Powered by <a href="http://www.gelsheet.org">Gelsheet - The opensource online spreadsheet</a> About | Co... | 0query | tags/1.4/0query/templates/gelsheet/footer.php | Hack | gpl2 | 389 |
<?php include_once 'header.php' ?>
<div id="main_content" class="fix" >
<div class="content fix">
<?php $page->output() ;?>
</div> <!-- end .content -->
</div>
<?php include_once 'footer.php' ?> | 0query | tags/1.4/0query/templates/gelsheet/index.php | PHP | gpl2 | 214 |
<li>
<a class="wintrolink wanchorLink <?php if ($this->active) echo "active" ?>" href="<?php echo $this->link?>"><?php echo $this->title ?></a>
</li>
| 0query | tags/1.4/0query/templates/portfolio/menu-item.php | PHP | gpl2 | 156 |
div#fancy_overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
z-index: 30;
}
div#fancy_loading {
position: absolute;
height: 40px;
width: 40px;
cursor: pointer;
display: none;
overflow: hidden;
background: transparent;
z-index: 100;
}
div#fancy_loa... | 0query | tags/1.4/0query/templates/portfolio/js/jquery.fancybox-1.2.6.css | CSS | gpl2 | 4,579 |
/*******
*** Anchor Slider by Cedric Dugas ***
*** Http://www.position-absolute.com ***
Never have an anchor jumping your content, slide it.
Don't forget to put an id to your anchor !
You can use and modify this script for any project you want, but please leave this comment as credit.
*****/
... | 0query | tags/1.4/0query/templates/portfolio/js/jquery.anchor.js | JavaScript | gpl2 | 975 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>MinCMS - The easyest way to build your site</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if... | 0query | tags/1.4/0query/templates/portfolio/header.php | PHP | gpl2 | 1,213 |
<?php get_header()?>
<h2>Not found</h2>
<?php get_footer()?> | 0query | tags/1.4/0query/templates/portfolio/404.php | PHP | gpl2 | 62 |
header { position: absolute; left: 0; }
#intro h2 { margin-bottom: 100px; }
h2.work { width: 800px; } | 0query | tags/1.4/0query/templates/portfolio/ie7.css | CSS | gpl2 | 102 |
* { margin: 0; padding: 0; outline: 0; }
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
display: block;
}
@font-face { font-family: Keffeesatz; src: url(YanoneKaffeesatz-Light.otf) format("opentype") }
@font-face { font-family: KeffeesatzBold; src: url(YanoneKaffeesatz-Bold.otf) format("open... | 0query | tags/1.4/0query/templates/portfolio/style.css | CSS | gpl2 | 5,803 |
</section>
<footer>
<ul>
<li>Powered by <a href="http://code.google.com/p/0query/"> 0Query </a>
<li>Designed by: <a href="http://www.inspectelement.com">Inspect Element</a>
</ul>
</footer>
</section>
</body>
</html> | 0query | tags/1.4/0query/templates/portfolio/footer.php | Hack | gpl2 | 262 |
<?php get_header() ?>
<?php get_page() ?>
<?php get_footer() ?>
| 0query | tags/1.4/0query/templates/portfolio/index.php | PHP | gpl2 | 64 |
<?php
function baseurl() {
$protocol = !empty($_SERVER ['HTTPS']) ? "https" : "http";
return rtrim($protocol . "://" . $_SERVER ['HTTP_HOST'] .dirname($_SERVER ['SCRIPT_NAME']),"/");
} | 0query | tags/1.4/0query/core/functions.php | PHP | gpl2 | 191 |
<?php
function get_header() {
global $page ;
if ( file_exists(TEMPLATE_PATH."header.php") ){
include_once TEMPLATE_PATH."header.php";
}
}
function get_footer() {
global $page ;
if ( file_exists(TEMPLATE_PATH."footer.php") ){
include_once TEMPLATE_PATH."footer.php";
}
}
function get_s... | 0query | tags/1.4/0query/core/template_engine.php | PHP | gpl2 | 568 |
<?php
function fire($event){
global $CONF ;
if (!empty($CONF['plugins'])){
foreach ($CONF['plugins'] as $plgname) {
include_once ROOT."/plugins/".$plgname.".php";
$functionName = $plgname."_".$event;
if ( function_exists($functionName) ) {
return call_user_func($functionName);
}
}
}
} | 0query | tags/1.4/0query/core/plugin_engine.php | PHP | gpl2 | 313 |
<?php
global $CONF ;
global $page ;
define ('TEMPLATES_PATH',"templates/") ;
define ('TEMPLATE_PATH', TEMPLATES_PATH."/".$CONF['template']."/") ;
define ('BASE_URL', baseurl());
fire('before_process');
$pages_dir = "content/pages/" ;
$content = new Content ();
$main_menu = new Menu();
$mai... | 0query | tags/1.4/0query/core/bootstrap.php | PHP | gpl2 | 1,470 |
<?php
/**
*
* Enter description here ...
* @author pepe
*
*/
class Content {
/**
*
* Enter description here ...
* @var Page
*/
var $current_page = null ;
/**
*
* Enter description here ...
* @var unknown_type
*/
var $home = null ;
/**
*
* Enter descrip... | 0query | tags/1.4/0query/core/classes/Content.class.php | PHP | gpl2 | 1,408 |
<?php
class Page {
var $path ;
var $alias ;
var $id ;
var $css = null ;
var $content ;
function __construct($path = null , $alias = null, $id = null ) {
$this->alias = $alias ;
$this->path = "content/pages/$path/";
$this->id = ($id) ? $id : $alias ;
}
function outp... | 0query | tags/1.4/0query/core/classes/Page.class.php | PHP | gpl2 | 1,231 |
<?php
class Menu {
var $output ;
/**
*
* Enter description here ...
* @var unknown_type
*/
var $items = array ();
/**
* Identifier of the menu
*/
var $name = null ;
private $_items_index = array ();
function output() {
if ($this->output)
return $this->output... | 0query | tags/1.4/0query/core/classes/Menu.class.php | PHP | gpl2 | 945 |