\n"; if($sub == "Create QR Code"){ //echo "
s0: $sub i: $id"; $id = $_POST['msid']; //$id = str_replace("10.1101/","",$id); } $id = str_replace("10.1101/","",$id); if ($id == "10.1101"){ $id = $id1; $id = str_replace("/","",$id); } //echo "
s: $sub i: $id"; //if ((is_numeric($id))&&(len($id)==6)){ //} //else { // $id = ""; //} include "../connect_symposia.php"; mysql_set_charset("utf8"); mysql_query("SET NAMES 'utf8'"); echo "bioRxiv Create QR Code\n"; ?> x $id xx $id1 "; //# RewriteRule ^(.*)$ index.php?id=$1 [QSA,L] ///(.+)/$ ?>
\n"; if ($id == ""){ echo "

No manuscript ID specified. Please use either the form box or auto-suggest search bar above to select a paper.

\n"; } else { $doi = "10.1101/" . mysql_real_escape_string($id); $sql4 = "SELECT * FROM test.biorxiv_index WHERE article_doi = '$doi' order by id desc limit 1"; $res4=mysql_query($sql4); if(mysql_num_rows($res4)){ while($row4 = mysql_fetch_array($res4)){ $article_title = $row4["article_title"]; } echo "
\n"; echo "

\n"; echo "

A portable graphical link to your paper (QR code) is provided below. If the code is placed, for example, on a poster, your paper can be accessed through a mobile device's QR code reader.

Right click on the image below to save it to your device.

\n"; echo "

\n"; echo "
\n"; echo "
\n"; echo "

QR Code for 10.1101/$id

\n"; echo "

$article_title

"; echo "

\n"; } else { echo "

Sorry, manuscript ID $id not found. Please use either the form box or auto-suggest search bar above to select a paper.

\n"; } } echo "
\n"; echo "\n"; include "../close_symposia.php"; ?>