concordia search php
This commit is contained in:
parent
26dc55cc9d
commit
b630a51deb
@ -30,16 +30,8 @@ $data = json_decode($response);
|
|||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="result">
|
<div id="result">
|
||||||
<pre><?php print_r($data);?></pre>
|
<pre><?php print_r($data);?></pre>
|
||||||
|
<div id="result-score">Concordia score: <b>'+<?= $data['result']['bestOverlayScore']*100 ?>%</b></div>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
if (!empty($data['result']['bestOverlayScore'])) {
|
|
||||||
$score = $data['result']['bestOverlayScore']*100;
|
|
||||||
?>
|
|
||||||
<div id="result-score">Concordia score: <b>'+<?= $score ?>%</b></div>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
res += '<div id="phrase-selection">Phrase search mode: <img id="phrase-off-icon" src="../images/switchOff.png" alt="enter phrase search mode" onclick="togglePhraseSearchMode()" title="search for phrases"/><img class="hidden" id="phrase-on-icon" src="../images/switchOn.png" alt="cancel phrase search" onclick="togglePhraseSearchMode()" title="cancel phrase search"/><span id="phrase-prompt" class="hidden">Select continuous phrase: </span></div>';
|
res += '<div id="phrase-selection">Phrase search mode: <img id="phrase-off-icon" src="../images/switchOff.png" alt="enter phrase search mode" onclick="togglePhraseSearchMode()" title="search for phrases"/><img class="hidden" id="phrase-on-icon" src="../images/switchOn.png" alt="cancel phrase search" onclick="togglePhraseSearchMode()" title="cancel phrase search"/><span id="phrase-prompt" class="hidden">Select continuous phrase: </span></div>';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user