Hvað er Anarkismi? Útgáfa Bókasafn Dreifing Hafa Samband
Fréttir / Uppfærslur Greinar Bækur um Anarkisma TenglarMyndir

"; echo "

ANDSPYRNA ÚTGÁFA

Andspyrna útgáfa hefur verið starfrækt í nokkur ár með það að markmiði að sá fræjum anarkískrar hugsunar út í samfélagið. Fyrstu útgáfur voru litlir fregnmiðar sem stækkuðu upp í bæklinga og nú bækur auk annars. Eingöngu netútgáfa væri flatt fyrirbæri og ekki endingargott. Bækur eru fallegar, eigulegar og spennandi. Útgáfur andspyrnu eru seldar á verði sem miðast við að dekka kostnað við prentunina.

"; echo "

"; $show_news_template="templates/book.html"; $date_format="d/m/Y"; include_once("inc/database.inc.php"); $sql="select * from andspyrna_baekur where n_showhide !=1 AND n_type=0 "; $result=mysql_query($sql,$db); $myrow=mysql_fetch_array($result); $num_rows=$myrow[0]; $theid = $_GET['frett']; $data = fread(fopen($show_news_template, "r"), filesize($show_news_template)); $sql="select * from andspyrna_baekur where n_showhide !=1 and n_type=0 order by n_title asc, n_id desc"; $result=@mysql_query($sql,$db); while ($myrow=mysql_fetch_array($result)) { $n_id=$myrow["n_id"]; $n_date=date($date_format,$myrow["my_date"]); $about=$myrow["n_about"]; $about_hold=explode("\n",$about); $exerpt=$myrow["n_exerpt"]; $exerpt_hold=explode("\n",$exerpt); $picture=$myrow["n_pic"]; $n_type=$myrow["n_type"]; $n_author=$myrow["n_author"]; $dagsetning=strftime("%e. %B %Y %a.", $myrow["my_date"]);; $n_showhide=$myrow["n_showhide"]; $topic=$myrow["n_title"]; //--------------------------------------- for ($i=0;$i".$hold_aboutword[$n].""; } else if (substr($hold_aboutword[$n],0,4)=="www.") { $hold_aboutword[$n]="".$hold_aboutword[$n].""; } else if (strpos($hold_aboutword[$n],"@")) { $hold_aboutword[$n]="".$hold_aboutword[$n].""; } } $about_hold[$i]=implode(" ",$hold_aboutword); } $about=implode("\n",$about_hold); $about=nl2br($about); //--------------------------------------- for ($i=0;$i".$hold_exerptword[$n].""; } else if (substr($hold_exerptword[$n],0,4)=="www.") { $hold_exerptword[$n]="".$hold_exerptword[$n].""; } else if (strpos($hold_exerptword[$n],"@")) { $hold_exerptword[$n]="".$hold_exerptword[$n].""; } } $exerpt_hold[$i]=implode(" ",$hold_exerptword); } $exerpt=implode("\n",$exerpt_hold); $exerpt=nl2br($exerpt); //--------------------------------------- $hold=$data; $hold=str_replace("{date}",$dagsetning,$hold); $hold=str_replace("{about}",$about."
",$hold); // $hold=str_replace("{exerpt}","“".$exerpt."”
",$hold); $hold=str_replace("{id}",$n_id,$hold); $hold=str_replace("{topic}",$topic."
",$hold); $hold=str_replace("{n_author}",$n_author,$hold); if ($exerpt) { $hold=str_replace("{exerpt}","“".$exerpt."”",$hold); } else { $hold=str_replace("{exerpt}","",$hold); } if ($picture) { $hold=str_replace("{picture}","",$hold); } else { $hold=str_replace("{picture}","",$hold); } echo $hold; } echo "
"; ?>