Click on an object, the layers and artboards are shown on the bottom right of the window of Illustrator.
The color bars represent layers
The circles on the right represent being targeted (highlighted) or not. Once you click and select one object, its corresponding circle would become a double circle. You could also click the single circles to select an object or a group of objects.
So, to move an object to another layer, select that object, then click the corresponding layer's name in the layer panel, then choose Object -> arrange -> move to current layer
To move everything to one layer, move objects from each other layer to that layer using the method described above.
https://helpx.adobe.com/uk/illustrator/using/layers.html
the script tag should look like <script type="text/javascript">
also it is preferable to use the dom to insert content into the page, not document.write.
in the head:later on in the body:PHP:<script type="text/javascript">onload = function(){
document.getElementById("lastModified").innerHTML = "Page last changed " + document.lastModified.split(" ")[0];
}</script>good read: http://www.quirksmode.org/js/lastmod.htmlHTML:<span id="lastModified"></span>