コード例 #1
0
ファイル: my.php プロジェクト: redbugz/rootstech2013
				<tr>
					<td></td>
					<td><input type="submit" name="submit2" value="<?php 
    echo $strChange;
    ?>
" /></td>
				</tr>
			</table>
			</form>
		</td>
		<td></td>
	</tr>
</table>
<?php 
} else {
    do_headers_dojo($strLogin);
    ?>
<body class="tundra">
<?php 
    include_once "inc/analyticstracking.php";
    ?>
<table width="100%" class="header">
	<tr>
		<td width="65%" align="center">
			<h1><?php 
    echo $strPhpMyFamily;
    // MODIFICA 20120506
    ?>
</h1>			
			<h3><?php 
    echo $config->desc;
コード例 #2
0
ファイル: index.php プロジェクト: redbugz/rootstech2013
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU General Public License for more details.
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
// include the configuration parameters and functions
include_once "modules/db/DAOFactory.php";
include_once "inc/header.inc.php";
include_once "modules/people/show.php";
$config = Config::getInstance();
$rss = "<link rel=\"alternate\" type=\"application/rss+xml\" href=\"" . $config->absurl . "rss.php\" title=\"" . $config->desc . "\" />";
$script = '<script src="inc/d3/d3.v2.min.js"></script>
<script src="inc/d3-cloud/d3.layout.cloud.js"></script>';
// Fill out the headers
do_headers_dojo($config->desc . " :phpmyfamily", $rss . $script);
?>
<body class="tundra">
<?php 
include_once "inc/analyticstracking.php";
?>
<table width="100%" class="header">
	<tr>
		<td width="65%" align="center">
			<h1><?php 
echo $strPhpMyFamily;
// MODIFICA 20120506
?>
</h1>
			<h3><?php 
echo $config->desc;
コード例 #3
0
ファイル: map.php プロジェクト: redbugz/rootstech2013
<?php

include_once "modules/db/DAOFactory.php";
include_once "modules/location/show.php";
include_once "inc/header.inc.php";
$config = Config::getInstance();
$ldao = getLocationDAO();
$p = new Locations();
$ldao->getPlaces($p);
$places = $p->places;
$extra = get_location_header($places);
do_headers_dojo($config->desc, $extra);
?>

  <body<?php 
if ($config->gmapskey != '') {
    echo ' onload="initialize()" onunload="GUnload()"';
}
?>
>
<?php 
include_once "inc/analyticstracking.php";
?>
 <?php 
echo show_location($p);
?>
  
  </body>
</html>
コード例 #4
0
ファイル: people.php プロジェクト: redbugz/rootstech2013
$peep->queryType = Q_IND;
$dao = getPeopleDAO();
$dao->getPersonDetails($peep);
if ($peep->numResults != 1) {
    //die("error");
}
$per = $peep->results[0];
$dao->getParents($per);
$dao->getChildren($per);
$dao->getSiblings($per);
// if trying to access a restriced person
if (!$per->isViewable()) {
    die(include "inc/forbidden.inc.php");
}
$config = Config::getInstance();
do_headers_dojo($per->getDisplayName());
?>
<body class="tundra">
<?php 
include_once "inc/analyticstracking.php";
?>
<script language="JavaScript" type="text/javascript">
 <!--
 function confirm_delete(year, section, url) {
 	input_box = confirm(<?php 
echo $strConfirmDelete;
?>
);
 	if (input_box == true) {
 		window.location = url;
 	}
コード例 #5
0
ファイル: pedigree.php プロジェクト: redbugz/rootstech2013
include_once "modules/people/show.php";
include_once "modules/pedigree/show.php";
// check to see if we have a person
if (!isset($_GET["person"])) {
    $person = 1;
}
$peep = new PersonDetail();
$peep->setFromRequest();
$peep->queryType = Q_IND;
$dao = getPeopleDAO();
$dao->getPersonDetails($peep);
if ($peep->numResults != 1) {
    die("error");
}
$per = $peep->results[0];
do_headers_dojo($strPedigreeOf . " " . $per->getDisplayName());
?>
	
<!--titles-->
	<table width="100%" class="header">
		<tr>
			<td width="65%" align="center" valign="top">
				<h2><?php 
echo $strPedigreeOf . " " . $per->getDisplayName() . " " . $per->getDisplayGender();
// MODIFICA 20120506
?>
</h2>
				<h3><?php 
echo $per->getDates();
?>
</td>
コード例 #6
0
ファイル: edit.php プロジェクト: redbugz/rootstech2013
$extra = '<script type="text/javascript" src="inc/edit.js.php"></script>';
if ($config->dojo) {
    $extra .= '<script type="text/javascript">
		dojo.require("dijit.Editor");
		dojo.require("dijit._editor.plugins.TextColor");
		dojo.require("dijit._editor.plugins.LinkDialog");
		dojo.require("dojo.parser");	// scan page for widgets and instantiate them

		function setEditorValue(id, args){
			if (args[0] != \'\') {
				dojo.byId(id).value=args[0];
			} 
		}
</script>';
}
do_headers_dojo(get_edit_title($data), $extra);
if ($config->dojo) {
    ?>
<body class="tundra">
<?php 
    include_once "inc/analyticstracking.php";
    ?>
<div dojoType="dojox.data.QueryReadStore" jsId="LocationStore"
			url="services/LocationQueryReadStore.php" requestMethod="post"></div>
<div dojoType="dojox.data.QueryReadStore" jsId="SourceStore"
			url="services/SourceQueryReadStore.php" requestMethod="post"></div>
	<?php 
}
?>
<table class="header" width="100%">
  <tbody>