<?php

  $tpl_photo = "
    <div class=\"diapositiva\">
      <div class=\"scheda\">
        <div class=\"kphoto\">
          <a href=\"" . KiP_url . $photog . "\" title=\"" . $img_name . "\" rel=\"prettyPhoto[gallery2]\">
            <img src=\"" . KiP_url . $photog . "\" alt=\"\" />
          </a>
        </div>
  		</div>
  		<div class=\"titphoto\">" . $iname . "</div>
  	</div>
  ";