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
94b7c701
Commit
94b7c701
authored
Jan 18, 2016
by
Romain Loth
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:moma/ProjectExplorer
parents
e64c1dfa
696ab17b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
18 deletions
+24
-18
default_div.php
LOCALDB/default_div.php
+3
-3
default_doc_details.php
LOCALDB/default_doc_details.php
+1
-1
full_doc_list.php
LOCALDB/full_doc_list.php
+2
-3
parameters_details.php
LOCALDB/parameters_details.php
+2
-3
db.json
db.json
+10
-5
settings_explorerjs.js
settings_explorerjs.js
+1
-1
sigma.parseCustom.js
tinawebJS/sigma.parseCustom.js
+5
-2
No files found.
LOCALDB/default_div.php
View file @
94b7c701
...
@@ -108,7 +108,7 @@ foreach ($wos_ids as $id => $score) {
...
@@ -108,7 +108,7 @@ foreach ($wos_ids as $id => $score) {
$sql
=
'SELECT data FROM ISITITLE WHERE id='
.
$id
.
' group by data'
;
$sql
=
'SELECT data FROM ISITITLE WHERE id='
.
$id
.
' group by data'
;
foreach
(
$base
->
query
(
$sql
)
as
$row
)
{
foreach
(
$base
->
query
(
$sql
)
as
$row
)
{
$external_link
=
"<a href=http://google.com/webhp?#q="
.
urlencode
(
'"'
.
$row
[
'data'
]
.
'"'
)
.
" target=blank>"
.
' <img width=15px src="'
.
$twjs
.
'img/google.png"></a>'
;
$external_link
=
"<a href=http://google.com/webhp?#q="
.
urlencode
(
'"'
.
$row
[
'data'
]
.
'"'
)
.
" target=blank>"
.
' <img width=15px src="'
.
'img/google.png"></a>'
;
$output
.=
"<li title='"
.
$score
.
"'>"
;
$output
.=
"<li title='"
.
$score
.
"'>"
;
$output
.=
$external_link
.
imagestar
(
$score
,
$factor
,
$twjs
)
.
' '
;
$output
.=
$external_link
.
imagestar
(
$score
,
$factor
,
$twjs
)
.
' '
;
$output
.=
'<a href="JavaScript:newPopup(\''
.
$twjs
.
'default_doc_details.php?gexf='
.
urlencode
(
$gexf
)
.
'&index='
.
$table
.
'&query='
.
urlencode
(
$query
)
.
'&type='
.
urlencode
(
$_GET
[
"type"
])
.
'&id='
.
$id
.
' \')">'
.
$row
[
'data'
]
.
" </a> "
;
$output
.=
'<a href="JavaScript:newPopup(\''
.
$twjs
.
'default_doc_details.php?gexf='
.
urlencode
(
$gexf
)
.
'&index='
.
$table
.
'&query='
.
urlencode
(
$query
)
.
'&type='
.
urlencode
(
$_GET
[
"type"
])
.
'&id='
.
$id
.
' \')">'
.
$row
[
'data'
]
.
" </a> "
;
...
@@ -294,10 +294,10 @@ function imagestar($score,$factor,$twjs) {
...
@@ -294,10 +294,10 @@ function imagestar($score,$factor,$twjs) {
if
(
$score
>
.
5
)
{
if
(
$score
>
.
5
)
{
$star_image
=
''
;
$star_image
=
''
;
for
(
$s
=
0
;
$s
<
min
(
5
,
$score
/
$factor
);
$s
++
)
{
for
(
$s
=
0
;
$s
<
min
(
5
,
$score
/
$factor
);
$s
++
)
{
$star_image
.=
'<img src="'
.
$twjs
.
'img/star.gif" border="0" >'
;
$star_image
.=
'<img src="'
.
'img/star.gif" border="0" >'
;
}
}
}
else
{
}
else
{
$star_image
.=
'<img src="'
.
$twjs
.
'img/stargrey.gif" border="0">'
;
$star_image
.=
'<img src="'
.
'img/stargrey.gif" border="0">'
;
}
}
return
$star_image
;
return
$star_image
;
}
}
...
...
LOCALDB/default_doc_details.php
View file @
94b7c701
...
@@ -32,7 +32,7 @@ echo '
...
@@ -32,7 +32,7 @@ echo '
<div id="tabs">
<div id="tabs">
<ul>
<ul>
<li><a href="#tabs-1">Selected Document</a></li>
<li><a href="#tabs-1">Selected Document</a></li>
<li><a href="full_doc_list.php?'
.
'gexf='
.
urlencode
(
$gexf
)
.
'&query='
.
urlencode
(
$_GET
[
"query"
])
.
'&type='
.
urlencode
(
$_GET
[
"type"
])
.
'">Full list</a></li>'
;
<li><a href="full_doc_list.php?'
.
'gexf='
.
urlencode
(
$gexf
)
.
'&query='
.
urlencode
(
$_GET
[
"query"
])
.
'&
index='
.
$_GET
[
"index"
]
.
'&
type='
.
urlencode
(
$_GET
[
"type"
])
.
'">Full list</a></li>'
;
echo
'</ul>'
;
echo
'</ul>'
;
echo
'<div id="tabs-1">'
;
echo
'<div id="tabs-1">'
;
...
...
LOCALDB/full_doc_list.php
View file @
94b7c701
...
@@ -23,7 +23,7 @@ foreach ($base->query($sql) as $row) {
...
@@ -23,7 +23,7 @@ foreach ($base->query($sql) as $row) {
$table
=
""
;
$table
=
""
;
$column
=
""
;
$column
=
""
;
$id
=
""
;
$id
=
""
;
$twjs
=
"API_CNRS/"
;
// submod path of TinaWebJS
$twjs
=
end
(
explode
(
"/"
,
getcwd
())
)
.
"/"
;
// LOCALDB folder.
if
(
$type
==
"social"
){
if
(
$type
==
"social"
){
$table
=
"ISIAUTHOR"
;
$table
=
"ISIAUTHOR"
;
...
@@ -34,7 +34,7 @@ if($type=="social"){
...
@@ -34,7 +34,7 @@ if($type=="social"){
}
}
if
(
$type
==
"semantic"
){
if
(
$type
==
"semantic"
){
$table
=
"ISItermsListV1"
;
$table
=
$_GET
[
"index"
]
;
$column
=
"data"
;
$column
=
"data"
;
$id
=
"id"
;
$id
=
"id"
;
$restriction
=
''
;
$restriction
=
''
;
...
@@ -55,7 +55,6 @@ FROM '.$table.' where (';
...
@@ -55,7 +55,6 @@ FROM '.$table.' where (';
GROUP BY '
.
$id
.
'
GROUP BY '
.
$id
.
'
ORDER BY count('
.
$id
.
') DESC
ORDER BY count('
.
$id
.
') DESC
LIMIT 1000'
;
LIMIT 1000'
;
#$queryparsed=$sql;#####
#$queryparsed=$sql;#####
$wos_ids
=
array
();
$wos_ids
=
array
();
...
...
LOCALDB/parameters_details.php
View file @
94b7c701
...
@@ -7,9 +7,8 @@ $gexf_db = array();
...
@@ -7,9 +7,8 @@ $gexf_db = array();
# $gexf_db["data/ClimateChange/ClimateChangeV1.gexf"] = "data/ClimateChange/wosclimatechange-61715-1-wosclimatechange-db(2).db";
# $gexf_db["data/ClimateChange/ClimateChangeV1.gexf"] = "data/ClimateChange/wosclimatechange-61715-1-wosclimatechange-db(2).db";
$gexf_db
[
"data/ClimateChange/Maps_S_800.gexf"
]
=
"data/ClimateChange/wos_climate-change_title_2014-2015.db"
;
$gexf_db
[
"data/ClimateChange/Maps_S_800.gexf"
]
=
"data/ClimateChange/wos_climate-change_title_2014-2015.db"
;
$gexf_db
[
"data/AXA/RiskV2PageRank1000.gexf"
]
=
"data/AXA/data.db"
;
$gexf_db
[
"data/AXA/EditedJan20151980 nodes V2 PageRank.gexf"
]
=
"data/AXA/data.db"
;
$gexf_db
[
"data/AXA/RiskV2PageRank2500.gexf"
]
=
"data/AXA/data.db"
;
$gexf_db
[
"data/AXA/RiskV2PageRank.gexf"
]
=
"data/AXA/data.db"
;
$gexf_db
[
"data/AXA/RiskV2PageRank5000.gexf"
]
=
"data/AXA/data.db"
;
$gexf_db
[
"data/AXA/RiskV2PageRank5000.gexf"
]
=
"data/AXA/data.db"
;
$gexf
=
str_replace
(
'"'
,
''
,
$_GET
[
"gexf"
]);
$gexf
=
str_replace
(
'"'
,
''
,
$_GET
[
"gexf"
]);
...
...
db.json
View file @
94b7c701
...
@@ -4,16 +4,21 @@
...
@@ -4,16 +4,21 @@
"title"
:
"ISITITLE"
,
"title"
:
"ISITITLE"
,
"date"
:
"ISIpubdate"
,
"date"
:
"ISIpubdate"
,
"abstract"
:
"ISIABSTRACT"
,
"abstract"
:
"ISIABSTRACT"
,
"first"
:
"RiskV2PageRank
5
000.gexf"
,
"first"
:
"RiskV2PageRank
1
000.gexf"
,
"gexfs"
:
{
"gexfs"
:
{
"RiskV2PageRank
5
000.gexf"
:
{
"RiskV2PageRank
1
000.gexf"
:
{
"social"
:
{
"table"
:
"ISIAUTHOR"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
},
"social"
:
{
"table"
:
"ISIAUTHOR"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
},
"semantic"
:
{
"table"
:
"ISItermsAxa_2015"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
}
"semantic"
:
{
"table"
:
"ISItermsAxa_2015"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
}
},
},
"RiskV2PageRank.gexf"
:
{
"RiskV2PageRank2500.gexf"
:
{
"social"
:
{
"table"
:
"ISIAUTHOR"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
},
"semantic"
:
{
"table"
:
"ISItermsAxa_2015"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
}
},
"RiskV2PageRank5000.gexf"
:
{
"social"
:
{
"table"
:
"ISIAUTHOR"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
},
"social"
:
{
"table"
:
"ISIAUTHOR"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
},
"semantic"
:
{
"table"
:
"ISItermsAxa_2015"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
}
"semantic"
:
{
"table"
:
"ISItermsAxa_2015"
,
"textCol"
:
"data"
,
"forkeyCol"
:
"id"
}
}
}
}
}
},
},
"data/ClimateChange"
:
{
"data/ClimateChange"
:
{
...
...
settings_explorerjs.js
View file @
94b7c701
...
@@ -21,7 +21,7 @@ var TW = {}
...
@@ -21,7 +21,7 @@ var TW = {}
// // "data/Elisa__Omodei.gexf",
// // "data/Elisa__Omodei.gexf",
];
];
TW
.
APINAME
=
"LOCALDB/"
;
TW
.
APINAME
=
"LOCALDB/"
;
TW
.
tagcloud_limit
=
2
0
;
TW
.
tagcloud_limit
=
5
0
;
TW
.
bridge
=
{};
TW
.
bridge
=
{};
TW
.
bridge
[
"forFilteredQuery"
]
=
"php/bridgeClientServer_filter.php"
;
TW
.
bridge
[
"forFilteredQuery"
]
=
"php/bridgeClientServer_filter.php"
;
TW
.
bridge
[
"forNormalQuery"
]
=
"php/bridgeClientServer.php"
;
TW
.
bridge
[
"forNormalQuery"
]
=
"php/bridgeClientServer.php"
;
...
...
tinawebJS/sigma.parseCustom.js
View file @
94b7c701
...
@@ -295,8 +295,11 @@ function dictfyGexf( gexf , categories ){
...
@@ -295,8 +295,11 @@ function dictfyGexf( gexf , categories ){
var
attention
=
false
var
attention
=
false
if
(
TW
.
Clusters
.
length
==
0
)
{
if
(
TW
.
Clusters
.
length
==
0
)
{
if
(
nodes
[
1
].
attributes
[
"cluster_index"
]
)
{
for
(
var
i
in
nodes
)
{
attention
=
true
;
if
(
nodes
[
i
].
attributes
[
"cluster_index"
]
)
{
attention
=
true
;
}
break
}
}
}
}
...
...
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