Introduction: I publish articles on the site and on the main page they are displayed (the picture is on the left side and a short text from the Right!) And all one after the other is a picture on the left and the text on the right would like that:
One article is a picture from the left and the text is on the right and the next is the other way round on the right side and the text is on the left!
<?php $fSchet = 0; ?><?php $fSchet = 0; ?><?php $fShet++; echo ($fShet % 2) ? "myFloatLeft" : "myFloatRight";?><?php $fShet++; echo ($fShet % 2) ? "myFloatLeft" : "myFloatRight";?><?php $fShet++; echo ($fShet % 2) ? "myFloatLeft" : "myFloatRight";?>- Mikhail Volkov