Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
36bd56e1
Commit
36bd56e1
authored
Oct 16, 2014
by
PkSM3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ignore .db
parent
c53d17f2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
3 deletions
+48
-3
explorerjs.html
explorerjs.html
+1
-1
examples.js
geomap2/examples.js
+7
-1
conectiontest.php
geomap2/php/conectiontest.php
+37
-0
parameters_details.php
geomap2/php/parameters_details.php
+3
-1
community.db
php/community.db
+0
-0
community.db_14.09.09_backup
php/community.db_14.09.09_backup
+0
-0
No files found.
explorerjs.html
View file @
36bd56e1
...
@@ -347,7 +347,7 @@
...
@@ -347,7 +347,7 @@
</div>
</div>
<!-- </div> -->
<!-- </div> -->
<!-- <div class="geomapCont"></div> -->
<!-- <div class="geomapCont"></div> -->
<!-- <div id="closemodal2" data-dismiss="modal"></div> --
>
<div
id=
"closegeomap"
data-dismiss=
"modal"
></div
>
</div>
</div>
...
...
geomap2/examples.js
View file @
36bd56e1
...
@@ -90,7 +90,13 @@ function initiateMap(db,query,submodName){
...
@@ -90,7 +90,13 @@ function initiateMap(db,query,submodName){
animDuration
:
300
animDuration
:
300
},
},
eventHandlers
:
{
eventHandlers
:
{
dblclick
:
function
(
e
,
id
,
mapElem
,
textElem
){
console
.
log
(
id
);
console
.
log
(
partialGraph
)}
dblclick
:
function
(
e
,
id
,
mapElem
,
textElem
)
{
console
.
log
(
id
);
console
.
log
(
partialGraph
)
$
.
doTimeout
(
30
,
function
(){
$
(
"#closegeomap"
).
click
();
});
}
}
}
},
},
afterInit
:
function
(
$self
,
paper
,
areas
,
plots
,
options
)
{
afterInit
:
function
(
$self
,
paper
,
areas
,
plots
,
options
)
{
...
...
geomap2/php/conectiontest.php
0 → 100755
View file @
36bd56e1
<?php
// Common parameters for all function proposing insight into the corpora
header
(
'Content-Type: application/json'
);
ini_set
(
'display_errors'
,
'On'
);
error_reporting
(
E_ALL
);
$mainpath
=
dirname
(
dirname
(
getcwd
()))
.
"/"
;
// -> /var/www/ademe/data/
$db
=
json_decode
(
$_GET
[
"db"
]);
$dbname
=
""
;
foreach
(
$db
as
$d
){
if
(
strpos
(
$d
,
'graph.db'
)
!==
false
){
$db
=
$d
;
break
;
}
}
if
(
$mainpath
==
"//"
)
$mainpath
=
""
;
if
(
is_array
(
$db
)
)
$db
=
$db
[
0
];
echo
"[
$mainpath
] this is the mainpath
\n
"
;
echo
"[
$db
] this is the db
\n
"
;
echo
"sqlite:"
.
$mainpath
.
$db
.
"
\n
"
;
echo
"sqlite:"
.
"../../community.db"
;
//$dbname=$db[0];//getDB($mainpath);//'homework-20750-1-homework-db.db';;
$base
=
new
PDO
(
"sqlite:"
.
"/var/www/adasd/community.db"
);
echo
"succeed?
\n
"
;
$max_item_displayed
=
6
;
?>
geomap2/php/parameters_details.php
View file @
36bd56e1
...
@@ -11,8 +11,10 @@ foreach($db as $d){
...
@@ -11,8 +11,10 @@ foreach($db as $d){
}
}
}
}
if
(
$mainpath
==
"//"
)
$mainpath
=
""
;
if
(
$mainpath
==
"//"
)
$mainpath
=
""
;
//$dbname=$db[0];//getDB($mainpath);//'homework-20750-1-homework-db.db';;
//$dbname=$db[0];//getDB($mainpath);//'homework-20750-1-homework-db.db';;
$base
=
new
PDO
(
"sqlite:"
.
$mainpath
.
$db
);
$base
=
new
PDO
(
"sqlite:"
.
$mainpath
.
$db
)
or
die
(
"cannot open the database"
);
$max_item_displayed
=
6
;
$max_item_displayed
=
6
;
...
...
php/community.db
deleted
100644 → 0
View file @
c53d17f2
File deleted
php/community.db_14.09.09_backup
deleted
100755 → 0
View file @
c53d17f2
File deleted
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment